Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Hands
|
||||
/// Raised when an entity item in a hand is deselected.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public class HandDeselectedEvent : HandledEntityEventArgs
|
||||
public sealed class HandDeselectedEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity that owns the deselected hand.
|
||||
@@ -35,7 +35,7 @@ namespace Content.Shared.Hands
|
||||
/// Raised when an item entity held by a hand is selected.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public class HandSelectedEvent : HandledEntityEventArgs
|
||||
public sealed class HandSelectedEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity that owns the selected hand.
|
||||
@@ -55,7 +55,7 @@ namespace Content.Shared.Hands
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class RequestSetHandEvent : EntityEventArgs
|
||||
public sealed class RequestSetHandEvent : EntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// The hand to be swapped to.
|
||||
@@ -69,7 +69,7 @@ namespace Content.Shared.Hands
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class PickupAnimationEvent : EntityEventArgs
|
||||
public sealed class PickupAnimationEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid ItemUid { get; }
|
||||
public EntityCoordinates InitialPosition { get; }
|
||||
@@ -88,7 +88,7 @@ namespace Content.Shared.Hands
|
||||
/// Raised directed on both the blocking entity and user when
|
||||
/// a virtual hand item is deleted.
|
||||
/// </summary>
|
||||
public class VirtualItemDeletedEvent : EntityEventArgs
|
||||
public sealed class VirtualItemDeletedEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid BlockingEntity;
|
||||
public EntityUid User;
|
||||
@@ -104,7 +104,7 @@ namespace Content.Shared.Hands
|
||||
/// Raised when putting an entity into a hand slot
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public class EquippedHandEvent : HandledEntityEventArgs
|
||||
public sealed class EquippedHandEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity that equipped the item.
|
||||
@@ -133,7 +133,7 @@ namespace Content.Shared.Hands
|
||||
/// Raised when removing an entity from an inventory slot.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public class UnequippedHandEvent : HandledEntityEventArgs
|
||||
public sealed class UnequippedHandEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity that equipped the item.
|
||||
|
||||
Reference in New Issue
Block a user