Ejemplo n.º 1
0
 /// <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();
 }
Ejemplo n.º 2
0
 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()));
     }
 }