summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-09-11 15:34:46 +0200
committerGitHub <noreply@github.com>2021-09-11 15:34:46 +0200
commita8641ea44a9c218a57abe84be7f38f0e19834bb3 (patch)
tree8a35898cbfa1ba2ea4a67e7ab30f53ec4333c05a /src/network/core
parent9e85f407337f47fc0b1d338229398354865f1c16 (diff)
downloadopenttd-a8641ea44a9c218a57abe84be7f38f0e19834bb3.tar.xz
Add: support filtering content entries for patchpacks (#9541)
This changes nothing for us, but allows patchpacks to add the right pieces of code to start filtering content entries on patchpack only entries.
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/tcp_content.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h
index d99986ef2..00e58d6f0 100644
--- a/src/network/core/tcp_content.h
+++ b/src/network/core/tcp_content.h
@@ -26,7 +26,11 @@ protected:
/**
* Client requesting a list of content info:
* byte type
- * uint32 openttd version
+ * uint32 openttd version (or 0xFFFFFFFF if using a list)
+ * Only if the above value is 0xFFFFFFFF:
+ * uint8 count
+ * string branch-name ("vanilla" for upstream OpenTTD)
+ * string release version (like "12.0")
* @param p The packet that was just received.
* @return True upon success, otherwise false.
*/