Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
/// <see cref="Dispenser.SharedReagentDispenserComponent"/>
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent] // only needed for white-lists. Client doesn't actually need Solution data;
|
||||
public class FitsInDispenserComponent : Component
|
||||
public sealed class FitsInDispenserComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Solution name that will interact with ReagentDispenserComponent.
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class MovespeedModifierMetabolismComponentState : ComponentState
|
||||
public sealed class MovespeedModifierMetabolismComponentState : ComponentState
|
||||
{
|
||||
public float WalkSpeedModifier { get; }
|
||||
public float SprintSpeedModifier { get; }
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
/// <summary>
|
||||
/// Shared class for <c>ChemMasterComponent</c>. Provides a way for entities to split reagents from a beaker and produce pills and bottles via a user interface.
|
||||
/// </summary>
|
||||
[Virtual]
|
||||
public class SharedChemMasterComponent : Component
|
||||
{
|
||||
[DataField("beakerSlot")]
|
||||
@@ -20,7 +21,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
public const string SolutionName = "buffer";
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ChemMasterBoundUserInterfaceState : BoundUserInterfaceState
|
||||
public sealed class ChemMasterBoundUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly bool HasPower;
|
||||
public readonly bool HasBeaker;
|
||||
@@ -66,7 +67,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
/// Message data sent from client to server when a ChemMaster ui button is pressed.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class UiActionMessage : BoundUserInterfaceMessage
|
||||
public sealed class UiActionMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public readonly UiAction Action;
|
||||
public readonly FixedPoint2 Amount;
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Shared.Chemistry.Components
|
||||
{
|
||||
public partial class Solution
|
||||
public sealed partial class Solution
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Content.Shared.Chemistry.Components
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
[DataDefinition]
|
||||
public partial class Solution : IEnumerable<Solution.ReagentQuantity>, ISerializationHooks
|
||||
public sealed partial class Solution : IEnumerable<Solution.ReagentQuantity>, ISerializationHooks
|
||||
{
|
||||
// Most objects on the station hold only 1 or 2 reagents
|
||||
[ViewVariables]
|
||||
|
||||
Reference in New Issue
Block a user