Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class AddContainer : IGraphAction
|
||||
public sealed class AddContainer : IGraphAction
|
||||
{
|
||||
[DataField("container")] public string? Container { get; private set; } = null;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[DataDefinition]
|
||||
public class AttemptElectrocute : IGraphAction
|
||||
public sealed class AttemptElectrocute : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class BuildComputer : IGraphAction
|
||||
public sealed class BuildComputer : IGraphAction
|
||||
{
|
||||
[DataField("container")] public string Container { get; private set; } = string.Empty;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class BuildMachine : IGraphAction
|
||||
public sealed class BuildMachine : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ConditionalAction : IGraphAction
|
||||
public sealed class ConditionalAction : IGraphAction
|
||||
{
|
||||
[DataField("passUser")] public bool PassUser { get; } = false;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[DataDefinition]
|
||||
public class DeleteEntitiesInContainer : IGraphAction
|
||||
public sealed class DeleteEntitiesInContainer : IGraphAction
|
||||
{
|
||||
[DataField("container")] public string Container { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class DeleteEntity : IGraphAction
|
||||
public sealed class DeleteEntity : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class DestroyEntity : IGraphAction
|
||||
public sealed class DestroyEntity : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class EmptyAllContainers : IGraphAction
|
||||
public sealed class EmptyAllContainers : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class EmptyContainer : IGraphAction
|
||||
public sealed class EmptyContainer : IGraphAction
|
||||
{
|
||||
[DataField("container")] public string Container { get; private set; } = string.Empty;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class MachineFrameRegenerateProgress : IGraphAction
|
||||
public sealed class MachineFrameRegenerateProgress : IGraphAction
|
||||
{
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class MoveContainer : IGraphAction
|
||||
public sealed class MoveContainer : IGraphAction
|
||||
{
|
||||
[DataField("from")] public string? FromContainer { get; } = null;
|
||||
[DataField("to")] public string? ToContainer { get; } = null;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class PlaySound : IGraphAction
|
||||
public sealed class PlaySound : IGraphAction
|
||||
{
|
||||
[DataField("sound", required: true)] public SoundSpecifier Sound { get; private set; } = default!;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[DataDefinition]
|
||||
public class PopupEveryone : IGraphAction
|
||||
public sealed class PopupEveryone : IGraphAction
|
||||
{
|
||||
[DataField("text")] public string Text { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class PopupUser : IGraphAction
|
||||
public sealed class PopupUser : IGraphAction
|
||||
{
|
||||
[DataField("cursor")] public bool Cursor { get; } = false;
|
||||
[DataField("text")] public string Text { get; } = string.Empty;
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class RaiseEvent : IGraphAction
|
||||
public sealed class RaiseEvent : IGraphAction
|
||||
{
|
||||
[DataField("event", required:true)]
|
||||
public EntityEventArgs? Event { get; } = null;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SetAnchor : IGraphAction
|
||||
public sealed class SetAnchor : IGraphAction
|
||||
{
|
||||
[DataField("value")] public bool Value { get; private set; } = true;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SetStackCount : IGraphAction
|
||||
public sealed class SetStackCount : IGraphAction
|
||||
{
|
||||
[DataField("amount")] public int Amount { get; } = 1;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SnapToGrid : IGraphAction
|
||||
public sealed class SnapToGrid : IGraphAction
|
||||
{
|
||||
[DataField("southRotation")] public bool SouthRotation { get; private set; } = false;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SpawnPrototype : IGraphAction
|
||||
public sealed class SpawnPrototype : IGraphAction
|
||||
{
|
||||
[DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string Prototype { get; private set; } = string.Empty;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SpawnPrototypeAtContainer : IGraphAction
|
||||
public sealed class SpawnPrototypeAtContainer : IGraphAction
|
||||
{
|
||||
[DataField("prototype")] public string Prototype { get; } = string.Empty;
|
||||
[DataField("container")] public string Container { get; } = string.Empty;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SpriteChange : IGraphAction
|
||||
public sealed class SpriteChange : IGraphAction
|
||||
{
|
||||
[DataField("layer")] public int Layer { get; private set; } = 0;
|
||||
[DataField("specifier")] public SpriteSpecifier? SpriteSpecifier { get; private set; } = SpriteSpecifier.Invalid;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SpriteStateChange : IGraphAction
|
||||
public sealed class SpriteStateChange : IGraphAction
|
||||
{
|
||||
[DataField("layer")] public int Layer { get; private set; } = 0;
|
||||
[DataField("state")] public string? State { get; private set; } = string.Empty;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class VisualizerDataInt : IGraphAction, ISerializationHooks
|
||||
public sealed class VisualizerDataInt : IGraphAction, ISerializationHooks
|
||||
{
|
||||
[DataField("key")] public string Key { get; private set; } = string.Empty;
|
||||
[DataField("data")] public int Data { get; private set; } = 0;
|
||||
|
||||
Reference in New Issue
Block a user