mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Add [NotContentImplementable] to shared interfaces
This commit is contained in:
@@ -50,6 +50,7 @@ namespace Robust.Shared.Asynchronous
|
||||
private static readonly SendOrPostCallback _runCallback = o => { ((Action?)o)?.Invoke(); };
|
||||
}
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface ITaskManager
|
||||
{
|
||||
void Initialize();
|
||||
|
||||
@@ -4,6 +4,7 @@ using Robust.Shared.Maths;
|
||||
|
||||
namespace Robust.Shared.Audio.Effects;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IAudioEffect
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -2,6 +2,7 @@ using System;
|
||||
|
||||
namespace Robust.Shared.Audio.Effects;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IAuxiliaryAudio : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace Robust.Shared.Configuration
|
||||
/// so it is not recommended to modify CVars from other threads.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[NotContentImplementable]
|
||||
public interface IConfigurationManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Robust.Shared.Configuration
|
||||
/// A networked configuration manager that controls the replication of
|
||||
/// console variables between client and server.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface INetConfigurationManager : IConfigurationManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace Robust.Shared.Console
|
||||
/// The console host exists as a singleton subsystem that provides all of the features of the console API.
|
||||
/// It will register console commands, spawn console shells and execute command strings.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IConsoleHost
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Robust.Shared.Console
|
||||
/// The console shell that executes commands. Each shell executes commands in the context of a player
|
||||
/// session, or without a session in a local context.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IConsoleShell
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace Robust.Shared.ContentPack
|
||||
/// <summary>
|
||||
/// The mod loader is in charge of loading content assemblies and managing them.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IModLoader
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Robust.Shared.ContentPack
|
||||
/// <summary>
|
||||
/// Virtual file system for all disk resources.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IResourceManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace Robust.Shared.ContentPack
|
||||
/// Provides an API for file and directory manipulation inside of a rooted folder.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
[NotContentImplementable]
|
||||
public interface IWritableDirProvider
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -95,6 +95,7 @@ namespace Robust.Shared.Exceptions
|
||||
/// The term "runtime" dates back to BYOND, in which an exception is called a "runtime error".
|
||||
/// As such, what we call exceptions is called a "runtime" in BYOND.
|
||||
/// </remarks>
|
||||
[NotContentImplementable]
|
||||
public interface IRuntimeLog
|
||||
{
|
||||
int ExceptionCount { get; }
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Robust.Shared.GameObjects
|
||||
/// EntitySystems communicate with each other.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
[NotContentImplementable]
|
||||
public interface IBroadcastEventBus
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -11,10 +11,12 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Robust.Shared.GameObjects
|
||||
{
|
||||
[NotContentImplementable]
|
||||
public interface IEventBus : IDirectedEventBus, IBroadcastEventBus
|
||||
{
|
||||
}
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IDirectedEventBus
|
||||
{
|
||||
void RaiseLocalEvent<TEvent>(EntityUid uid, TEvent args, bool broadcast = false)
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace Robust.Shared.GameObjects
|
||||
/// </summary>
|
||||
/// <include file='../Serialization/Manager/Attributes/Docs.xml' path='entries/entry[@name="ImpliesDataDefinition"]/*'/>
|
||||
[ImplicitDataDefinitionForInheritors]
|
||||
[NotContentImplementable]
|
||||
public partial interface IComponent
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace Robust.Shared.GameObjects
|
||||
/// </remarks>
|
||||
/// <seealso cref="IComponentRegistration" />
|
||||
/// <seealso cref="IComponent" />
|
||||
[NotContentImplementable]
|
||||
public interface IComponentFactory
|
||||
{
|
||||
event Action<ComponentRegistration[]> ComponentsAdded;
|
||||
|
||||
@@ -7,6 +7,7 @@ using Robust.Shared.Timing;
|
||||
|
||||
namespace Robust.Shared.GameObjects
|
||||
{
|
||||
[NotContentImplementable]
|
||||
public partial interface IEntityManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Robust.Shared.GameObjects
|
||||
/// <summary>
|
||||
/// Manages the sending and receiving of network messages between the server and client(s).
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IEntityNetworkManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Robust.Shared.GameObjects
|
||||
/// They get managed by an <see cref="IEntitySystemManager" />.
|
||||
/// </summary>
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||
[NotContentImplementable]
|
||||
public interface IEntitySystem : IEntityEventSubscriber
|
||||
{
|
||||
IEnumerable<Type> UpdatesAfter { get; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Robust.Shared.Graphics;
|
||||
|
||||
public interface IClydeHandle
|
||||
internal interface IClydeHandle
|
||||
{
|
||||
long Value { get; }
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace Robust.Shared.Graphics
|
||||
/// It's a 2D camera in other game dev lingo basically.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
[NotContentImplementable]
|
||||
public interface IEye
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace Robust.Shared.Input.Binding
|
||||
/// fire after another system's handlers. This also allows easy unregistering of all bindings
|
||||
/// for a given system / manager.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface ICommandBindRegistry
|
||||
{
|
||||
/// <summary>CO
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Robust.Shared.Input
|
||||
/// <summary>
|
||||
/// An Input Context to determine which key binds are currently available to the player.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IInputCmdContext : IEnumerable<BoundKeyFunction>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -192,6 +192,7 @@ namespace Robust.Shared.Input
|
||||
}
|
||||
}
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IFullInputCmdMessage
|
||||
{
|
||||
GameTick Tick { get; }
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Robust.Shared.Input
|
||||
/// <summary>
|
||||
/// Contains a set of created <see cref="InputCmdContext"/>s.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IInputContextContainer
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace Robust.Shared.Input
|
||||
/// <summary>
|
||||
/// Contains a mapping of <see cref="BoundKeyFunction"/> to their current <see cref="BoundKeyState"/>.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IPlayerCommandStates
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace Robust.Shared.IoC
|
||||
/// </summary>
|
||||
/// <seealso cref="DynamicTypeFactoryExt"/>
|
||||
[PublicAPI]
|
||||
[NotContentImplementable]
|
||||
public interface IDynamicTypeFactory
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace Robust.Shared.IoC
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <seealso cref="IReflectionManager"/>
|
||||
[NotContentImplementable]
|
||||
public interface IDependencyCollection
|
||||
{
|
||||
IDependencyCollection FromParent(IDependencyCollection parentCollection);
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace Robust.Shared.Localization
|
||||
/// </remarks>
|
||||
/// <seealso cref="Loc"/>
|
||||
[PublicAPI]
|
||||
[NotContentImplementable]
|
||||
public interface ILocalizationManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Robust.Shared.Log
|
||||
/// Manages logging sawmills.
|
||||
/// </summary>
|
||||
/// <seealso cref="ISawmill"/>
|
||||
[NotContentImplementable]
|
||||
public interface ILogManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace Robust.Shared.Map
|
||||
/// <summary>
|
||||
/// This manages all the grids and maps in the world. Largely superseded by <see cref="SharedMapSystem"/>.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IMapManager
|
||||
{
|
||||
public const bool Approximate = false;
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Robust.Shared.Map
|
||||
/// <summary>
|
||||
/// This manages tile definitions for grid tiles.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface ITileDefinitionManager : IEnumerable<ITileDefinition>
|
||||
{
|
||||
Tile GetVariantTile(string name, IRobustRandom random);
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace Robust.Shared.Network;
|
||||
/// content code can't send arbitrary HTTP requests.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[NotContentImplementable]
|
||||
public interface IHttpClientHolder
|
||||
{
|
||||
HttpClient Client { get; }
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace Robust.Shared.Network
|
||||
/// <summary>
|
||||
/// The Client version of the INetManager.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IClientNetManager : INetManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Robust.Shared.Network
|
||||
/// <summary>
|
||||
/// A network channel between this peer and a remote peer.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface INetChannel
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Robust.Shared.Network
|
||||
/// <summary>
|
||||
/// A network server that listens for connections, relays packets, and manages channels.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface INetManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Robust.Shared.Network
|
||||
/// <summary>
|
||||
/// The server version of the INetManager.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IServerNetManager : INetManager
|
||||
{
|
||||
public delegate Task<NetApproval> NetApprovalDelegate(NetApprovalEventArgs eventArgs);
|
||||
|
||||
@@ -90,6 +90,7 @@ namespace Robust.Shared.Network
|
||||
/// <summary>
|
||||
/// Structured reason common interface.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface INetStructuredReason
|
||||
{
|
||||
NetDisconnectMessage Message { get; }
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace Robust.Shared.Physics.Collision.Shapes
|
||||
/// <summary>
|
||||
/// A primitive physical shape that is used by a <see cref="PhysicsComponent"/>.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IPhysShape : IEquatable<IPhysShape>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ using Robust.Shared.Physics.Dynamics;
|
||||
|
||||
namespace Robust.Shared.Physics;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IBroadPhase
|
||||
{
|
||||
int Count { get; }
|
||||
@@ -61,6 +62,7 @@ public interface IBroadPhase
|
||||
void RebuildBottomUp();
|
||||
}
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IBroadPhase<T> : ICollection<T> where T : notnull {
|
||||
|
||||
int Capacity { get; }
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Robust.Shared.Physics
|
||||
/// <summary>
|
||||
/// Takes in a list of vertices and removes any that are redundant (within tolerance).
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IVerticesSimplifier
|
||||
{
|
||||
List<Vector2> Simplify(List<Vector2> vertices, float tolerance);
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Robust.Shared.Player;
|
||||
/// Common info between client and server sessions.
|
||||
/// </summary>
|
||||
/// <seealso cref="ISharedPlayerManager"/>
|
||||
[NotContentImplementable]
|
||||
public interface ICommonSession
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -10,6 +10,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Robust.Shared.Player;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface ISharedPlayerManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace Robust.Shared.Prototypes;
|
||||
/// <seealso cref="IPrototype"/>
|
||||
/// <seealso cref="IInheritingPrototype"/>
|
||||
/// <seealso cref="PrototypeAttribute"/>
|
||||
[NotContentImplementable]
|
||||
public interface IPrototypeManager
|
||||
{
|
||||
void Initialize();
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace Robust.Shared.Reflection
|
||||
/// </remarks>
|
||||
/// <seealso cref="IoCManager"/>
|
||||
/// <seealso cref="ReflectAttribute"/>
|
||||
[NotContentImplementable]
|
||||
public interface IReflectionManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -14,6 +14,7 @@ using YamlDotNet.RepresentationModel;
|
||||
|
||||
namespace Robust.Shared.Replays;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IReplayRecordingManager
|
||||
{
|
||||
/// <summary>
|
||||
@@ -188,6 +189,7 @@ public record struct ReplayRecordingStats(TimeSpan Time, uint Ticks, long Size,
|
||||
/// </summary>
|
||||
/// <seealso cref="ReplayRecordingStopped"/>
|
||||
/// <seealso cref="IReplayRecordingManager.RecordingStopped2"/>
|
||||
[NotContentImplementable]
|
||||
public interface IReplayFileWriter
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -4,6 +4,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Robust.Shared.Sandboxing
|
||||
{
|
||||
[NotContentImplementable]
|
||||
public interface ISandboxHelper
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ using Robust.Shared.Network;
|
||||
|
||||
namespace Robust.Shared.Serialization
|
||||
{
|
||||
[NotContentImplementable]
|
||||
public interface IRobustSerializer
|
||||
{
|
||||
void Initialize();
|
||||
|
||||
@@ -9,6 +9,7 @@ using Robust.Shared.Serialization.TypeSerializers.Interfaces;
|
||||
|
||||
namespace Robust.Shared.Serialization.Manager
|
||||
{
|
||||
[NotContentImplementable]
|
||||
public interface ISerializationManager
|
||||
{
|
||||
public delegate T InstantiationDelegate<out T>();
|
||||
|
||||
@@ -7,6 +7,7 @@ using Robust.Shared.Log;
|
||||
|
||||
namespace Robust.Shared.Threading;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IParallelManager
|
||||
{
|
||||
event Action ParallelCountChanged;
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace Robust.Shared.Timing
|
||||
/// <summary>
|
||||
/// This holds main loop timing information and helper functions.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface IGameTiming
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace Robust.Shared.Timing
|
||||
/// <summary>
|
||||
/// Manages <see cref="Timer"/>-based timing, allowing you to register new timers with optional cancellation.
|
||||
/// </summary>
|
||||
[NotContentImplementable]
|
||||
public interface ITimerManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -3,6 +3,7 @@ using Robust.Shared.Serialization;
|
||||
|
||||
namespace Robust.Shared.Upload;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IGamePrototypeLoadManager
|
||||
{
|
||||
public void Initialize();
|
||||
|
||||
@@ -521,6 +521,7 @@ namespace Robust.Shared.Utility
|
||||
SE = 3
|
||||
}
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IQuadObject
|
||||
{
|
||||
Box2 Bounds { get; }
|
||||
|
||||
@@ -5,6 +5,7 @@ using Robust.Shared.Player;
|
||||
|
||||
namespace Robust.Shared.ViewVariables;
|
||||
|
||||
[NotContentImplementable]
|
||||
public interface IViewVariablesManager
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user