public void SendToClientRSA(NetComClientData pClient, NetComInstruction pInstruction) { if (pClient != null) { Debug($"Queueing message for {pClient.Username}: {pInstruction}", DebugParams); OutgoingInstructions.AddRSA(pInstruction, pClient); } }
public void BroadcastRSA(NetComInstruction pInstruction) { foreach (NetComClientData client in LClientList) { Debug($"Queueing message for {client.Username}: {pInstruction}", DebugParams); OutgoingInstructions.AddRSA(pInstruction, client); } }
public void SendRSA(NetComInstruction pInstruction) { OutgoingInstructions.AddRSA(pInstruction, null); }