From 4d33c2f17e7228c02ce1898e1166ce46939a79f7 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Mon, 25 Apr 2022 15:11:13 +0800 Subject: [PATCH] feat: 增加背包系统,以及背包系统的通知。 --- game.proto | 5 +++++ models.proto | 4 +++- protocode.proto | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/game.proto b/game.proto index 2afaae7..5255f08 100644 --- a/game.proto +++ b/game.proto @@ -40,4 +40,9 @@ message UpdateRolePropertyRsp { message ChangeTeamReq { repeated models.Team team = 1; +} + +//ResponseCmd RoleUpdateItemsRsp +message RoleUpdateItemsRsp{ + string items = 1; } \ No newline at end of file diff --git a/models.proto b/models.proto index eb78e9d..153bd82 100644 --- a/models.proto +++ b/models.proto @@ -59,5 +59,7 @@ message Role { string buy_r = 11; string pay_r = 12; bool del = 13; - map incres = 14; + map incres = 14; + + string items = 15; } diff --git a/protocode.proto b/protocode.proto index cbf1669..3fdd944 100644 --- a/protocode.proto +++ b/protocode.proto @@ -14,5 +14,6 @@ enum ProtoCode RoleRsp = 6; UpdateRolePropertyRsp = 7; ChangeTeamReq = 8; + RoleUpdateItemsRsp = 9; } \ No newline at end of file -- libgit2 0.21.2