public static object SendRequest(this ClientConnector clientConnector, IClient2ServerPacket client2ServerPacket) { GetModuleCommandValues(client2ServerPacket.GetType(), out var module, out var command); return(clientConnector.SendRequest(module, command, client2ServerPacket)); }
public static async Task <object> SendRequestAsync(this ClientConnector clientConnector, IClient2ServerPacket client2ServerPacket) { GetModuleCommandValues(client2ServerPacket.GetType(), out var module, out var command); return(await clientConnector.SendRequestAsync(module, command, client2ServerPacket)); }
public static void Send(this ClientConnector clientConnector, IClient2ServerPacket client2ServerPacket) { GetModuleCommandValues(client2ServerPacket.GetType(), out var module, out var command); clientConnector.Send(module, command, client2ServerPacket); }