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(); }
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); } } }