Skip to main content

CharacterDetails

class CharacterDetails

constructor

new CharacterDetails(data, isArchon, enka)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
dataJsonObject
isArchonboolean
enkaEnkaClient

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

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
idnumber
isArchonboolean
enkaEnkaClient

getByCharacterId

static
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
idnumber
isArchonboolean
enkaEnkaClient

getCvByLanguage

Returns: TextAssets

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
langLanguageCode

getVoices

Returns: CharacterVoiceData[]

  • voice data of the character. This does not contain audio data or files.