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