CharacterDetails
class CharacterDetails
Properties
Methods
constructor
new CharacterDetails(data, isArchon, enka)
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| data | JsonObject | |||
| isArchon | boolean | |||
| enka | EnkaClient | 
Properties
enka
Type: EnkaClient
id
Type: number
characterId
Type: number
birthday
If the character is Traveler, this will be null
Type: Birthday | null
location
Type: TextAssets
vision
Type: TextAssets
constellation
Type: TextAssets
constellationIcon
Type: ImageAssets
title
Travelers do not have this
Type: TextAssets
description
Type: TextAssets
cv
Type: CharacterVoiceActors
Methods
getById
static
Returns: CharacterDetails
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| id | number | |||
| isArchon | boolean | |||
| enka | EnkaClient | 
getByCharacterId
static
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| id | number | |||
| isArchon | boolean | |||
| enka | EnkaClient | 
getCvByLanguage
Returns: TextAssets
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| lang | LanguageCode | 
getVoices
Returns: CharacterVoiceData[]
- voice data of the character. This does not contain audio data or files.