Ejemplo n.º 1
0
 public void OnSendIdentify(Packets.Login.Get.SendIdentify p)
 {
     Logger.ShowInfo("Got Send Identify packet from login server");
     this.SessionID = p.GetSessionID();
     this.SetHeader(true);
     //this.Client.OnLoginSendIdentify();
 }
Ejemplo n.º 2
0
 public void OnResponseRequest(Packets.Login.Get.ResponseRequest p)
 {
     Logger.ShowInfo("Got New SessionID:" + p.GetSessionID().ToString());
     if (this.waitingQueue.Count > 0)
     {
         try
         {
             GatewayClient client = this.waitingQueue[0];
             client.OnGotSessionID(p.GetSessionID());
             this.waitingQueue.RemoveAt(0);
         }
         catch (Exception ex)
         {
             Logger.ShowError(ex);
         }
     }
 }