Commit 35a1465647ba1275f9076b6821a32e82dc45c976

Authored by zhangqijia
1 parent c98fddc2

feat: lucky black cat相关协议

Showing 3 changed files with 27 additions and 3 deletions   Show diff stats
models.proto
... ... @@ -138,6 +138,7 @@ message Role {
138 138 repeated string new_heroes= 31;
139 139  
140 140 map<int32,bool> talent_tree = 32;
  141 + int32 lucky_seek = 33; // lucky black cat seek
141 142 }
142 143  
143 144 message Activity {
... ...
protocode.proto
... ... @@ -29,6 +29,9 @@ enum ProtoCode
29 29 RoleMoppingUpRpc = 121;
30 30 ActivateTalentTreeNodeRpc = 122;
31 31 ReconnectRpc = 123;
  32 + RoleLuckyStarRpc = 124;
  33 + RoleLuckySeekRpc = 125;
  34 + RoleLuckyRewardRpc = 126;
32 35  
33 36 HeroEquipReferRpc = 201;
34 37 HeroFragmentCovertRpc = 202;
... ...
role.proto
... ... @@ -217,7 +217,6 @@ message RoleMoppingUpRsp {
217 217 int32 role_exp = 6;
218 218 }
219 219  
220   -
221 220 message ActivateTalentTreeNodeReq {
222 221 int32 id = 1;
223 222 }
... ... @@ -225,7 +224,6 @@ message ActivateTalentTreeNodeReq {
225 224 message ActivateTalentTreeNodeRsp {
226 225 }
227 226  
228   -
229 227 message ReconnectReq {
230 228 string token = 1;
231 229 string device = 2;
... ... @@ -244,4 +242,26 @@ message ReconnectRsp {
244 242 models.Task task = 10;
245 243 map<int32,bool> task_open = 11;
246 244 map<string,models.Dispatch> dispatch = 12;
247   -}
248 245 \ No newline at end of file
  246 +}
  247 +
  248 +message RoleLuckyStarReq {
  249 +}
  250 +
  251 +message RoleLuckyStarRsp {
  252 + map<int32,int32> reward = 1;
  253 +}
  254 +
  255 +message RoleLuckySeekReq {
  256 + int32 seek = 1;
  257 +}
  258 +
  259 +message RoleLuckySeekRsp {
  260 +}
  261 +
  262 +message RoleLuckyRewardReq {
  263 + int32 seek = 1;
  264 +}
  265 +
  266 +message RoleLuckyRewardRsp {
  267 + map<int32,int32> reward = 1;
  268 +}
... ...