Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Content.Shared.Storage.Components
|
||||
/// </code>
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(SharedItemCounterSystem))]
|
||||
public class ItemCounterComponent : Component
|
||||
public sealed class ItemCounterComponent : Component
|
||||
{
|
||||
[DataField("count", required: true)]
|
||||
public EntityWhitelist Count { get; set; } = default!;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Storage.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(SharedItemMapperSystem))]
|
||||
public class ItemMapperComponent : Component, ISerializationHooks
|
||||
public sealed class ItemMapperComponent : Component, ISerializationHooks
|
||||
{
|
||||
[DataField("mapLayers")] public readonly Dictionary<string, SharedMapLayerData> MapLayers = new();
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Shared.Storage.Components
|
||||
|
||||
[Serializable]
|
||||
[DataDefinition]
|
||||
public class SharedMapLayerData
|
||||
public sealed class SharedMapLayerData
|
||||
{
|
||||
public string Layer = string.Empty;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Content.Shared.Storage.Components
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ShowLayerData : ICloneable
|
||||
public sealed class ShowLayerData : ICloneable
|
||||
{
|
||||
public IReadOnlyList<string> QueuedEntities { get; internal set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user