Commit 4d33c2f17e7228c02ce1898e1166ce46939a79f7

Authored by zhangqijia
1 parent a102181c

feat: 增加背包系统,以及背包系统的通知。

Showing 3 changed files with 9 additions and 1 deletions   Show diff stats
game.proto
... ... @@ -40,4 +40,9 @@ message UpdateRolePropertyRsp {
40 40  
41 41 message ChangeTeamReq {
42 42 repeated models.Team team = 1;
  43 +}
  44 +
  45 +//ResponseCmd RoleUpdateItemsRsp
  46 +message RoleUpdateItemsRsp{
  47 + string items = 1;
43 48 }
44 49 \ No newline at end of file
... ...
models.proto
... ... @@ -59,5 +59,7 @@ message Role {
59 59 string buy_r = 11;
60 60 string pay_r = 12;
61 61 bool del = 13;
62   - map<string,int64> incres = 14;
  62 + map<string,uint32> incres = 14;
  63 +
  64 + string items = 15;
63 65 }
... ...
protocode.proto
... ... @@ -14,5 +14,6 @@ enum ProtoCode
14 14 RoleRsp = 6;
15 15 UpdateRolePropertyRsp = 7;
16 16 ChangeTeamReq = 8;
  17 + RoleUpdateItemsRsp = 9;
17 18  
18 19 }
19 20 \ No newline at end of file
... ...