private void OnS2C_FightBegin(ProtoBuf.IExtensible msg)
        {
            clientmsg.s2c_fightbegin fightbegin = msg as clientmsg.s2c_fightbegin;
            Hashtable hashtable = new Hashtable();

            hashtable["protomsg"] = fightbegin;
            AWEvent evt = new AWEvent(AWEvent.S2C_FIGHTBEGIN, hashtable);

            this.sfs.DispatchEvent(evt);
        }
Esempio n. 2
0
 void OnS2C_ResponseFightBegin(BaseEvent evt)
 {
     DungeonManager.enemyWave.Clear();
     clientmsg.s2c_fightbegin fightbegin = (clientmsg.s2c_fightbegin)evt.Params["protomsg"];
     ArrangementPanel.data = fightbegin.enemylist;
     if (ArrangementPanel.data.Count > 0)
     {
         CEventDispatcher.GetInstance().DispatchEvent(new CBaseEvent(CEventType.GAME_DATA, null));
     }
 }