Commit a2f16acb43e1a3272760452efe0d504a11927261

Authored by zhangqijia
1 parent c9c5e84c

update team proto

Showing 2 changed files with 5 additions and 5 deletions   Show diff stats
game.proto
... ... @@ -27,6 +27,5 @@ message CreateReq {
27 27 message RoleRsp {
28 28 models.Role role = 2;
29 29 repeated models.Hero hero = 3;
30   - models.Team team = 4;
31   - repeated models.Equipment equips = 5;
  30 + repeated models.Team team = 4;
32 31 }
33 32 \ No newline at end of file
... ...
models.proto
... ... @@ -35,9 +35,10 @@ message Prop {
35 35  
36 36 message Team {
37 37 string id = 1; // @inject_tag: index:"unique" pri:"1"
38   - string hero_id1 = 2;
39   - string hero_id2 = 3;
40   - string hero_id3 = 4;
  38 + string role_id = 2;
  39 + string hero_id1 = 3;
  40 + string hero_id2 = 4;
  41 + string hero_id3 = 5;
41 42 }
42 43  
43 44 message Role {
... ...