Class EquipmentVisualsUpdatedEvent
Raised directed at a piece of clothing after its visuals have been updated.
Inheritance
System.Object
EquipmentVisualsUpdatedEvent
Namespace: Content.Shared.Clothing
Assembly: Content.Shared.dll
Syntax
public sealed class EquipmentVisualsUpdatedEvent : 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 SourceEquipmentVisualsUpdatedEvent(EntityUid, String, HashSet<String>)
Declaration
public EquipmentVisualsUpdatedEvent(EntityUid equipee, string slot, HashSet<string> revealedLayers)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | equipee | |
System.String | slot | |
HashSet<System.String> | revealedLayers |
Fields
| Improve this Doc View SourceEquipee
Entity that is wearing the item.
Declaration
public readonly EntityUid Equipee
Field Value
Type | Description |
---|---|
EntityUid |
RevealedLayers
The layers that this item is now revealing.
Declaration
public HashSet<string> RevealedLayers
Field Value
Type | Description |
---|---|
HashSet<System.String> |
Slot
Declaration
public readonly string Slot
Field Value
Type | Description |
---|---|
System.String |