Skip to content
On this page

AthenaShared.utility.clothing ​

Type Aliases ​

ClothingInfo ​

Ƭ ClothingInfo: Object

Type declaration ​

NameType
componentsplayer[]
sexnumber

Defined in ​

shared/utility/clothing.ts:6

Functions ​

clothingComponentToIconName ​

Usage

AthenaShared.utility.clothing.clothingComponentToIconName(sex, components): string

Converts a clothing component to the corresponding icon name that should be used.

Parameters ​

NameType
sexnumber
componentsClothingComponent[]

Returns ​

string

Defined in ​

shared/utility/clothing.ts:43


clothingItemToIconName ​

Usage

AthenaShared.utility.clothing.clothingItemToIconName(item): string

Converts clothing information to an icon name that can be used componentIdentifier-dlcHash-isProp?-isNotShared?-drawableID

Parameters ​

NameType
itemItem<DefaultItemBehavior, ClothingInfo>

Returns ​

string

Defined in ​

shared/utility/clothing.ts:16

Created by Stuyk | Est. 2020