Show / Hide Table of Contents

Class ClothingComponent

This handles entities which can be equipped.

Inheritance
System.Object
ClothingComponent
Namespace: Content.Shared.Clothing.Components
Assembly: Content.Shared.dll
Syntax
public sealed class ClothingComponent : Component

Fields

| Improve this Doc View Source

ClothingVisuals

Declaration
public Dictionary<string, List<PrototypeLayerData>> ClothingVisuals
Field Value
Type Description
Dictionary<System.String, List<PrototypeLayerData>>
| Improve this Doc View Source

EquippedPrefix

Declaration
public string? EquippedPrefix
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

EquippedState

Allows the equipped state to be directly overwritten. useful when prototyping INNERCLOTHING items into OUTERCLOTHING items without duplicating/modifying RSIs etc.

Declaration
public string? EquippedState
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

EquipSound

Declaration
public SoundSpecifier EquipSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

FemaleMask

Declaration
public ClothingMask FemaleMask
Field Value
Type Description
ClothingMask
| Improve this Doc View Source

InSlot

Declaration
public string? InSlot
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

MaleMask

Declaration
public ClothingMask MaleMask
Field Value
Type Description
ClothingMask
| Improve this Doc View Source

QuickEquip

Declaration
public bool QuickEquip
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

RsiPath

Declaration
public string? RsiPath
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

Slots

Declaration
public SlotFlags Slots
Field Value
Type Description
SlotFlags
| Improve this Doc View Source

UnequipSound

Declaration
public SoundSpecifier UnequipSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

UnisexMask

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