Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Temperature.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class HeatResistanceComponent : Component
|
||||
public sealed class HeatResistanceComponent : Component
|
||||
{
|
||||
public int GetHeatResistance()
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Temperature.Components
|
||||
/// and taking fire damage from high temperature.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class TemperatureComponent : Component
|
||||
public sealed class TemperatureComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float CurrentTemperature { get; set; } = Atmospherics.T20C;
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Temperature.Systems
|
||||
{
|
||||
public class TemperatureSystem : EntitySystem
|
||||
public sealed class TemperatureSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly DamageableSystem _damageableSystem = default!;
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphereSystem = default!;
|
||||
@@ -201,7 +201,7 @@ namespace Content.Server.Temperature.Systems
|
||||
}
|
||||
}
|
||||
|
||||
public class OnTemperatureChangeEvent : EntityEventArgs
|
||||
public sealed class OnTemperatureChangeEvent : EntityEventArgs
|
||||
{
|
||||
public float CurrentTemperature { get; }
|
||||
public float LastTemperature { get; }
|
||||
@@ -215,7 +215,7 @@ namespace Content.Server.Temperature.Systems
|
||||
}
|
||||
}
|
||||
|
||||
public class ModifyChangedTemperatureEvent : EntityEventArgs, IInventoryRelayEvent
|
||||
public sealed class ModifyChangedTemperatureEvent : EntityEventArgs, IInventoryRelayEvent
|
||||
{
|
||||
public SlotFlags TargetSlots { get; } = ~SlotFlags.POCKET;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user