Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Content.Shared.Damage
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent()]
|
||||
[Friend(typeof(DamageableSystem))]
|
||||
public class DamageableComponent : Component, IRadiationAct, IExAct
|
||||
public sealed class DamageableComponent : Component, IRadiationAct, IExAct
|
||||
{
|
||||
/// <summary>
|
||||
/// This <see cref="DamageContainerPrototype"/> specifies what damage types are supported by this component.
|
||||
@@ -116,7 +116,7 @@ namespace Content.Shared.Damage
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class DamageableComponentState : ComponentState
|
||||
public sealed class DamageableComponentState : ComponentState
|
||||
{
|
||||
public readonly Dictionary<string, FixedPoint2> DamageDict;
|
||||
public readonly string? ModifierSetId;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Damage.Components
|
||||
// TODO It'd be nice if this could be a destructible threshold, but on the other hand,
|
||||
// that doesn't really work with events at all, and
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public class SlowOnDamageComponent : Component
|
||||
public sealed class SlowOnDamageComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Damage -> movespeed dictionary. This is -damage-, not -health-.
|
||||
|
||||
Reference in New Issue
Block a user