From 12883f93dbff117aaf3ce0899dc7d77ff4e27222 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Tue, 14 Mar 2023 23:58:22 +0200 Subject: [PATCH] Client - Added a TODO - Removed now-completed TODO --- source/birchwood/client/client.d | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index 06f3567..f3264ea 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -622,13 +622,6 @@ public class Client : Thread /* Enqueue the message to the receive queue */ receiver.rq(message); } - - /** - * TODO: Make send queue which is used on another thread to send messages - * - * This allows us to intrpoduce fakelag and also prioritse pongs (we should - * send them via here) - */ /** * Sends a message to the server by enqueuing it on @@ -639,6 +632,9 @@ public class Client : Thread */ private void sendMessage(string messageOut) { + // TODO: Do message splits here + + /* Encode the mesage */ ubyte[] encodedMessage = encodeMessage(messageOut);