EnkaGameAccount
class EnkaGameAccount
The game account added to the Enka.Network account.
Properties
Methods
constructor
new EnkaGameAccount(data, system, username)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
data | EnkaSystem | |||
system | JsonObject | |||
username | string |
Properties
username
Enka.Network username, not in-game nickname
Type: string
hash
Type: string
hoyoType
Type: HoyoType
user
Type: ExtractUserType<T> | null
uid
Type: number | null
isVerified
Type: boolean
isPublic
Type: boolean
isUidPublic
Type: boolean
isLivePublic
Type: boolean
verificationCode
Type: string | null
verificationExpires
Type: Date | null
verificationCodeRetries
Type: number | null
region
The region of the server where the account was created
https://cdn.discordapp.com/attachments/971472744820650035/1072868537472925767/image.png
Type: GameServerRegion
order
Type: number
characterOrder
Type: {[characterId: string]: number} | null
url
Type: string
Methods
fetchBuilds
async
Returns: Promise<{[characterId: string]: ExtractBuildType<T>[]}>
- the game character builds including saved builds in the Enka.Network game account