Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Nutrition.Components
|
||||
/// A disposable, single-use smokable.
|
||||
/// </summary>
|
||||
[RegisterComponent, Friend(typeof(SmokingSystem))]
|
||||
public class CigarComponent : Component
|
||||
public sealed class CigarComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(FoodSystem))]
|
||||
public class FoodComponent : Component
|
||||
public sealed class FoodComponent : Component
|
||||
{
|
||||
[DataField("solution")]
|
||||
public string SolutionName { get; set; } = "food";
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Nutrition.Components
|
||||
/// A food item with this component will be forcefully fed to anyone
|
||||
/// </summary>
|
||||
[RegisterComponent, Friend(typeof(ForcefeedOnCollideSystem))]
|
||||
public class ForcefeedOnCollideComponent : Component
|
||||
public sealed class ForcefeedOnCollideComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Since this component is primarily used by the pneumatic cannon, which adds this comp on throw start
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Nutrition.EntitySystems;
|
||||
/// masks), then this component might become redundant.
|
||||
/// </remarks>
|
||||
[RegisterComponent, Friend(typeof(FoodSystem), typeof(DrinkSystem))]
|
||||
public class IngestionBlockerComponent : Component
|
||||
public sealed class IngestionBlockerComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Is this component currently blocking consumption.
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(SliceableFoodSystem))]
|
||||
internal class SliceableFoodComponent : Component
|
||||
internal sealed class SliceableFoodComponent : Component
|
||||
{
|
||||
[DataField("slice")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(SmokingSystem))]
|
||||
public class SmokableComponent : Component
|
||||
public sealed class SmokableComponent : Component
|
||||
{
|
||||
[DataField("solution")]
|
||||
public string Solution { get; } = "smokable";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(UtensilSystem))]
|
||||
public class UtensilComponent : Component
|
||||
public sealed class UtensilComponent : Component
|
||||
{
|
||||
[DataField("types")]
|
||||
private UtensilType _types = UtensilType.None;
|
||||
|
||||
Reference in New Issue
Block a user