Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -9,7 +9,7 @@ using Prometheus;
|
||||
|
||||
namespace Content.Server.Administration.Logs;
|
||||
|
||||
public partial class AdminLogSystem
|
||||
public sealed partial class AdminLogSystem
|
||||
{
|
||||
private const int MaxRoundsCached = 3;
|
||||
private const int LogListInitialSize = 30_000;
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Administration.Logs;
|
||||
|
||||
public partial class AdminLogSystem
|
||||
public sealed partial class AdminLogSystem
|
||||
{
|
||||
private static readonly JsonNamingPolicy NamingPolicy = JsonNamingPolicy.CamelCase;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ using Robust.Shared.Reflection;
|
||||
|
||||
namespace Content.Server.Administration.Logs;
|
||||
|
||||
public partial class AdminLogSystem : SharedAdminLogSystem
|
||||
public sealed partial class AdminLogSystem : SharedAdminLogSystem
|
||||
{
|
||||
[Dependency] private readonly IConfigurationManager _configuration = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
|
||||
@@ -5,6 +5,6 @@ namespace Content.Server.Administration.Logs.Converters;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
[BaseTypeRequired(typeof(AdminLogConverter<>))]
|
||||
public class AdminLogConverterAttribute : Attribute
|
||||
public sealed class AdminLogConverterAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Administration.Logs.Converters;
|
||||
|
||||
[AdminLogConverter]
|
||||
public class EntityStringRepresentationConverter : AdminLogConverter<EntityStringRepresentation>
|
||||
public sealed class EntityStringRepresentationConverter : AdminLogConverter<EntityStringRepresentation>
|
||||
{
|
||||
public override void Write(Utf8JsonWriter writer, EntityStringRepresentation value, JsonSerializerOptions options)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Logs.Converters;
|
||||
|
||||
[AdminLogConverter]
|
||||
public class EntityUidConverter : AdminLogConverter<EntityUid>
|
||||
public sealed class EntityUidConverter : AdminLogConverter<EntityUid>
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Content.Shared.FixedPoint;
|
||||
namespace Content.Server.Administration.Logs.Converters;
|
||||
|
||||
[AdminLogConverter]
|
||||
public class FixedPoint2Converter : AdminLogConverter<FixedPoint2>
|
||||
public sealed class FixedPoint2Converter : AdminLogConverter<FixedPoint2>
|
||||
{
|
||||
public override void Write(Utf8JsonWriter writer, FixedPoint2 value, JsonSerializerOptions options)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Logs.Converters;
|
||||
|
||||
[AdminLogConverter]
|
||||
public class PlayerSessionConverter : AdminLogConverter<SerializablePlayer>
|
||||
public sealed class PlayerSessionConverter : AdminLogConverter<SerializablePlayer>
|
||||
{
|
||||
public override void Write(Utf8JsonWriter writer, SerializablePlayer value, JsonSerializerOptions options)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user