Пример #1
0
    public void OnStartBattleCDRes(stStartBattleArenaUserCmd_S cmd)
    {
        DataManager.Manager <ArenaManager>().OnStartBattleCDRes(cmd);

        //uint CDTime = cmd.battle_time; //倒计时
        //object data = CDTime;

        //Engine.Utility.EventEngine.Instance().DispatchEvent((int)Client.GameEventID.ARENASTARTBATTLECD, data);
    }
Пример #2
0
    public void OnStartBattleCDRes(stStartBattleArenaUserCmd_S cmd)
    {
        Engine.Utility.Log.LogGroup(GameDefine.LogGroup.User_LCY, "--->>>3  开始战斗3、2、1 ");

        uint   CDTime = GameTableManager.Instance.GetGlobalConfig <uint>("ArenaFightTime"); //倒计时
        object data   = CDTime;

        m_arenaBattleStartCd = 4.75f;

        ArenaBattleState state = ArenaBattleState.eArenaStartBattleCD;

        DataManager.Manager <UIPanelManager>().ShowPanel(PanelID.ArenaBattlePanel, data: state);
    }