[common] add PlayerControl presets
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user