Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -18,7 +18,7 @@ using Robust.Shared.Player;
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class CreamPieSystem : SharedCreamPieSystem
|
||||
public sealed class CreamPieSystem : SharedCreamPieSystem
|
||||
{
|
||||
[Dependency] private readonly SolutionContainerSystem _solutionsSystem = default!;
|
||||
[Dependency] private readonly SpillableSystem _spillableSystem = default!;
|
||||
|
||||
@@ -30,7 +30,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class DrinkSystem : EntitySystem
|
||||
public sealed class DrinkSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly FoodSystem _foodSystem = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
public class ForcefeedOnCollideSystem : EntitySystem
|
||||
public sealed class ForcefeedOnCollideSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly FoodSystem _foodSystem = default!;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class HungerSystem : EntitySystem
|
||||
public sealed class HungerSystem : EntitySystem
|
||||
{
|
||||
private float _accumulatedFrameTime;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
internal class SliceableFoodSystem : EntitySystem
|
||||
internal sealed class SliceableFoodSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SolutionContainerSystem _solutionContainerSystem = default!;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
public partial class SmokingSystem
|
||||
public sealed partial class SmokingSystem
|
||||
{
|
||||
private void InitializeCigars()
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
public partial class SmokingSystem : EntitySystem
|
||||
public sealed partial class SmokingSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly ReactiveSystem _reactiveSystem = default!;
|
||||
[Dependency] private readonly SolutionContainerSystem _solutionContainerSystem = default!;
|
||||
@@ -127,7 +127,7 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
/// <summary>
|
||||
/// Directed event raised when the smokable solution is empty.
|
||||
/// </summary>
|
||||
public class SmokableSolutionEmptyEvent : EntityEventArgs
|
||||
public sealed class SmokableSolutionEmptyEvent : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Nutrition.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class ThirstSystem : EntitySystem
|
||||
public sealed class ThirstSystem : EntitySystem
|
||||
{
|
||||
private float _accumulatedFrameTime;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Server.Nutrition.EntitySystems
|
||||
/// <summary>
|
||||
/// Handles usage of the utensils on the food items
|
||||
/// </summary>
|
||||
internal class UtensilSystem : EntitySystem
|
||||
internal sealed class UtensilSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
[Dependency] private readonly FoodSystem _foodSystem = default!;
|
||||
|
||||
Reference in New Issue
Block a user