Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
|
||||
namespace Content.Server.Maps.Conditions;
|
||||
|
||||
public class HolidayMapCondition : GameMapCondition
|
||||
public sealed class HolidayMapCondition : GameMapCondition
|
||||
{
|
||||
[DataField("holidays")]
|
||||
public string[] Holidays { get; } = default!;
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Server.Maps;
|
||||
|
||||
public class GameMapManager : IGameMapManager
|
||||
public sealed class GameMapManager : IGameMapManager
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Maps;
|
||||
/// Prototype data for a game map.
|
||||
/// </summary>
|
||||
[Prototype("gameMap")]
|
||||
public class GameMapPrototype : IPrototype
|
||||
public sealed class GameMapPrototype : IPrototype
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
[DataField("id", required: true)]
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.Maps.NameGenerators;
|
||||
|
||||
[UsedImplicitly]
|
||||
public class NanotrasenNameGenerator : GameMapNameGenerator
|
||||
public sealed class NanotrasenNameGenerator : GameMapNameGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Where the map comes from. Should be a two or three letter code, for example "VG" for Packedstation.
|
||||
|
||||
Reference in New Issue
Block a user