Costume
class Costume
Properties
Methods
constructor
new Costume(data, enka)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
data | JsonObject | |||
enka | EnkaClient |
Properties
id
Type: number
enka
Type: EnkaClient
name
Type: TextAssets
description
Type: TextAssets
characterId
Type: number
isDefault
Type: boolean
icon
Type: ImageAssets
sideIcon
Type: ImageAssets
splashImage
Type: ImageAssets
stars
This is null if the costume is default
Type: number | null
cardIcon
Type: ImageAssets
Methods
getById
static
Returns: Costume
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
id | number | |||
enka | EnkaClient |