Class GetInhandVisualsEvent
Raised directed at an item that needs to update its in-hand sprites/layers.
Inheritance
System.Object
GetInhandVisualsEvent
Namespace: Content.Shared.Hands
Assembly: Content.Shared.dll
Syntax
public sealed class GetInhandVisualsEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceGetInhandVisualsEvent(EntityUid, HandLocation)
Declaration
public GetInhandVisualsEvent(EntityUid user, HandLocation location)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | user | |
HandLocation | location |
Fields
| Improve this Doc View SourceLayers
The layers that will be added to the entity that is holding this item.
Declaration
public List<(string, PrototypeLayerData)> Layers
Field Value
Type | Description |
---|---|
List<System.ValueTuple<System.String, PrototypeLayerData>> |
Remarks
Note that the actual ordering of the layers depends on the order in which they are added to this list;
Location
Declaration
public readonly HandLocation Location
Field Value
Type | Description |
---|---|
HandLocation |
User
Entity that owns the hand holding the item.
Declaration
public readonly EntityUid User
Field Value
Type | Description |
---|---|
EntityUid |