27 lines
389 B
Protocol Buffer
27 lines
389 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package items;
|
|
|
|
message Person {
|
|
string name = 1;
|
|
repeated Opinion opinion = 2;
|
|
}
|
|
|
|
message Opinion {
|
|
Game game = 1;
|
|
bool would_play = 2;
|
|
}
|
|
|
|
message Game {
|
|
string title = 1;
|
|
Source source = 2;
|
|
bool multiplayer = 3;
|
|
uint32 min_players = 4;
|
|
uint32 max_players = 5;
|
|
uint32 price = 6;
|
|
}
|
|
|
|
enum Source {
|
|
STEAM = 0;
|
|
ROBLOX = 1;
|
|
} |