public void GetFightInfor(int tAimMarchID) { LogModule.DebugLog("Send Get Fight Infor!"); CG_FIGHT fight = (CG_FIGHT)PacketDistributed.CreatePacket(MessageID.PACKET_CG_FIGHT); fight.SetType(1); fight.SetAttackId(GameFacade.GetProxy <PlayerProxy>().marchList[0].marchId); fight.SetDefenceId(tAimMarchID); fight.SetSceneId(mSceneID); fight.SendPacket(); }
public void SendFightMsg() { LogModule.DebugLog("Send Get Fight Infor!"); CG_FIGHT fight = (CG_FIGHT)PacketDistributed.CreatePacket(MessageID.PACKET_CG_FIGHT); fight.SetType(1); fight.SetAttackId(m_SelectedMyItem.SelectedMyMarch.MarchData.marchId); fight.SetDefenceId(m_SelectedOtherItem.SelectOtherMarch.MarchData.marchId); fight.SetSceneId(WorldSceneID); fight.SendPacket(); }