Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,6 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Weapon.Melee.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[Virtual]
|
||||
public class MeleeWeaponComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Content.Server.Weapon.Melee.Components
|
||||
// TODO: Remove this, just use MeleeWeapon...
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(MeleeWeaponComponent))]
|
||||
public class UnarmedCombatComponent : MeleeWeaponComponent
|
||||
public sealed class UnarmedCombatComponent : MeleeWeaponComponent
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Weapon.Melee.EnergySword
|
||||
{
|
||||
[RegisterComponent]
|
||||
internal class EnergySwordComponent : Component
|
||||
internal sealed class EnergySwordComponent : Component
|
||||
{
|
||||
public Color BladeColor = Color.DodgerBlue;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Server.Weapon.Melee.EnergySword
|
||||
{
|
||||
internal class EnergySwordSystem : EntitySystem
|
||||
internal sealed class EnergySwordSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly ActionBlockerSystem _blockerSystem = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
|
||||
@@ -315,7 +315,7 @@ namespace Content.Server.Weapon.Melee
|
||||
/// Raised directed on the melee weapon entity used to attack something in combat mode,
|
||||
/// whether through a click attack or wide attack.
|
||||
/// </summary>
|
||||
public class MeleeHitEvent : HandledEntityEventArgs
|
||||
public sealed class MeleeHitEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Modifier sets to apply to the hit event when it's all said and done.
|
||||
@@ -358,7 +358,7 @@ namespace Content.Server.Weapon.Melee
|
||||
/// Raised directed on the melee weapon entity used to attack something in combat mode,
|
||||
/// whether through a click attack or wide attack.
|
||||
/// </summary>
|
||||
public class MeleeInteractEvent : EntityEventArgs
|
||||
public sealed class MeleeInteractEvent : EntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity interacted with.
|
||||
|
||||
Reference in New Issue
Block a user