Interface IGenshinRecord

Interface representing a Genshin Impact player record.

interface IGenshinRecord {
    avatars: IGenshinRecordAvatar[];
    city_explorations: unknown[];
    homes: IGenshinRecordHome[];
    role: {
        AvatarUrl: string;
        level: number;
        nickname: string;
        region: string;
    };
    stats: IGenshinRecordStat;
    world_explorations: IGenshinRecordWorldExploration[];
}

Properties

An array of the player's avatars.

city_explorations: unknown[]

An array of the player's city explorations. The structure of this array is not specified.

An array of the player's homes.

role: {
    AvatarUrl: string;
    level: number;
    nickname: string;
    region: string;
}

An object containing player role information.

Type declaration

  • AvatarUrl: string

    The URL of the player's avatar image.

  • level: number

    The player's level.

  • nickname: string

    The player's nickname.

  • region: string

    The region of the player's game account.

An object containing the player's statistics.

world_explorations: IGenshinRecordWorldExploration[]

An array of the player's world explorations.