UNPKG

genshin-manager

Version:

<div align="center"> <p> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https://img.shields.io/npm/v/genshin-manager.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https:

99 lines (98 loc) 1.82 kB
/** * Time difference per region (hour) */ export declare const TimeZonesPerRegion: { readonly cn_gf01: 8; readonly cn_qd01: 8; readonly os_usa: -5; readonly os_euro: 1; readonly os_asia: 8; readonly os_cht: 8; }; /** * Region type */ export type Region = keyof typeof TimeZonesPerRegion; /** * URL params for getAnn */ export interface URLParams { /** * Game ID * @default 'hk4e' */ game: string; /** * Game biz * @default 'hk4e_global' */ game_biz: string; /** * Language * @default 'en' */ lang: keyof typeof NoticeLanguage; /** * Auth app ID * @default 'announcement' */ auth_appid: string; /** * Bundle ID * @default 'hk4e_global' */ bundle_id: string; /** * Channel ID * @default '1' */ channel_id: string; /** * Level * @default '60' */ level: string; /** * Platform * @default 'pc' */ platform: string; /** * Region * @default 'os_asia' */ region: Region; /** * SDK presentation style * @default 'fullscreen' */ sdk_presentation_style: string; /** * SDK screen transparent * @default 'true' */ sdk_screen_transparent: string; /** * UID * @default '888888888' */ uid: string; } /** * language code map for getAnn */ export declare const NoticeLanguage: { readonly en: "en-us"; readonly ru: "ru-ru"; readonly vi: "vi-vn"; readonly th: "th-th"; readonly pt: "pt-br"; readonly ko: "ko-kr"; readonly ja: "ja-jp"; readonly id: "id-id"; readonly fr: "fr-fr"; readonly es: "es-es"; readonly de: "de-de"; readonly 'zh-tw': "zh-tw"; readonly 'zh-cn': "zh-cn"; };