public void NewBattleMsg(COM_JJCBattleMsg msg) { /*if(_battleMsgs.Length >= 10) * { * _battleMsgs[0] = msg; * } * else * { * _battleMsgs[0] = msg; * } */ if (newBattleMsgEnven != null) { newBattleMsgEnven(msg); } }
void OnNewbattleMsg(COM_JJCBattleMsg msg) { UpdateBattleMsg(); }