Commit 1248bc76c9c72b012916708fbbf957c629d408ce

Authored by zhangqijia
1 parent 35e8d323

feat: add RoleCostDiamondAddSpRpc, role add sp_buycount

Showing 3 changed files with 7 additions and 5 deletions   Show diff stats
models.proto
... ... @@ -112,12 +112,12 @@ message Role {
112 112 int32 level = 5;
113 113 int32 exp = 6;
114 114 int32 diamond = 7;
  115 + int32 gold = 8;
  116 + int32 sp = 9;
  117 + int64 sp_lastupdate = 10;
  118 + int32 sp_buycount = 11;
115 119  
116   - int32 sp = 8;
117   - bool del = 10;
118   - int64 sp_lastupdate = 11;
119 120 map<string,uint32> incres = 12;
120   -
121 121 string items = 13;//物品 "id=count id2=count2"
122 122 uint32 clotheslimit = 14;
123 123 uint32 weaponslimit = 15;
... ... @@ -140,7 +140,7 @@ message Role {
140 140  
141 141 map<int32,bool> talent_tree = 32;
142 142 int32 lucky_seek = 33; // lucky black cat seek
143   - int32 diamond_buy = 34;
  143 + bool del = 34;
144 144 }
145 145  
146 146 message Activity {
... ...
protocode.proto
... ... @@ -32,6 +32,7 @@ enum ProtoCode
32 32 RoleLuckyStartRpc = 124;
33 33 RoleLuckySeekRpc = 125;
34 34 RoleLuckyRewardRpc = 126;
  35 + RoleCostDiamondAddSpRpc = 127;
35 36  
36 37 HeroEquipReferRpc = 201;
37 38 HeroFragmentCovertRpc = 202;
... ...
role.proto
... ... @@ -265,6 +265,7 @@ message RoleLuckyRewardRsp {
265 265 }
266 266  
267 267 message RoleCostDiamondAddSpReq {
  268 + int32 buy_count = 1;
268 269 }
269 270  
270 271 message RoleCostDiamondAddSpRsp {
... ...