[client] add GameListFrame

This commit is contained in:
2019-05-22 17:25:51 +03:00
parent a5722dfa9d
commit 4b426183e8
21 changed files with 135 additions and 412 deletions

View File

@@ -14,24 +14,11 @@ enum GameStateProto {
ENDED = 2;
}
message BrickProto {
string type = 1;
}
message EntityProto {
string type = 1;
}
message GameInfoProto {
message GameProto {
int32 id = 1;
string type = 2;
UserProto creator = 3;
repeated UserProto players = 4;
GameStateProto state = 5;
int32 level = 3;
UserProto creator = 4;
repeated UserProto players = 5;
GameStateProto state = 6;
}
message GameProto {
GameInfoProto info = 1;
repeated BrickProto map = 2;
repeated EntityProto entities = 3;
}