diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-30 12:47:50 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-10 20:09:44 +0200 |
commit | 9c424ab741218238205e8d1f2644a3912fda250a (patch) | |
tree | 3aa21fe1a71c5d7ed3ec69259b72aa40e1358b30 /src/network/core/config.h | |
parent | dfb89f3891ec73b4d5a6f46092ad825dabec6bb7 (diff) | |
download | openttd-9c424ab741218238205e8d1f2644a3912fda250a.tar.xz |
Codechange: [ContentInfo] Use StringList for tags instead of custom allocations
Diffstat (limited to 'src/network/core/config.h')
-rw-r--r-- | src/network/core/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index cacc907fa..ce614188d 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -65,6 +65,7 @@ static const uint NETWORK_CLIENT_NAME_LENGTH = 25; ///< The maxim static const uint NETWORK_RCONCOMMAND_LENGTH = 500; ///< The maximum length of a rconsole command, in bytes including '\0' static const uint NETWORK_GAMESCRIPT_JSON_LENGTH = COMPAT_MTU-3; ///< The maximum length of a gamescript json string, in bytes including '\0'. Must not be longer than COMPAT_MTU including header (3 bytes) static const uint NETWORK_CHAT_LENGTH = 900; ///< The maximum length of a chat message, in bytes including '\0' +static const uint NETWORK_CONTENT_TAG_LENGTH = 32; ///< The maximum length of a content's tag, in bytes including '\0'. static const uint NETWORK_GRF_NAME_LENGTH = 80; ///< Maximum length of the name of a GRF |