Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Content.Server.Mining.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(MineableSystem))]
|
||||
public class MineableComponent : Component
|
||||
public sealed class MineableComponent : Component
|
||||
{
|
||||
public float BaseMineTime = 1.0f;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Mining.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class PickaxeComponent : Component
|
||||
public sealed class PickaxeComponent : Component
|
||||
{
|
||||
[DataField("sound")]
|
||||
public SoundSpecifier MiningSound { get; set; } = new SoundPathSpecifier("/Audio/Items/Mining/pickaxe.ogg");
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Mining;
|
||||
|
||||
public class MineableSystem : EntitySystem
|
||||
public sealed class MineableSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly DoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageableSystem = default!;
|
||||
@@ -70,13 +70,13 @@ public class MineableSystem : EntitySystem
|
||||
}
|
||||
|
||||
// grumble grumble
|
||||
public class MiningDoafterSuccess : EntityEventArgs
|
||||
public sealed class MiningDoafterSuccess : EntityEventArgs
|
||||
{
|
||||
public EntityUid Pickaxe;
|
||||
public EntityUid Rock;
|
||||
}
|
||||
|
||||
public class MiningDoafterCancel : EntityEventArgs
|
||||
public sealed class MiningDoafterCancel : EntityEventArgs
|
||||
{
|
||||
public EntityUid Pickaxe;
|
||||
public EntityUid Rock;
|
||||
|
||||
Reference in New Issue
Block a user