Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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