User
class User
Properties
constructor
new User(data, client)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
data | JsonObject | |||
client | StarRail |
Properties
client
Type: StarRail
uid
Type: number
nickname
Type: string
signature
Type: string | null
birthday
Type: Birthday | null
icon
Type: ImageAssets
iconCharacter
The character used as the icon for the user
This will be null if the user is using non-character icon.
Type: CharacterData | null
level
Trailblaze level
Type: number
equilibriumLevel
World level
Type: number
friends
Type: number
achievements
Type: number
characterCount
Type: number
lightConeCount
Type: number
forgottenHall
Type: number
simulatedUniverse
Type: number
supportCharacter
Type: Character
starfaringCompanions
Characters on the user's display
Type: Character[]