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

@@ -716,7 +716,7 @@ namespace Content.Shared.Hands.Components
}
[Serializable, NetSerializable]
public class HandsVisualState : ICloneable
public sealed class HandsVisualState : ICloneable
{
public List<HandVisualState> Hands { get; } = new();
@@ -750,7 +750,7 @@ namespace Content.Shared.Hands.Components
#endregion
[Serializable, NetSerializable]
public class Hand
public sealed class Hand
{
[ViewVariables]
public string Name { get; }
@@ -803,7 +803,7 @@ namespace Content.Shared.Hands.Components
/// A message that calls the activate interaction on the item in the specified hand.
/// </summary>
[Serializable, NetSerializable]
public class ActivateInHandMsg : EntityEventArgs
public sealed class ActivateInHandMsg : EntityEventArgs
{
public string HandName { get; }
@@ -817,7 +817,7 @@ namespace Content.Shared.Hands.Components
/// Uses the item in the active hand on the item in the specified hand.
/// </summary>
[Serializable, NetSerializable]
public class ClientInteractUsingInHandMsg : EntityEventArgs
public sealed class ClientInteractUsingInHandMsg : EntityEventArgs
{
public string HandName { get; }
@@ -831,7 +831,7 @@ namespace Content.Shared.Hands.Components
/// Moves an item from one hand to the active hand.
/// </summary>
[Serializable, NetSerializable]
public class MoveItemFromHandMsg : EntityEventArgs
public sealed class MoveItemFromHandMsg : EntityEventArgs
{
public string HandName { get; }
@@ -851,7 +851,7 @@ namespace Content.Shared.Hands.Components
Right
}
public class HandCountChangedEvent : EntityEventArgs
public sealed class HandCountChangedEvent : EntityEventArgs
{
public HandCountChangedEvent(EntityUid sender)
{