Commit 1248bc76c9c72b012916708fbbf957c629d408ce
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,12 +112,12 @@ message Role { | ||
| 112 | int32 level = 5; | 112 | int32 level = 5; | 
| 113 | int32 exp = 6; | 113 | int32 exp = 6; | 
| 114 | int32 diamond = 7; | 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 | map<string,uint32> incres = 12; | 120 | map<string,uint32> incres = 12; | 
| 120 | - | ||
| 121 | string items = 13;//物品 "id=count id2=count2" | 121 | string items = 13;//物品 "id=count id2=count2" | 
| 122 | uint32 clotheslimit = 14; | 122 | uint32 clotheslimit = 14; | 
| 123 | uint32 weaponslimit = 15; | 123 | uint32 weaponslimit = 15; | 
| @@ -140,7 +140,7 @@ message Role { | @@ -140,7 +140,7 @@ message Role { | ||
| 140 | 140 | ||
| 141 | map<int32,bool> talent_tree = 32; | 141 | map<int32,bool> talent_tree = 32; | 
| 142 | int32 lucky_seek = 33; // lucky black cat seek | 142 | int32 lucky_seek = 33; // lucky black cat seek | 
| 143 | - int32 diamond_buy = 34; | 143 | + bool del = 34; | 
| 144 | } | 144 | } | 
| 145 | 145 | ||
| 146 | message Activity { | 146 | message Activity { | 
protocode.proto
| @@ -32,6 +32,7 @@ enum ProtoCode | @@ -32,6 +32,7 @@ enum ProtoCode | ||
| 32 | RoleLuckyStartRpc = 124; | 32 | RoleLuckyStartRpc = 124; | 
| 33 | RoleLuckySeekRpc = 125; | 33 | RoleLuckySeekRpc = 125; | 
| 34 | RoleLuckyRewardRpc = 126; | 34 | RoleLuckyRewardRpc = 126; | 
| 35 | + RoleCostDiamondAddSpRpc = 127; | ||
| 35 | 36 | ||
| 36 | HeroEquipReferRpc = 201; | 37 | HeroEquipReferRpc = 201; | 
| 37 | HeroFragmentCovertRpc = 202; | 38 | HeroFragmentCovertRpc = 202; | 
role.proto
| @@ -265,6 +265,7 @@ message RoleLuckyRewardRsp { | @@ -265,6 +265,7 @@ message RoleLuckyRewardRsp { | ||
| 265 | } | 265 | } | 
| 266 | 266 | ||
| 267 | message RoleCostDiamondAddSpReq { | 267 | message RoleCostDiamondAddSpReq { | 
| 268 | + int32 buy_count = 1; | ||
| 268 | } | 269 | } | 
| 269 | 270 | ||
| 270 | message RoleCostDiamondAddSpRsp { | 271 | message RoleCostDiamondAddSpRsp { |