/** @format */ import {manualGetDataRsp, relicDataNty} from '../proto/game' import {IRelicConfig} from '../config/RelicConfig' import {GIFT_ID, GAME_TYPE, SHOP_TYPE, MOD_UI, PREFAB_TYPE, GUIDE_TYPE} from '../enums/Enum' import {IItemshopConfig} from '../config/ItemshopConfig' import {IIntegralshopConfig} from '../config/IntegralshopConfig' import {dailyDungeonsInfo, idNum} from '../proto/typedef' import {UI} from '../enums/UI' import {IDailyConfig} from '../config/DailyConfig' import {ICard, IEquip, IRole} from './GlobalInterface' import {IGiftConfig} from '../config/GiftConfig' export interface IRewardNty { changeArr: idNum[] iRoles: IRole[] iCards: ICard[] debrisArr: idNum[] iEquips: IEquip[] } export interface IGameResult { isWin: boolean startTime: number rewardsNty: IRewardNty } export interface IRelicSelect { cfg: IRelicConfig relicData: relicDataNty } export interface IStageChoose { gameType: GAME_TYPE } export interface IShopItemPop { type: SHOP_TYPE cfg: IGiftConfig | IItemshopConfig | IIntegralshopConfig name: string } export interface ITokenBuySure { buyID: GIFT_ID mod: MOD_UI moreGet: idNum[] } export interface ILoading { str: string isDelay: boolean cutNet: boolean timeout: boolean } export interface IMessage { tip: string sureFuc?: Function isHideCancel?: boolean sureLb?: string } export interface ItemUICfg { lvMax?: boolean hideLv?: boolean hideCost?: boolean hideProfession?: boolean showDetails?: boolean changeQuality?: number } export interface IReward { idNumArr: idNum[] itemUICfgArr?: ItemUICfg[] } export interface IUserGuide { guideType: GUIDE_TYPE path: string callback?: Function } export interface IRule { title: string content: string } export interface IOnlineRewardData { //在线奖励 idx: number time: number data: idNum } export interface ILoginUI { chooseServer?: boolean }