public void SendLoginDenied(eLoginError et) { }
public virtual void SendLoginDenied(eLoginError et) { using (var pak = new GSTCPPacketOut(GetPacketCode(eServerPackets.LoginDenied))) { pak.WriteByte((byte) et); // Error Code /* if(is_si) pak.WriteByte(0x32); else pak.WriteByte(0x31); */ pak.WriteByte(0x01); pak.WriteByte(ParseVersion((int) m_gameClient.Version, true)); pak.WriteByte(ParseVersion((int) m_gameClient.Version, false)); //pak.WriteByte(build); pak.WriteByte(0x00); SendTCP(pak); } }
public void SendLoginDenied(eLoginError et) { if (SendLoginDeniedMethod != null) SendLoginDeniedMethod(this, et); }