增加server status和mega type
This commit is contained in:
@ -13,6 +13,16 @@ enum ServerPacketType {
|
||||
LEAVE = 6;
|
||||
LIST = 7;
|
||||
TOTAL = 8;
|
||||
STATUS = 9;
|
||||
}
|
||||
|
||||
enum ServerStatus {
|
||||
FREE = 0;
|
||||
WAITING = 1;
|
||||
STARTING = 2;
|
||||
PLAYING = 3;
|
||||
ENDING = 4;
|
||||
FULL = 5;
|
||||
}
|
||||
|
||||
message ServerPacket {
|
||||
@ -49,4 +59,8 @@ message ServerListPacket {
|
||||
|
||||
message ServerTotalPacket {
|
||||
int32 total = 1;
|
||||
}
|
||||
|
||||
message ServerStatusPacket {
|
||||
ServerStatus status = 1;
|
||||
}
|
Reference in New Issue
Block a user