Beispiel #1
0
 public SSessionBase SendAsync(AuthGateConnectionEndPointResponse endPoint) =>
 SendAsync(ClientOpcode.GateConnect, (PacketWriter writer) =>
 {
     writer.WriteNumberLengthUtf8String(endPoint.Ip);
     writer.Write(endPoint.Port);
 });
Beispiel #2
0
 public SSessionBase SendDeferred(AuthGateConnectionEndPointResponse endPoint) =>
 SendDeferred(SCCategory.Login, SCLogin.EnterServer, (SPacketWriter writer) =>
 {
     writer.WriteNumberLengthUtf8String(endPoint.Ip);
     writer.Write(endPoint.Port);
 });