public override void Parse(SagaLib.Client client) { try { LoginSession client_ = (LoginSession)client; Packets.Login.Send.MapPong p = new SagaMap.Packets.Login.Send.MapPong(); client.netIO.SendPacket(p, client_.SessionID); } catch { MapClient client_ = (MapClient)client; Packets.Login.Send.MapPong p = new SagaMap.Packets.Login.Send.MapPong(); client.netIO.SendPacket(p, client_.SessionID); } }
public override void Parse(SagaLib.Client client) { LoginClient client_ = (LoginClient)client; if (client_.pinging) { client_.mapServer.lastPong = DateTime.Now; client_.pinging = false; TimeSpan span = client_.mapServer.lastPong - client_.mapServer.lastPing; Logger.ShowInfo("Last Map ping value:" + span.TotalMilliseconds.ToString() + "ms"); } else { Packets.Server.MapPong p = new SagaLogin.Packets.Server.MapPong(); p.SetResult(1); LoginClient.CPGateway.netIO.SendPacket(p, LoginClient.CPGateway.SessionID); } }
public override void Parse(SagaLib.Client client) { try { foreach (CharServer i in LoginServer.charServerList.Values) { MapServer map = i.mapServers[0]; Packets.Map.Send.MapPing p = new SagaLogin.Packets.Map.Send.MapPing(); map.sClient.netIO.SendPacket(p, map.sClient.SessionID); LoginClient.CPGateway = (LoginClient)client; return; } } catch(Exception) { Packets.Server.MapPong p = new SagaLogin.Packets.Server.MapPong(); p.SetResult(0); client.netIO.SendPacket(p, 0xFFFFFFFF); } }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnTradeListConfirm(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSkillToggle(this); }
public override void Parse(SagaLib.Client client) { ((LoginClient)(client)).OnLogout(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnItemGet(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnPartyQuit(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSendMoveStart(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSetSpecialSkill(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnMarketDeleteItem(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSendUsePortal(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSendHomePoint(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnHeartbeat(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnCharSlot(this); }
public override void Parse(SagaLib.Client client) { ((GatewayClient)(client)).OnSendIdentify(this); }
public override void Parse(SagaLib.Client client) { ((LoginSession)(client)).OnResponseRequest(this); }
public override void Parse(SagaLib.Client client) { ((ServerSession)(client)).OnSendUniversal(this); }
public override void Parse(SagaLib.Client client) { ((LoginClient)(client)).OnSelectChar(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSortInvList(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnNPCDropList(this); }
public override void Parse(SagaLib.Client client) { ((LoginClient)(client)).OnRequestMapServer(this); }
public override void Parse(SagaLib.Client client) { ((LoginSession)(client)).OnSendKey(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnCorpseCleared(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnGetCancel(this); }
public override void Parse(SagaLib.Client client) { ((LoginClient)(client)).OnSendGUID(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnSendVersion(this); }
public override void Parse(SagaLib.Client client) { LoginClient client_ = (LoginClient)client; Packets.Server.LoginPong p = new SagaLogin.Packets.Server.LoginPong(); client.netIO.SendPacket(p, client_.SessionID); }
public override void Parse(SagaLib.Client client) { ((MapSession)(client)).OnSendGUID(this); }
public override void Parse(SagaLib.Client client) { ((MapClient)(client)).OnMarketGetComment(this); }