[common] add PlayerControl presets

This commit is contained in:
2019-05-30 15:24:26 +03:00
parent c7946ef1da
commit abf944418e
26 changed files with 264 additions and 92 deletions

View File

@@ -2,7 +2,6 @@ syntax = "proto3";
package ru.m.tankz.proto.core;
message UserProto {
string uuid = 1;
string name = 2;
@@ -14,11 +13,17 @@ enum GameStateProto {
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 UserProto players = 5;
repeated PlayerProto players = 5;
GameStateProto state = 6;
}