Beispiel #1
0
 protected virtual void Area_OnClientBattleEvent(ClientBattleEvent notify)
 {
     if (next_battle != null)
     {
         next_battle.OnReceived(notify);
     }
     else if (current_battle != null)
     {
         current_battle.OnReceived(notify);
     }
     else
     {
         throw new Exception("Battle Not Init !!!");
     }
 }