Skip to main content

StarRailUser

class StarRailUser extends User

constructor

new StarRailUser(data, client)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
dataJsonObject
clientStarRail

Properties

client

Type: StarRail


uid

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

Type: number


nickname

Type: string


signature

Type: string | null


icon

Type: UserIcon


level

Trailblaze level

Type: number


equilibriumLevel

World level

Type: number


platform

Type: Platform | null


playStationAccount

Type: PlayStationAccount | null


friends

Type: number


achievements

Type: number


characterCount

Type: number


lightConeCount

Type: number


forgottenHall

This will be null if the user has not yet unlocked Forgotten Hall.

Type: ForgottenHallInfo | null


simulatedUniverse

Type: number


supportCharacter

Type: Character | null


starfaringCompanions

Characters on the user's display. The same character as supportCharacter is omitted if you use Enka.Network API.

Type: Character[]


enkaUserHash

Type: string | null


Methods

getCharacters

Returns: Character[]