Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -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;

View File

@@ -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!;

View File

@@ -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!;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;