Class HeldVisualsUpdatedEvent
Raised directed at an item after its visuals have been updated.
Inheritance
System.Object
HeldVisualsUpdatedEvent
Namespace: Content.Shared.Hands
Assembly: Content.Shared.dll
Syntax
public sealed class HeldVisualsUpdatedEvent : EntityEventArgs
Remarks
Useful for systems/components that modify the visual layers that an item adds to a player. (e.g. RGB memes)
Constructors
| Improve this Doc View SourceHeldVisualsUpdatedEvent(EntityUid, HashSet<String>)
Declaration
public HeldVisualsUpdatedEvent(EntityUid user, HashSet<string> revealedLayers)
Parameters
Type | Name | Description |
---|---|---|
Entity |
user | |
Hash |
revealedLayers |
Fields
| Improve this Doc View SourceRevealedLayers
The layers that this item is now revealing.
Declaration
public HashSet<string> RevealedLayers
Field Value
Type | Description |
---|---|
Hash |
User
Entity that is holding the item.
Declaration
public readonly EntityUid User
Field Value
Type | Description |
---|---|
Entity |