CharacterData
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
data: JsonObject
enka: EnkaClient
optionalcandSkillDepotId: number
Returns CharacterData
Properties
readonly_costumeData
readonly_data
readonly_nameId
readonly_releaseData
readonly_skillData
readonlyarkhe
readonlybodyType
readonlycardIcon
readonlyconstellations
readonlycostumes
readonlydescription
readonlydetails
readonlyelement
readonlyelementalBurst
readonlyelementalSkill
Can be null if the character doesn't have element such as traveler without elements
readonlyenka
readonlygachaSlice
This is not available for Travelers
readonlygender
readonlyicon
readonlyid
readonlyisArchon
readonlyisTraveler
readonlyname
readonlynameCard
This will be null if the character is Traveler
readonlynormalAttack
readonlypassiveTalents
readonlyrarity
readonlyreleasedAt
This will be null if the character is not (being) released character, like Travelers and test avatars
readonlysideIcon
readonlyskillDepotId
readonlyskills
readonlysplashImage
readonlystars
readonlyweaponType
Methods
getAscensionData
Parameters
ascension: number
ascension level between 0 and 6
Returns CharacterAscension
getOriginalName
Returns TextAssets
character's original name (Travelers -> Aether, Lumine)
getStats
Parameters
ascension: number
ascension level between 0 and 6
level: number
character level between 1 and 90
Returns StatProperty<FightProp>[]
staticgetById
Parameters
id: number
enka: EnkaClient
optionalcandSkillDepotId: number
Returns CharacterData
Information in the profile menu in in-game character screen