Material
class Material
Properties
Methods
constructor
new Material(data, enka)
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| data | JsonObject | |||
| enka | EnkaClient | 
Properties
id
Type: number
enka
Type: EnkaClient
name
Type: TextAssets
description
Type: TextAssets
icon
Type: ImageAssets
pictures
Type: ImageAssets[]
itemType
Type: ItemType
materialType
Type: string | null
stars
Type: number | null
Methods
getMaterialByData
static
Returns: Material
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| data | JsonObject | |||
| enka | EnkaClient | 
getMaterialById
static
Returns: Material
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| id | number | string | |||
| enka | EnkaClient |