Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class AirlockBolted : IGraphCondition
|
||||
public sealed class AirlockBolted : IGraphCondition
|
||||
{
|
||||
[DataField("value")]
|
||||
public bool Value { get; private set; } = true;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class AllConditions : IGraphCondition
|
||||
public sealed class AllConditions : IGraphCondition
|
||||
{
|
||||
[DataField("conditions")]
|
||||
public IGraphCondition[] Conditions { get; } = Array.Empty<IGraphCondition>();
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Construction.Conditions
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class AllWiresCut : IGraphCondition
|
||||
public sealed class AllWiresCut : IGraphCondition
|
||||
{
|
||||
[DataField("value")] public bool Value { get; private set; } = true;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class AnyConditions : IGraphCondition
|
||||
public sealed class AnyConditions : IGraphCondition
|
||||
{
|
||||
[DataField("conditions")]
|
||||
public IGraphCondition[] Conditions { get; } = Array.Empty<IGraphCondition>();
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Content.Server.Construction.Conditions
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ComponentInTile : IGraphCondition
|
||||
public sealed class ComponentInTile : IGraphCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// If true, any entity on the tile must have the component.
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ContainerEmpty : IGraphCondition
|
||||
public sealed class ContainerEmpty : IGraphCondition
|
||||
{
|
||||
[DataField("container")]
|
||||
public string Container { get; } = string.Empty;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ContainerNotEmpty : IGraphCondition
|
||||
public sealed class ContainerNotEmpty : IGraphCondition
|
||||
{
|
||||
[DataField("container")] public string Container { get; private set; } = string.Empty;
|
||||
[DataField("examineText")] public string? ExamineText { get; }
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class DoorWelded : IGraphCondition
|
||||
public sealed class DoorWelded : IGraphCondition
|
||||
{
|
||||
[DataField("welded")]
|
||||
public bool Welded { get; private set; } = true;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class EntityAnchored : IGraphCondition
|
||||
public sealed class EntityAnchored : IGraphCondition
|
||||
{
|
||||
[DataField("anchored")] public bool Anchored { get; private set; } = true;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class Locked : IGraphCondition
|
||||
public sealed class Locked : IGraphCondition
|
||||
{
|
||||
[DataField("locked")]
|
||||
public bool IsLocked { get; private set; } = true;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.Server.Construction.Conditions
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class MachineFrameComplete : IGraphCondition
|
||||
public sealed class MachineFrameComplete : IGraphCondition
|
||||
{
|
||||
[DataField("guideIconBoard")]
|
||||
public SpriteSpecifier? GuideIconBoard { get; }
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class StorageWelded : IGraphCondition
|
||||
public sealed class StorageWelded : IGraphCondition
|
||||
{
|
||||
[DataField("welded")]
|
||||
public bool Welded { get; private set; } = true;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ToiletLidClosed : IGraphCondition
|
||||
public sealed class ToiletLidClosed : IGraphCondition
|
||||
{
|
||||
public bool Condition(EntityUid uid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class WirePanel : IGraphCondition
|
||||
public sealed class WirePanel : IGraphCondition
|
||||
{
|
||||
[DataField("open")] public bool Open { get; private set; } = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user