Class GetEquipmentVisualsEvent
Raised directed at a piece of clothing to get the set of layers to show on the wearer's sprite
Inheritance
System.Object
GetEquipmentVisualsEvent
Namespace: Content.Shared.Clothing
Assembly: Content.Shared.dll
Syntax
public sealed class GetEquipmentVisualsEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceGetEquipmentVisualsEvent(EntityUid, String)
Declaration
public GetEquipmentVisualsEvent(EntityUid equipee, string slot)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | equipee | |
System.String | slot |
Fields
| Improve this Doc View SourceEquipee
Entity that is wearing the item.
Declaration
public readonly EntityUid Equipee
Field Value
Type | Description |
---|---|
EntityUid |
Layers
The layers that will be added to the entity that is wearing 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;
Slot
Declaration
public readonly string Slot
Field Value
Type | Description |
---|---|
System.String |