Fixed some too long messages
This commit is contained in:
parent
143322575d
commit
1c6482262f
@ -7,6 +7,10 @@
|
|||||||
#define tsclientmusic std::shared_ptr<ts::server::MusicClient>
|
#define tsclientmusic std::shared_ptr<ts::server::MusicClient>
|
||||||
|
|
||||||
namespace ts {
|
namespace ts {
|
||||||
|
constexpr static auto kMaxPokeMessageLength = 100;
|
||||||
|
constexpr static auto kMaxRequestTalkPowerMessageLength = 50;
|
||||||
|
constexpr static auto kMaxAfkMessageLength = 256;
|
||||||
|
|
||||||
typedef uint16_t ServerId;
|
typedef uint16_t ServerId;
|
||||||
typedef int32_t OptionalServerId;
|
typedef int32_t OptionalServerId;
|
||||||
constexpr auto EmptyServerId = (OptionalServerId) -1;
|
constexpr auto EmptyServerId = (OptionalServerId) -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user