Show / Hide Table of Contents

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 Source

GetInhandVisualsEvent(EntityUid, HandLocation)

Declaration
public GetInhandVisualsEvent(EntityUid user, HandLocation location)
Parameters
Type Name Description
EntityUid user
HandLocation location

Fields

| Improve this Doc View Source

Layers

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;

| Improve this Doc View Source

Location

Declaration
public readonly HandLocation Location
Field Value
Type Description
HandLocation
| Improve this Doc View Source

User

Entity that owns the hand holding the item.

Declaration
public readonly EntityUid User
Field Value
Type Description
EntityUid
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾