Class CharacterInfo

Class of information about the character.

Constructors

  • Create a CharacterInfo

    Parameters

    • characterId: number

      Character ID

    • OptionalskillDepotId: number

      Skill depot ID

    Returns CharacterInfo

Properties

bodyType: BodyType

Body type

constellationIds: number[]

Constellation IDs

defaultCostumeId: number

Default costume ID

depotId: number

Skill depot ID

element: undefined | Element

Element of the character

id: number

Character ID

inherentSkillOrder: number[] = []

Inherent skill order

maxLevel: number = 90

Character max level

name: string

Character name

proudMap: Map<number, number> = ...

Map of skill ID and proud ID

Skill ID

Proud ID

rarity: number

Rarity

aloy is treated as 0 because it is special

skillOrder: number[]

Skill order

weaponType: WeaponType

Weapon type

Accessors

  • get allCharacterIds(): number[]
  • Get all character IDs

    Returns number[]

    All character IDs

Methods

  • Get character ID by name

    Parameters

    • name: string

      Character name

    Returns number[]

    Character ID

  • Get traveler skill depot IDs

    Parameters

    • characterId: number

      Character ID

    Returns number[]

    skill depot IDs