Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Shared.StatusEffect
|
||||
{
|
||||
[Prototype("statusEffect")]
|
||||
public class StatusEffectPrototype : IPrototype
|
||||
public sealed class StatusEffectPrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.StatusEffect
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent]
|
||||
[Friend(typeof(StatusEffectsSystem))]
|
||||
public class StatusEffectsComponent : Component
|
||||
public sealed class StatusEffectsComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public Dictionary<string, StatusEffectState> ActiveEffects = new();
|
||||
@@ -28,7 +28,7 @@ namespace Content.Shared.StatusEffect
|
||||
/// Holds information about an active status effect.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class StatusEffectState
|
||||
public sealed class StatusEffectState
|
||||
{
|
||||
/// <summary>
|
||||
/// The start and end times of the status effect.
|
||||
@@ -59,7 +59,7 @@ namespace Content.Shared.StatusEffect
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class StatusEffectsComponentState : ComponentState
|
||||
public sealed class StatusEffectsComponentState : ComponentState
|
||||
{
|
||||
public Dictionary<string, StatusEffectState> ActiveEffects;
|
||||
public List<string> AllowedEffects;
|
||||
|
||||
Reference in New Issue
Block a user