/// <summary> /// Launch a fight by sending a GameRolePlayAttackMonsterRequestMessage. /// </summary> public void LaunchFight(int id) { GameRolePlayAttackMonsterRequestMessage msg = new GameRolePlayAttackMonsterRequestMessage(id); m_Account.SocketManager.Send(msg); m_Account.Log(new ActionTextInformation("Launch Fight !"), 1); Thread t = new Thread(new ThreadStart(m_Account.Map.CheckFight)); t.Start(); }
public void LaunchFight(int id) { using (BigEndianWriter writer = new BigEndianWriter()) { GameRolePlayAttackMonsterRequestMessage msg = new GameRolePlayAttackMonsterRequestMessage(id); m_Account.SocketManager.Send(msg); //m_Account.Log(new ActionTextInformation(id.ToString())); } }