Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
/// Requires the solution entity to be above or below a certain temperature.
|
||||
/// Used for things like cryoxadone and pyroxadone.
|
||||
/// </summary>
|
||||
public class Temperature : ReagentEffectCondition
|
||||
public sealed class Temperature : ReagentEffectCondition
|
||||
{
|
||||
[DataField("min")]
|
||||
public float Min = 0;
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Chemistry.ReagentEffectConditions;
|
||||
|
||||
[UsedImplicitly]
|
||||
public class HasTag : ReagentEffectCondition
|
||||
public sealed class HasTag : ReagentEffectCondition
|
||||
{
|
||||
[DataField("tag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>))]
|
||||
public string Tag = default!;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
/// <summary>
|
||||
/// Requires that the metabolizing organ is or is not tagged with a certain MetabolizerType
|
||||
/// </summary>
|
||||
public class OrganType : ReagentEffectCondition
|
||||
public sealed class OrganType : ReagentEffectCondition
|
||||
{
|
||||
[DataField("type", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<MetabolizerTypePrototype>))]
|
||||
public string Type = default!;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
/// This can also trigger on -other- reagents, not just the one metabolizing. By default, it uses the
|
||||
/// one being metabolized.
|
||||
/// </summary>
|
||||
public class ReagentThreshold : ReagentEffectCondition
|
||||
public sealed class ReagentThreshold : ReagentEffectCondition
|
||||
{
|
||||
[DataField("min")]
|
||||
public FixedPoint2 Min = FixedPoint2.Zero;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
/// Requires the solution to be above or below a certain temperature.
|
||||
/// Used for things like explosives.
|
||||
/// </summary>
|
||||
public class SolutionTemperature : ReagentEffectCondition
|
||||
public sealed class SolutionTemperature : ReagentEffectCondition
|
||||
{
|
||||
[DataField("min")]
|
||||
public float Min = 0.0f;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
/// Requires the solution to be above or below a certain thermal energy.
|
||||
/// Used for things like explosives.
|
||||
/// </summary>
|
||||
public class SolutionThermalEnergy : ReagentEffectCondition
|
||||
public sealed class SolutionThermalEnergy : ReagentEffectCondition
|
||||
{
|
||||
[DataField("min")]
|
||||
public float Min = 0.0f;
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Chemistry.ReagentEffectConditions
|
||||
{
|
||||
public class TotalDamage : ReagentEffectCondition
|
||||
public sealed class TotalDamage : ReagentEffectCondition
|
||||
{
|
||||
[DataField("max")]
|
||||
public FixedPoint2 Max = FixedPoint2.MaxValue;
|
||||
|
||||
Reference in New Issue
Block a user