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

@@ -11,7 +11,7 @@ namespace Content.Server.Station;
/// </summary>
[RegisterComponent]
[Friend(typeof(GameTicker))]
public class BecomesStationComponent : Component
public sealed class BecomesStationComponent : Component
{
/// <summary>
/// Mapping only. Should use StationIds in all other

View File

@@ -12,7 +12,7 @@ namespace Content.Server.Station;
/// </summary>
[RegisterComponent]
[Friend(typeof(GameTicker))]
public class PartOfStationComponent : Component
public sealed class PartOfStationComponent : Component
{
[DataField("id", required: true)] // does yamllinter even lint maps for required fields?
[ViewVariables(VVAccess.ReadWrite)]

View File

@@ -6,7 +6,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Station;
[RegisterComponent, Friend(typeof(StationSystem))]
public class StationComponent : Component
public sealed class StationComponent : Component
{
[ViewVariables]
public StationId Station = StationId.Invalid;

View File

@@ -16,7 +16,7 @@ namespace Content.Server.Station;
/// <summary>
/// System that manages the jobs available on a station, and maybe other things later.
/// </summary>
public class StationSystem : EntitySystem
public sealed class StationSystem : EntitySystem
{
[Dependency] private GameTicker _gameTicker = default!;
[Dependency] private IChatManager _chatManager = default!;
@@ -44,7 +44,7 @@ public class StationSystem : EntitySystem
_stationInfo = new();
}
public class StationInfoData
public sealed class StationInfoData
{
public string Name;