makes hand events sealed (#7037)

This commit is contained in:
ScalyChimp
2022-03-08 16:12:23 +01:00
committed by GitHub
parent a2d381d376
commit 58242e9652

View File

@@ -13,7 +13,7 @@ namespace Content.Shared.Hands
/// <summary>
/// Raised directed at an item that needs to update its in-hand sprites/layers.
/// </summary>
public class GetInhandVisualsEvent : EntityEventArgs
public sealed class GetInhandVisualsEvent : EntityEventArgs
{
/// <summary>
/// Entity that owns the hand holding the item.
@@ -43,7 +43,7 @@ namespace Content.Shared.Hands
/// <remarks>
/// Useful for systems/components that modify the visual layers that an item adds to a player. (e.g. RGB memes)
/// </remarks>
public class HeldVisualsUpdatedEvent : EntityEventArgs
public sealed class HeldVisualsUpdatedEvent : EntityEventArgs
{
/// <summary>
/// Entity that is holding the item.