Show / Hide Table of Contents

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 Source

GetEquipmentVisualsEvent(EntityUid, String)

Declaration
public GetEquipmentVisualsEvent(EntityUid equipee, string slot)
Parameters
Type Name Description
EntityUid equipee
System.String slot

Fields

| Improve this Doc View Source

Equipee

Entity that is wearing the item.

Declaration
public readonly EntityUid Equipee
Field Value
Type Description
EntityUid
| Improve this Doc View Source

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;

| Improve this Doc View Source

Slot

Declaration
public readonly string Slot
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾