Show / Hide Table of Contents

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 Source

EquipmentVisualsUpdatedEvent(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 Source

Equipee

Entity that is wearing the item.

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

RevealedLayers

The layers that this item is now revealing.

Declaration
public HashSet<string> RevealedLayers
Field Value
Type Description
HashSet<System.String>
| 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
☀
☾