Interface IGame

Represents a game linked to a Hoyolab account.

interface IGame {
    game_biz: string;
    game_uid: string;
    is_chosen: boolean;
    is_official: boolean;
    level: number;
    nickname: string;
    region: string;
    region_name: string;
}

Properties

game_biz: string

The game's business type.

game_uid: string

The game's unique ID.

is_chosen: boolean

Whether the game is currently chosen as the active game.

is_official: boolean

Whether the game is an official miHoYo game.

level: number

The game's level.

nickname: string

The game's nickname.

region: string

The game's server region.

region_name: string

The name of the game's region.