From a2f16acb43e1a3272760452efe0d504a11927261 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Wed, 23 Mar 2022 17:40:16 +0800 Subject: [PATCH] update team proto --- game.proto | 3 +-- models.proto | 7 ++++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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