Fixed some too long messages

This commit is contained in:
WolverinDEV 2020-07-30 11:50:30 +02:00
parent 143322575d
commit 1c6482262f

View File

@ -7,6 +7,10 @@
#define tsclientmusic std::shared_ptr<ts::server::MusicClient>
namespace ts {
constexpr static auto kMaxPokeMessageLength = 100;
constexpr static auto kMaxRequestTalkPowerMessageLength = 50;
constexpr static auto kMaxAfkMessageLength = 256;
typedef uint16_t ServerId;
typedef int32_t OptionalServerId;
constexpr auto EmptyServerId = (OptionalServerId) -1;