Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Chemistry.ReactionEffects;
|
||||
|
||||
[DataDefinition]
|
||||
public class CreateEntityReactionEffect : ReagentEffect
|
||||
public sealed class CreateEntityReactionEffect : ReagentEffect
|
||||
{
|
||||
/// <summary>
|
||||
/// What entity to create.
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Chemistry.ReactionEffects
|
||||
{
|
||||
[DataDefinition]
|
||||
public class ExplosionReactionEffect : ReagentEffect
|
||||
public sealed class ExplosionReactionEffect : ReagentEffect
|
||||
{
|
||||
[DataField("devastationRange")]
|
||||
[JsonIgnore]
|
||||
@@ -24,7 +24,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
[DataField("lightImpactRange")]
|
||||
[JsonIgnore]
|
||||
private float _lightImpactRange = 3;
|
||||
|
||||
|
||||
[DataField("flashRange")]
|
||||
[JsonIgnore]
|
||||
private float _flashRange;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class FoamAreaReactionEffect : AreaReactionEffect
|
||||
public sealed class FoamAreaReactionEffect : AreaReactionEffect
|
||||
{
|
||||
protected override SolutionAreaEffectComponent? GetAreaEffectComponent(EntityUid entity)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class SmokeAreaReactionEffect : AreaReactionEffect
|
||||
public sealed class SmokeAreaReactionEffect : AreaReactionEffect
|
||||
{
|
||||
protected override SolutionAreaEffectComponent? GetAreaEffectComponent(EntityUid entity)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
/// Sets the temperature of the solution involved with the reaction to a new value.
|
||||
/// </summary>
|
||||
[DataDefinition]
|
||||
public class SetSolutionTemperatureEffect : ReagentEffect
|
||||
public sealed class SetSolutionTemperatureEffect : ReagentEffect
|
||||
{
|
||||
/// <summary>
|
||||
/// The temperature to set the solution to.
|
||||
@@ -30,6 +30,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
/// Adjusts the temperature of the solution involved in the reaction.
|
||||
/// </summary>
|
||||
[DataDefinition]
|
||||
[Virtual]
|
||||
public class AdjustSolutionTemperatureEffect : ReagentEffect
|
||||
{
|
||||
/// <summary>
|
||||
@@ -53,7 +54,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
[DataField("scaled")] private bool _scaled;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="solution"></param>
|
||||
/// <returns></returns>
|
||||
@@ -83,7 +84,7 @@ namespace Content.Server.Chemistry.ReactionEffects
|
||||
/// <summary>
|
||||
/// Adjusts the thermal energy of the solution involved in the reaction.
|
||||
/// </summary>
|
||||
public class AdjustSolutionThermalEnergyEffect : AdjustSolutionTemperatureEffect
|
||||
public sealed class AdjustSolutionThermalEnergyEffect : AdjustSolutionTemperatureEffect
|
||||
{
|
||||
protected override float GetDeltaT(Solution solution)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user