Beispiel #1
0
 public static void Send(this ServerConnectors serverConnectors, int contextId, IServer2ClientPacket server2ClientPacket)
 {
     GetModuleCommandValues(server2ClientPacket.GetType(), out var module, out var command);
     serverConnectors.Send(contextId, module, command, server2ClientPacket);
 }
Beispiel #2
0
 public static void Send(this ServerConnectors serverConnectors, Func <ServerConnectorContext, bool> filter, IServer2ClientPacket server2ClientPacket)
 {
     GetModuleCommandValues(server2ClientPacket.GetType(), out var module, out var command);
     serverConnectors.Send(filter, module, command, server2ClientPacket);
 }