mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Turn things in common into separate libs.
Took 2 hours 27 minutes
This commit is contained in:
parent
53d80efab8
commit
01378b8314
389 changed files with 336 additions and 233 deletions
18
libs/pb/serverinfo_room.proto
Normal file
18
libs/pb/serverinfo_room.proto
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
syntax = "proto2";
|
||||
import "serverinfo_game.proto";
|
||||
import "serverinfo_user.proto";
|
||||
import "serverinfo_gametype.proto";
|
||||
|
||||
message ServerInfo_Room {
|
||||
optional sint32 room_id = 1;
|
||||
optional string name = 2;
|
||||
optional string description = 3;
|
||||
optional uint32 game_count = 4;
|
||||
optional uint32 player_count = 5;
|
||||
optional bool auto_join = 6;
|
||||
repeated ServerInfo_Game game_list = 7;
|
||||
repeated ServerInfo_User user_list = 8;
|
||||
repeated ServerInfo_GameType gametype_list = 9;
|
||||
optional string permissionlevel = 10;
|
||||
optional string privilegelevel = 11;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue