Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Content.Shared.Chemistry.Reaction
|
||||
/// Prototype for chemical reaction definitions
|
||||
/// </summary>
|
||||
[Prototype("reaction")]
|
||||
public class ReactionPrototype : IPrototype
|
||||
public sealed class ReactionPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
@@ -73,7 +73,7 @@ namespace Content.Shared.Chemistry.Reaction
|
||||
/// Prototype for chemical reaction reactants.
|
||||
/// </summary>
|
||||
[DataDefinition]
|
||||
public class ReactantPrototype
|
||||
public sealed class ReactantPrototype
|
||||
{
|
||||
[DataField("amount")]
|
||||
private FixedPoint2 _amount = FixedPoint2.New(1);
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Shared.Chemistry.Reaction;
|
||||
|
||||
[RegisterComponent]
|
||||
public class ReactiveComponent : Component
|
||||
public sealed class ReactiveComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// A dictionary of reactive groups -> methods that work on them.
|
||||
@@ -27,7 +27,7 @@ public class ReactiveComponent : Component
|
||||
}
|
||||
|
||||
[DataDefinition]
|
||||
public class ReactiveReagentEffectEntry
|
||||
public sealed class ReactiveReagentEffectEntry
|
||||
{
|
||||
[DataField("methods")]
|
||||
public HashSet<ReactionMethod> Methods = default!;
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Shared.Chemistry.Reaction;
|
||||
|
||||
[Prototype("reactiveGroup")]
|
||||
public class ReactiveGroupPrototype : IPrototype
|
||||
public sealed class ReactiveGroupPrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
Reference in New Issue
Block a user