/*
 * @Date: 2021-08-12 09:33:37
 * @LastEditors: mojunshou 1637302775@qq.com
 * @LastEditTime: 2025-04-28 17:09:35
 */
import { LayerType, UIConfig } from "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager";

/** 界面唯一标识（方便服务器通过编号数据触发界面打开） */
export enum UIID {
    /** 资源加载界面 */
    Loading = 1,
    /** 提示弹出窗口 */
    Alert,
    /** 确认弹出窗口 */
    Confirm,
    /** 温馨提示 */
    KindTips,
    /** 隐私挽留弹窗 */
    Retention,
    /** 消除游戏主场景 */
    Eliminate,
    /** 设置页面 */
    Setting,
    /** 关于我们页面 */
    AboutUs,
    /**红包提现 */
    RedPacketWithdraw,
    /**提现必返*/
    CashRebate,
    /**惊喜翻倍*/
    DoubleRewards,
    /** 双倍加速 */
    DoubleSpeed,
    /** 游戏结束 */
    GameOver,
    /**恭喜通关*/
    GamePass,
    /**安全验证*/
    Verify,
    /**提现记录 */
    WithdrawRecord,
    /** 微信提现 */
    WechatWithdraw,
    //提现成功
    WithSussce,
    /**继续二倍速*/
    KeepSpeed,
    /**温馨提示*/
    WarmReminder,
    /**福利一*/
    WelfareOne,
    /**福利二*/
    WelfareTwo,
    /**福利三*/
    WelfareThree,
    /**自动提现进度*/
    AutoWithdrawProgress,
    /**解锁功能*/
    UnlockFunction,
    /**下一个目标*/
    /**提现预约表*/
    ReservePopup,
    /**微信转账中*/
    WechatTransfer
}

/** 打开界面方式的配置数据 */
export var UIConfigData: { [key: number]: UIConfig } = {
    [UIID.Loading]: { layer: LayerType.UI, prefab: "gui/loading/Loading" },
    [UIID.Alert]: { layer: LayerType.Dialog, prefab: "common/prefab/alert" },
    [UIID.Confirm]: { layer: LayerType.Dialog, prefab: "common/prefab/confirm" },
    [UIID.KindTips]: { layer: LayerType.PopUp, prefab: "common/prefab/KindTips", mask: true },
    [UIID.Retention]: { layer: LayerType.PopUp, prefab: "common/prefab/Retention" },
    [UIID.Eliminate]: { layer: LayerType.UI, prefab: "gui/eliminate/Eliminate" },
    [UIID.Setting]: { layer: LayerType.PopUp, prefab: "common/prefab/Setting", vacancy: true, mask: true },
    [UIID.AboutUs]: { layer: LayerType.PopUp, prefab: "common/prefab/About" },
    [UIID.RedPacketWithdraw]: { layer: LayerType.UI, prefab: "gui/eliminate/prefab/RedPacketWithdrawal" },
    [UIID.DoubleSpeed]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/DoubleSpeed", mask: true },
    [UIID.GameOver]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/GameOver", mask: true },
    [UIID.CashRebate]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/CashRebate", mask: true },
    [UIID.DoubleRewards]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/DoubleRewards", mask: true },
    [UIID.GamePass]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/GamePass", mask: true },
    [UIID.Verify]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/VerifyPopup", mask: true },
    [UIID.WithdrawRecord]: { layer: LayerType.UI, prefab: "gui/eliminate/prefab/WithdrawalRecord" },
    [UIID.WechatWithdraw]: { layer: LayerType.UI, prefab: "gui/eliminate/prefab/WechatWithdrawal" },
    [UIID.WithSussce]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/CashWithdrawal", mask: true },
    [UIID.KeepSpeed]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/KeepDoubleSpeed", mask: true },
    [UIID.WarmReminder]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/WarmReminder", mask: true },
    [UIID.WelfareOne]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/WelfareOne", mask: true },
    [UIID.WelfareTwo]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/WelfareTwo", mask: true },
    [UIID.WelfareThree]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/WelfareThree", mask: true },
    [UIID.AutoWithdrawProgress]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/AutoWithdrawProgress", mask: true },
    [UIID.UnlockFunction]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/UnlockFunction", mask: true },
    [UIID.ReservePopup]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/ReservePopup", mask: true },
    [UIID.WechatTransfer]: { layer: LayerType.PopUp, prefab: "gui/eliminate/prefab/popup/WechatTransfer", mask: true },














}
