Skip to main content

StarRailUser

Hierarchy

  • unknown
    • StarRailUser

Index

Constructors

constructor

Properties

readonlyachievementCount

achievementCount: number

readonlybookCount

bookCount: number

readonlychallengeInfo

challengeInfo: ChallengeInfo

readonlycharacterCount

characterCount: number

readonlyclient

client: StarRail

readonlyenkaProfile

enkaProfile: any

readonlyenkaUserHash

enkaUserHash: null | string

readonlyequilibriumLevel

equilibriumLevel: number

World level

readonlyfriends

friends: number

readonlyicon

icon: UserIcon

readonlyisDisplayCharacter

isDisplayCharacter: boolean

Whether the user displays characters in their showcase.

readonlylevel

level: number

Trailblaze level

readonlylightConeCount

lightConeCount: number

readonlymusicCount

musicCount: number

readonlynickname

nickname: string

readonlyplatform

platform: null | Platform

readonlyrelicCount

relicCount: number

readonlysignature

signature: null | string

readonlysimulatedUniverse

simulatedUniverse: number

readonlystarfaringCompanions

starfaringCompanions: Character[]

Characters on the user's display. Characters that are also in supportCharacter are omitted if you use Enka.Network API.

readonlysupportCharacters

supportCharacters: Character[]

readonlyuid

uid: number

This will be NaN if this StarRailUser is from EnkaGameAccount and isUidPublic is false.

Methods

getCharacters

  • You should use this method to get characters if you use Enka.Network API.


    Returns Character[]