diff --git a/game.proto b/game.proto index aa2f363..2f67a26 100644 --- a/game.proto +++ b/game.proto @@ -27,6 +27,5 @@ message CreateReq { message RoleRsp { models.Role role = 2; repeated models.Hero hero = 3; - models.Team team = 4; - repeated models.Equipment equips = 5; + repeated models.Team team = 4; } \ No newline at end of file diff --git a/models.proto b/models.proto index 96d4f19..26bc4ba 100644 --- a/models.proto +++ b/models.proto @@ -35,9 +35,10 @@ message Prop { message Team { string id = 1; // @inject_tag: index:"unique" pri:"1" - string hero_id1 = 2; - string hero_id2 = 3; - string hero_id3 = 4; + string role_id = 2; + string hero_id1 = 3; + string hero_id2 = 4; + string hero_id3 = 5; } message Role { -- libgit2 0.21.2