Skip to main content

Interface: IGame

Represents a game linked to a Hoyolab account.

Properties​

game_biz​

• game_biz: string

The game's business type.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:38


game_uid​

• game_uid: string

The game's unique ID.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:48


is_chosen​

• is_chosen: boolean

Whether the game is currently chosen as the active game.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:63


is_official​

• is_official: boolean

Whether the game is an official miHoYo game.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:73


level​

• level: number

The game's level.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:58


nickname​

• nickname: string

The game's nickname.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:53


region​

• region: string

The game's server region.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:43


region_name​

• region_name: string

The name of the game's region.

Defined in​

src/client/hoyolab/hoyolab.interface.ts:68