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

@@ -43,7 +43,7 @@ namespace Content.Shared.Ghost
/// Response is sent via <see cref="GhostWarpsResponseEvent"/>
/// </summary>
[Serializable, NetSerializable]
public class GhostWarpsRequestEvent : EntityEventArgs
public sealed class GhostWarpsRequestEvent : EntityEventArgs
{
}
@@ -52,7 +52,7 @@ namespace Content.Shared.Ghost
/// Contains players, and locations a ghost can warp to
/// </summary>
[Serializable, NetSerializable]
public class GhostWarpsResponseEvent : EntityEventArgs
public sealed class GhostWarpsResponseEvent : EntityEventArgs
{
public GhostWarpsResponseEvent(List<string> locations, Dictionary<EntityUid, string> players)
{
@@ -75,7 +75,7 @@ namespace Content.Shared.Ghost
/// A client to server request for their ghost to be warped to a location
/// </summary>
[Serializable, NetSerializable]
public class GhostWarpToLocationRequestEvent : EntityEventArgs
public sealed class GhostWarpToLocationRequestEvent : EntityEventArgs
{
/// <summary>
/// The location name to warp to.
@@ -92,7 +92,7 @@ namespace Content.Shared.Ghost
/// A client to server request for their ghost to be warped to an entity
/// </summary>
[Serializable, NetSerializable]
public class GhostWarpToTargetRequestEvent : EntityEventArgs
public sealed class GhostWarpToTargetRequestEvent : EntityEventArgs
{
public EntityUid Target { get; }
@@ -106,7 +106,7 @@ namespace Content.Shared.Ghost
/// A client to server request for their ghost to return to body
/// </summary>
[Serializable, NetSerializable]
public class GhostReturnToBodyRequest : EntityEventArgs
public sealed class GhostReturnToBodyRequest : EntityEventArgs
{
}
@@ -114,7 +114,7 @@ namespace Content.Shared.Ghost
/// A server to client update with the available ghost role count
/// </summary>
[Serializable, NetSerializable]
public class GhostUpdateGhostRoleCountEvent : EntityEventArgs
public sealed class GhostUpdateGhostRoleCountEvent : EntityEventArgs
{
public int AvailableGhostRoles { get; }