servatrice/common/pb/serverinfo_room.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
That marker is only recognized by pb3-compatible compilers, meaning that
tools which are otherwise compatible with our files break on them.
Notably, this includes hprotoc (for haskell).
2016-01-14 08:09:40 -05:00

16 lines
518 B
Protocol Buffer

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;
}