Interface IGenshinDiaryInfo

Interface representing additional information for a Genshin diary.

interface IGenshinDiaryInfo {
    data_month: number;
    day_data: {
        current_mora: number;
        current_primogems: number;
    };
    month: number;
    month_data: {
        current_mora: number;
        current_primogems: number;
        group_by: {
            action: string;
            action_id: number;
            num: number;
            percent: number;
        }[];
        last_mora: number;
        last_primogems: number;
        mora_rate: number;
        primogem_rate: number;
    };
    nickname: string;
    optional_month: number[];
    region: string;
    uid: number;
}

Hierarchy (view full)

Properties

data_month: number

The current month's data for the diary.

day_data: {
    current_mora: number;
    current_primogems: number;
}

The data for the current day.

Type declaration

  • current_mora: number

    The current amount of mora.

  • current_primogems: number

    The current number of primogems.

month: number

The month of the diary.

month_data: {
    current_mora: number;
    current_primogems: number;
    group_by: {
        action: string;
        action_id: number;
        num: number;
        percent: number;
    }[];
    last_mora: number;
    last_primogems: number;
    mora_rate: number;
    primogem_rate: number;
}

The data for the current month.

Type declaration

  • current_mora: number

    The current amount of mora.

  • current_primogems: number

    The current number of primogems.

  • group_by: {
        action: string;
        action_id: number;
        num: number;
        percent: number;
    }[]

    An array of grouped actions.

  • last_mora: number

    The amount of mora from last month.

  • last_primogems: number

    The number of primogems from last month.

  • mora_rate: number

    The rate of mora earned.

  • primogem_rate: number

    The rate of primogems earned.

nickname: string

The nickname associated with the diary.

optional_month: number[]

An array of optional months for the diary.

region: string

The region of the diary.

uid: number

The unique identifier of the diary.