コード例 #1
0
ファイル: BFight.cs プロジェクト: Sadikk/BlueSheep
 /// <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();
 }
コード例 #2
0
ファイル: BFight.cs プロジェクト: DjTrilogic/BlueSheep
 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()));
     }
 }