new packet: ServerTotalPacket

This commit is contained in:
2025-07-16 09:35:17 +08:00
parent 21a1b2d826
commit e31a48c4cd
4 changed files with 42 additions and 518 deletions

View File

@ -12,6 +12,7 @@ enum ServerPacketType {
JOIN = 5;
LEAVE = 6;
LIST = 7;
TOTAL = 8;
}
message ServerPacket {
@ -44,4 +45,8 @@ message ServerPlayerPacket {
message ServerListPacket {
string serverId = 1;
repeated string players = 2;
}
message ServerTotalPacket {
int32 total = 1;
}