[proto] add rooms and slots
This commit is contained in:
@@ -7,23 +7,9 @@ message UserProto {
|
||||
string name = 2;
|
||||
}
|
||||
|
||||
enum GameStateProto {
|
||||
READY = 0;
|
||||
STARTED = 1;
|
||||
ENDED = 2;
|
||||
}
|
||||
|
||||
message PlayerProto {
|
||||
UserProto user = 1;
|
||||
string team = 2;
|
||||
int32 index = 3;
|
||||
}
|
||||
|
||||
message GameProto {
|
||||
int32 id = 1;
|
||||
string type = 2;
|
||||
int32 level = 3;
|
||||
UserProto creator = 4;
|
||||
repeated PlayerProto players = 5;
|
||||
GameStateProto state = 6;
|
||||
bool started = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user