Skip to main content

CharacterData

Index

Constructors

constructor

Properties

readonly_data

_data: JsonObject

readonly_itemData

_itemData: JsonObject

readonlyclient

client: StarRail

readonlycombatType

combatType: CombatType

readonlydescription

description: TextAssets

readonlyeidolons

eidolons: Eidolon[]

readonlyicon

readonlyid

id: number

readonlymaxEnergy

maxEnergy: number

readonlyminiIcon

miniIcon: ImageAssets

readonlyname

readonlypath

path: Path

readonlyshopItemIcon

shopItemIcon: ImageAssets

readonlysideIcon

sideIcon: ImageAssets

readonlyskillTreeNodes

skillTreeNodes: SkillTreeNode[]

readonlyskills

skills: Skill[]

readonlysplashCutInBackgroundImage

splashCutInBackgroundImage: ImageAssets

readonlysplashCutInFigureImage

splashCutInFigureImage: ImageAssets

readonlysplashImage

splashImage: ImageAssets

readonlystars

stars: number

readonlyteamActionIcon

teamActionIcon: ImageAssets

readonlyteamWaitingIcon

teamWaitingIcon: ImageAssets

Methods

getBaseAggro

  • getBaseAggro(ascension: number): number
  • Parameters

    • ascension: number

    Returns number

getGroupedSkillTreeNodes


  • Returns SkillTreeNode[][]

    array of group of SkillTreeNode, which is grouped by the structure of skill tree

getSkillTreeIdMap

getSkillTreeMap

getStatsByLevel