Commit 4e75670c3b7664c41b01c33bce9fc19ba77a9b2c
1 parent
35adfcdb
fix: 首次通关记录到数据库
Showing
3 changed files
with
198 additions
and
198 deletions
Show diff stats
cmd/gameserver/action/RoleAction.go
| @@ -208,6 +208,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | @@ -208,6 +208,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | ||
| 208 | } | 208 | } |
| 209 | } else { | 209 | } else { |
| 210 | role.Role.PassChapters[req.ChapterId] = chapterCount + 1 | 210 | role.Role.PassChapters[req.ChapterId] = chapterCount + 1 |
| 211 | + role.UpdateProperty("pass_chapters", role.Role.PassChapters, false) | ||
| 211 | } | 212 | } |
| 212 | 213 | ||
| 213 | for k, v := range common.StringToMapNum(carbonInfo.NormalAward) { | 214 | for k, v := range common.StringToMapNum(carbonInfo.NormalAward) { |
| @@ -236,7 +237,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | @@ -236,7 +237,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | ||
| 236 | t := team.(*models.TeamModel).Team | 237 | t := team.(*models.TeamModel).Team |
| 237 | h1, ok := role.Heros[t.HeroId1] | 238 | h1, ok := role.Heros[t.HeroId1] |
| 238 | if ok { | 239 | if ok { |
| 239 | - level, exp := h1.(*models.HeroModel).UpLevel(amount) | 240 | + level, exp = h1.(*models.HeroModel).UpLevel(amount) |
| 240 | h1.SetProperty("level", level) | 241 | h1.SetProperty("level", level) |
| 241 | h1.SetProperty("exp", exp) | 242 | h1.SetProperty("exp", exp) |
| 242 | heros = append(heros, h1.(*models.HeroModel).Hero) | 243 | heros = append(heros, h1.(*models.HeroModel).Hero) |
| @@ -244,7 +245,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | @@ -244,7 +245,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | ||
| 244 | 245 | ||
| 245 | h2, ok := role.Heros[t.HeroId2] | 246 | h2, ok := role.Heros[t.HeroId2] |
| 246 | if ok { | 247 | if ok { |
| 247 | - level, exp := h2.(*models.HeroModel).UpLevel(amount) | 248 | + level, exp = h2.(*models.HeroModel).UpLevel(amount) |
| 248 | h2.SetProperty("level", level) | 249 | h2.SetProperty("level", level) |
| 249 | h2.SetProperty("exp", exp) | 250 | h2.SetProperty("exp", exp) |
| 250 | heros = append(heros, h2.(*models.HeroModel).Hero) | 251 | heros = append(heros, h2.(*models.HeroModel).Hero) |
| @@ -252,7 +253,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | @@ -252,7 +253,7 @@ func RoleEndBattleRpc(role *models.RoleModel, msg components.IMessage) (int32, i | ||
| 252 | 253 | ||
| 253 | h3, ok := role.Heros[t.HeroId3] | 254 | h3, ok := role.Heros[t.HeroId3] |
| 254 | if ok { | 255 | if ok { |
| 255 | - level, exp := h3.(*models.HeroModel).UpLevel(amount) | 256 | + level, exp = h3.(*models.HeroModel).UpLevel(amount) |
| 256 | h3.SetProperty("level", level) | 257 | h3.SetProperty("level", level) |
| 257 | h3.SetProperty("exp", exp) | 258 | h3.SetProperty("exp", exp) |
| 258 | heros = append(heros, h3.(*models.HeroModel).Hero) | 259 | heros = append(heros, h3.(*models.HeroModel).Hero) |
pb/game.pb.go
| @@ -313,21 +313,76 @@ func (x *ChangeTeamReq) GetTeam() []*Team { | @@ -313,21 +313,76 @@ func (x *ChangeTeamReq) GetTeam() []*Team { | ||
| 313 | return nil | 313 | return nil |
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | +type EquipInfo struct { | ||
| 317 | + state protoimpl.MessageState | ||
| 318 | + sizeCache protoimpl.SizeCache | ||
| 319 | + unknownFields protoimpl.UnknownFields | ||
| 320 | + | ||
| 321 | + EquipId string `protobuf:"bytes,1,opt,name=equipId,proto3" json:"equipId,omitempty"` | ||
| 322 | + Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` | ||
| 323 | +} | ||
| 324 | + | ||
| 325 | +func (x *EquipInfo) Reset() { | ||
| 326 | + *x = EquipInfo{} | ||
| 327 | + if protoimpl.UnsafeEnabled { | ||
| 328 | + mi := &file_game_proto_msgTypes[6] | ||
| 329 | + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
| 330 | + ms.StoreMessageInfo(mi) | ||
| 331 | + } | ||
| 332 | +} | ||
| 333 | + | ||
| 334 | +func (x *EquipInfo) String() string { | ||
| 335 | + return protoimpl.X.MessageStringOf(x) | ||
| 336 | +} | ||
| 337 | + | ||
| 338 | +func (*EquipInfo) ProtoMessage() {} | ||
| 339 | + | ||
| 340 | +func (x *EquipInfo) ProtoReflect() protoreflect.Message { | ||
| 341 | + mi := &file_game_proto_msgTypes[6] | ||
| 342 | + if protoimpl.UnsafeEnabled && x != nil { | ||
| 343 | + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
| 344 | + if ms.LoadMessageInfo() == nil { | ||
| 345 | + ms.StoreMessageInfo(mi) | ||
| 346 | + } | ||
| 347 | + return ms | ||
| 348 | + } | ||
| 349 | + return mi.MessageOf(x) | ||
| 350 | +} | ||
| 351 | + | ||
| 352 | +// Deprecated: Use EquipInfo.ProtoReflect.Descriptor instead. | ||
| 353 | +func (*EquipInfo) Descriptor() ([]byte, []int) { | ||
| 354 | + return file_game_proto_rawDescGZIP(), []int{6} | ||
| 355 | +} | ||
| 356 | + | ||
| 357 | +func (x *EquipInfo) GetEquipId() string { | ||
| 358 | + if x != nil { | ||
| 359 | + return x.EquipId | ||
| 360 | + } | ||
| 361 | + return "" | ||
| 362 | +} | ||
| 363 | + | ||
| 364 | +func (x *EquipInfo) GetPos() int32 { | ||
| 365 | + if x != nil { | ||
| 366 | + return x.Pos | ||
| 367 | + } | ||
| 368 | + return 0 | ||
| 369 | +} | ||
| 370 | + | ||
| 316 | //ResponseCmd HeroEquipReferReq | 371 | //ResponseCmd HeroEquipReferReq |
| 317 | type HeroEquipReferReq struct { | 372 | type HeroEquipReferReq struct { |
| 318 | state protoimpl.MessageState | 373 | state protoimpl.MessageState |
| 319 | sizeCache protoimpl.SizeCache | 374 | sizeCache protoimpl.SizeCache |
| 320 | unknownFields protoimpl.UnknownFields | 375 | unknownFields protoimpl.UnknownFields |
| 321 | 376 | ||
| 322 | - EquipIds []*HeroEquipReferReq_EquipInfo `protobuf:"bytes,1,rep,name=equipIds,proto3" json:"equipIds,omitempty"` | ||
| 323 | - HeroId string `protobuf:"bytes,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` | ||
| 324 | - Refer bool `protobuf:"varint,3,opt,name=refer,proto3" json:"refer,omitempty"` //true 穿戴, false 脱下 | 377 | + EquipIds []*EquipInfo `protobuf:"bytes,1,rep,name=equipIds,proto3" json:"equipIds,omitempty"` |
| 378 | + HeroId string `protobuf:"bytes,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` | ||
| 379 | + Refer bool `protobuf:"varint,3,opt,name=refer,proto3" json:"refer,omitempty"` //true 穿戴, false 脱下 | ||
| 325 | } | 380 | } |
| 326 | 381 | ||
| 327 | func (x *HeroEquipReferReq) Reset() { | 382 | func (x *HeroEquipReferReq) Reset() { |
| 328 | *x = HeroEquipReferReq{} | 383 | *x = HeroEquipReferReq{} |
| 329 | if protoimpl.UnsafeEnabled { | 384 | if protoimpl.UnsafeEnabled { |
| 330 | - mi := &file_game_proto_msgTypes[6] | 385 | + mi := &file_game_proto_msgTypes[7] |
| 331 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 386 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 332 | ms.StoreMessageInfo(mi) | 387 | ms.StoreMessageInfo(mi) |
| 333 | } | 388 | } |
| @@ -340,7 +395,7 @@ func (x *HeroEquipReferReq) String() string { | @@ -340,7 +395,7 @@ func (x *HeroEquipReferReq) String() string { | ||
| 340 | func (*HeroEquipReferReq) ProtoMessage() {} | 395 | func (*HeroEquipReferReq) ProtoMessage() {} |
| 341 | 396 | ||
| 342 | func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message { | 397 | func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message { |
| 343 | - mi := &file_game_proto_msgTypes[6] | 398 | + mi := &file_game_proto_msgTypes[7] |
| 344 | if protoimpl.UnsafeEnabled && x != nil { | 399 | if protoimpl.UnsafeEnabled && x != nil { |
| 345 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 400 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 | if ms.LoadMessageInfo() == nil { | 401 | if ms.LoadMessageInfo() == nil { |
| @@ -353,10 +408,10 @@ func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message { | @@ -353,10 +408,10 @@ func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message { | ||
| 353 | 408 | ||
| 354 | // Deprecated: Use HeroEquipReferReq.ProtoReflect.Descriptor instead. | 409 | // Deprecated: Use HeroEquipReferReq.ProtoReflect.Descriptor instead. |
| 355 | func (*HeroEquipReferReq) Descriptor() ([]byte, []int) { | 410 | func (*HeroEquipReferReq) Descriptor() ([]byte, []int) { |
| 356 | - return file_game_proto_rawDescGZIP(), []int{6} | 411 | + return file_game_proto_rawDescGZIP(), []int{7} |
| 357 | } | 412 | } |
| 358 | 413 | ||
| 359 | -func (x *HeroEquipReferReq) GetEquipIds() []*HeroEquipReferReq_EquipInfo { | 414 | +func (x *HeroEquipReferReq) GetEquipIds() []*EquipInfo { |
| 360 | if x != nil { | 415 | if x != nil { |
| 361 | return x.EquipIds | 416 | return x.EquipIds |
| 362 | } | 417 | } |
| @@ -391,7 +446,7 @@ type RoleRsp struct { | @@ -391,7 +446,7 @@ type RoleRsp struct { | ||
| 391 | func (x *RoleRsp) Reset() { | 446 | func (x *RoleRsp) Reset() { |
| 392 | *x = RoleRsp{} | 447 | *x = RoleRsp{} |
| 393 | if protoimpl.UnsafeEnabled { | 448 | if protoimpl.UnsafeEnabled { |
| 394 | - mi := &file_game_proto_msgTypes[7] | 449 | + mi := &file_game_proto_msgTypes[8] |
| 395 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 450 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 396 | ms.StoreMessageInfo(mi) | 451 | ms.StoreMessageInfo(mi) |
| 397 | } | 452 | } |
| @@ -404,7 +459,7 @@ func (x *RoleRsp) String() string { | @@ -404,7 +459,7 @@ func (x *RoleRsp) String() string { | ||
| 404 | func (*RoleRsp) ProtoMessage() {} | 459 | func (*RoleRsp) ProtoMessage() {} |
| 405 | 460 | ||
| 406 | func (x *RoleRsp) ProtoReflect() protoreflect.Message { | 461 | func (x *RoleRsp) ProtoReflect() protoreflect.Message { |
| 407 | - mi := &file_game_proto_msgTypes[7] | 462 | + mi := &file_game_proto_msgTypes[8] |
| 408 | if protoimpl.UnsafeEnabled && x != nil { | 463 | if protoimpl.UnsafeEnabled && x != nil { |
| 409 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 464 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 410 | if ms.LoadMessageInfo() == nil { | 465 | if ms.LoadMessageInfo() == nil { |
| @@ -417,7 +472,7 @@ func (x *RoleRsp) ProtoReflect() protoreflect.Message { | @@ -417,7 +472,7 @@ func (x *RoleRsp) ProtoReflect() protoreflect.Message { | ||
| 417 | 472 | ||
| 418 | // Deprecated: Use RoleRsp.ProtoReflect.Descriptor instead. | 473 | // Deprecated: Use RoleRsp.ProtoReflect.Descriptor instead. |
| 419 | func (*RoleRsp) Descriptor() ([]byte, []int) { | 474 | func (*RoleRsp) Descriptor() ([]byte, []int) { |
| 420 | - return file_game_proto_rawDescGZIP(), []int{7} | 475 | + return file_game_proto_rawDescGZIP(), []int{8} |
| 421 | } | 476 | } |
| 422 | 477 | ||
| 423 | func (x *RoleRsp) GetRole() *Role { | 478 | func (x *RoleRsp) GetRole() *Role { |
| @@ -461,7 +516,7 @@ type RoleUpdatePropertyRsp struct { | @@ -461,7 +516,7 @@ type RoleUpdatePropertyRsp struct { | ||
| 461 | func (x *RoleUpdatePropertyRsp) Reset() { | 516 | func (x *RoleUpdatePropertyRsp) Reset() { |
| 462 | *x = RoleUpdatePropertyRsp{} | 517 | *x = RoleUpdatePropertyRsp{} |
| 463 | if protoimpl.UnsafeEnabled { | 518 | if protoimpl.UnsafeEnabled { |
| 464 | - mi := &file_game_proto_msgTypes[8] | 519 | + mi := &file_game_proto_msgTypes[9] |
| 465 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 520 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 466 | ms.StoreMessageInfo(mi) | 521 | ms.StoreMessageInfo(mi) |
| 467 | } | 522 | } |
| @@ -474,7 +529,7 @@ func (x *RoleUpdatePropertyRsp) String() string { | @@ -474,7 +529,7 @@ func (x *RoleUpdatePropertyRsp) String() string { | ||
| 474 | func (*RoleUpdatePropertyRsp) ProtoMessage() {} | 529 | func (*RoleUpdatePropertyRsp) ProtoMessage() {} |
| 475 | 530 | ||
| 476 | func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message { | 531 | func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message { |
| 477 | - mi := &file_game_proto_msgTypes[8] | 532 | + mi := &file_game_proto_msgTypes[9] |
| 478 | if protoimpl.UnsafeEnabled && x != nil { | 533 | if protoimpl.UnsafeEnabled && x != nil { |
| 479 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 534 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 480 | if ms.LoadMessageInfo() == nil { | 535 | if ms.LoadMessageInfo() == nil { |
| @@ -487,7 +542,7 @@ func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message { | @@ -487,7 +542,7 @@ func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message { | ||
| 487 | 542 | ||
| 488 | // Deprecated: Use RoleUpdatePropertyRsp.ProtoReflect.Descriptor instead. | 543 | // Deprecated: Use RoleUpdatePropertyRsp.ProtoReflect.Descriptor instead. |
| 489 | func (*RoleUpdatePropertyRsp) Descriptor() ([]byte, []int) { | 544 | func (*RoleUpdatePropertyRsp) Descriptor() ([]byte, []int) { |
| 490 | - return file_game_proto_rawDescGZIP(), []int{8} | 545 | + return file_game_proto_rawDescGZIP(), []int{9} |
| 491 | } | 546 | } |
| 492 | 547 | ||
| 493 | func (x *RoleUpdatePropertyRsp) GetId() []int32 { | 548 | func (x *RoleUpdatePropertyRsp) GetId() []int32 { |
| @@ -516,7 +571,7 @@ type RoleUpdateItemsRsp struct { | @@ -516,7 +571,7 @@ type RoleUpdateItemsRsp struct { | ||
| 516 | func (x *RoleUpdateItemsRsp) Reset() { | 571 | func (x *RoleUpdateItemsRsp) Reset() { |
| 517 | *x = RoleUpdateItemsRsp{} | 572 | *x = RoleUpdateItemsRsp{} |
| 518 | if protoimpl.UnsafeEnabled { | 573 | if protoimpl.UnsafeEnabled { |
| 519 | - mi := &file_game_proto_msgTypes[9] | 574 | + mi := &file_game_proto_msgTypes[10] |
| 520 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 575 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 521 | ms.StoreMessageInfo(mi) | 576 | ms.StoreMessageInfo(mi) |
| 522 | } | 577 | } |
| @@ -529,7 +584,7 @@ func (x *RoleUpdateItemsRsp) String() string { | @@ -529,7 +584,7 @@ func (x *RoleUpdateItemsRsp) String() string { | ||
| 529 | func (*RoleUpdateItemsRsp) ProtoMessage() {} | 584 | func (*RoleUpdateItemsRsp) ProtoMessage() {} |
| 530 | 585 | ||
| 531 | func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message { | 586 | func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message { |
| 532 | - mi := &file_game_proto_msgTypes[9] | 587 | + mi := &file_game_proto_msgTypes[10] |
| 533 | if protoimpl.UnsafeEnabled && x != nil { | 588 | if protoimpl.UnsafeEnabled && x != nil { |
| 534 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 589 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 535 | if ms.LoadMessageInfo() == nil { | 590 | if ms.LoadMessageInfo() == nil { |
| @@ -542,7 +597,7 @@ func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message { | @@ -542,7 +597,7 @@ func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message { | ||
| 542 | 597 | ||
| 543 | // Deprecated: Use RoleUpdateItemsRsp.ProtoReflect.Descriptor instead. | 598 | // Deprecated: Use RoleUpdateItemsRsp.ProtoReflect.Descriptor instead. |
| 544 | func (*RoleUpdateItemsRsp) Descriptor() ([]byte, []int) { | 599 | func (*RoleUpdateItemsRsp) Descriptor() ([]byte, []int) { |
| 545 | - return file_game_proto_rawDescGZIP(), []int{9} | 600 | + return file_game_proto_rawDescGZIP(), []int{10} |
| 546 | } | 601 | } |
| 547 | 602 | ||
| 548 | func (x *RoleUpdateItemsRsp) GetItems() string { | 603 | func (x *RoleUpdateItemsRsp) GetItems() string { |
| @@ -561,7 +616,7 @@ type RoleUpdateChangeRsp struct { | @@ -561,7 +616,7 @@ type RoleUpdateChangeRsp struct { | ||
| 561 | func (x *RoleUpdateChangeRsp) Reset() { | 616 | func (x *RoleUpdateChangeRsp) Reset() { |
| 562 | *x = RoleUpdateChangeRsp{} | 617 | *x = RoleUpdateChangeRsp{} |
| 563 | if protoimpl.UnsafeEnabled { | 618 | if protoimpl.UnsafeEnabled { |
| 564 | - mi := &file_game_proto_msgTypes[10] | 619 | + mi := &file_game_proto_msgTypes[11] |
| 565 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 620 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 566 | ms.StoreMessageInfo(mi) | 621 | ms.StoreMessageInfo(mi) |
| 567 | } | 622 | } |
| @@ -574,7 +629,7 @@ func (x *RoleUpdateChangeRsp) String() string { | @@ -574,7 +629,7 @@ func (x *RoleUpdateChangeRsp) String() string { | ||
| 574 | func (*RoleUpdateChangeRsp) ProtoMessage() {} | 629 | func (*RoleUpdateChangeRsp) ProtoMessage() {} |
| 575 | 630 | ||
| 576 | func (x *RoleUpdateChangeRsp) ProtoReflect() protoreflect.Message { | 631 | func (x *RoleUpdateChangeRsp) ProtoReflect() protoreflect.Message { |
| 577 | - mi := &file_game_proto_msgTypes[10] | 632 | + mi := &file_game_proto_msgTypes[11] |
| 578 | if protoimpl.UnsafeEnabled && x != nil { | 633 | if protoimpl.UnsafeEnabled && x != nil { |
| 579 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 634 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 580 | if ms.LoadMessageInfo() == nil { | 635 | if ms.LoadMessageInfo() == nil { |
| @@ -587,7 +642,7 @@ func (x *RoleUpdateChangeRsp) ProtoReflect() protoreflect.Message { | @@ -587,7 +642,7 @@ func (x *RoleUpdateChangeRsp) ProtoReflect() protoreflect.Message { | ||
| 587 | 642 | ||
| 588 | // Deprecated: Use RoleUpdateChangeRsp.ProtoReflect.Descriptor instead. | 643 | // Deprecated: Use RoleUpdateChangeRsp.ProtoReflect.Descriptor instead. |
| 589 | func (*RoleUpdateChangeRsp) Descriptor() ([]byte, []int) { | 644 | func (*RoleUpdateChangeRsp) Descriptor() ([]byte, []int) { |
| 590 | - return file_game_proto_rawDescGZIP(), []int{10} | 645 | + return file_game_proto_rawDescGZIP(), []int{11} |
| 591 | } | 646 | } |
| 592 | 647 | ||
| 593 | //ResponseCmd RoleClearItemsReq | 648 | //ResponseCmd RoleClearItemsReq |
| @@ -602,7 +657,7 @@ type RoleClearItemsReq struct { | @@ -602,7 +657,7 @@ type RoleClearItemsReq struct { | ||
| 602 | func (x *RoleClearItemsReq) Reset() { | 657 | func (x *RoleClearItemsReq) Reset() { |
| 603 | *x = RoleClearItemsReq{} | 658 | *x = RoleClearItemsReq{} |
| 604 | if protoimpl.UnsafeEnabled { | 659 | if protoimpl.UnsafeEnabled { |
| 605 | - mi := &file_game_proto_msgTypes[11] | 660 | + mi := &file_game_proto_msgTypes[12] |
| 606 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 661 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 607 | ms.StoreMessageInfo(mi) | 662 | ms.StoreMessageInfo(mi) |
| 608 | } | 663 | } |
| @@ -615,7 +670,7 @@ func (x *RoleClearItemsReq) String() string { | @@ -615,7 +670,7 @@ func (x *RoleClearItemsReq) String() string { | ||
| 615 | func (*RoleClearItemsReq) ProtoMessage() {} | 670 | func (*RoleClearItemsReq) ProtoMessage() {} |
| 616 | 671 | ||
| 617 | func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message { | 672 | func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message { |
| 618 | - mi := &file_game_proto_msgTypes[11] | 673 | + mi := &file_game_proto_msgTypes[12] |
| 619 | if protoimpl.UnsafeEnabled && x != nil { | 674 | if protoimpl.UnsafeEnabled && x != nil { |
| 620 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 675 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 621 | if ms.LoadMessageInfo() == nil { | 676 | if ms.LoadMessageInfo() == nil { |
| @@ -628,7 +683,7 @@ func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message { | @@ -628,7 +683,7 @@ func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message { | ||
| 628 | 683 | ||
| 629 | // Deprecated: Use RoleClearItemsReq.ProtoReflect.Descriptor instead. | 684 | // Deprecated: Use RoleClearItemsReq.ProtoReflect.Descriptor instead. |
| 630 | func (*RoleClearItemsReq) Descriptor() ([]byte, []int) { | 685 | func (*RoleClearItemsReq) Descriptor() ([]byte, []int) { |
| 631 | - return file_game_proto_rawDescGZIP(), []int{11} | 686 | + return file_game_proto_rawDescGZIP(), []int{12} |
| 632 | } | 687 | } |
| 633 | 688 | ||
| 634 | func (x *RoleClearItemsReq) GetItems() []string { | 689 | func (x *RoleClearItemsReq) GetItems() []string { |
| @@ -650,7 +705,7 @@ type RoleStartBattleReq struct { | @@ -650,7 +705,7 @@ type RoleStartBattleReq struct { | ||
| 650 | func (x *RoleStartBattleReq) Reset() { | 705 | func (x *RoleStartBattleReq) Reset() { |
| 651 | *x = RoleStartBattleReq{} | 706 | *x = RoleStartBattleReq{} |
| 652 | if protoimpl.UnsafeEnabled { | 707 | if protoimpl.UnsafeEnabled { |
| 653 | - mi := &file_game_proto_msgTypes[12] | 708 | + mi := &file_game_proto_msgTypes[13] |
| 654 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 709 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 655 | ms.StoreMessageInfo(mi) | 710 | ms.StoreMessageInfo(mi) |
| 656 | } | 711 | } |
| @@ -663,7 +718,7 @@ func (x *RoleStartBattleReq) String() string { | @@ -663,7 +718,7 @@ func (x *RoleStartBattleReq) String() string { | ||
| 663 | func (*RoleStartBattleReq) ProtoMessage() {} | 718 | func (*RoleStartBattleReq) ProtoMessage() {} |
| 664 | 719 | ||
| 665 | func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message { | 720 | func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message { |
| 666 | - mi := &file_game_proto_msgTypes[12] | 721 | + mi := &file_game_proto_msgTypes[13] |
| 667 | if protoimpl.UnsafeEnabled && x != nil { | 722 | if protoimpl.UnsafeEnabled && x != nil { |
| 668 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 723 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 669 | if ms.LoadMessageInfo() == nil { | 724 | if ms.LoadMessageInfo() == nil { |
| @@ -676,7 +731,7 @@ func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message { | @@ -676,7 +731,7 @@ func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message { | ||
| 676 | 731 | ||
| 677 | // Deprecated: Use RoleStartBattleReq.ProtoReflect.Descriptor instead. | 732 | // Deprecated: Use RoleStartBattleReq.ProtoReflect.Descriptor instead. |
| 678 | func (*RoleStartBattleReq) Descriptor() ([]byte, []int) { | 733 | func (*RoleStartBattleReq) Descriptor() ([]byte, []int) { |
| 679 | - return file_game_proto_rawDescGZIP(), []int{12} | 734 | + return file_game_proto_rawDescGZIP(), []int{13} |
| 680 | } | 735 | } |
| 681 | 736 | ||
| 682 | func (x *RoleStartBattleReq) GetChapterId() int32 { | 737 | func (x *RoleStartBattleReq) GetChapterId() int32 { |
| @@ -708,7 +763,7 @@ type RoleEndBattleReq struct { | @@ -708,7 +763,7 @@ type RoleEndBattleReq struct { | ||
| 708 | func (x *RoleEndBattleReq) Reset() { | 763 | func (x *RoleEndBattleReq) Reset() { |
| 709 | *x = RoleEndBattleReq{} | 764 | *x = RoleEndBattleReq{} |
| 710 | if protoimpl.UnsafeEnabled { | 765 | if protoimpl.UnsafeEnabled { |
| 711 | - mi := &file_game_proto_msgTypes[13] | 766 | + mi := &file_game_proto_msgTypes[14] |
| 712 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 767 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 713 | ms.StoreMessageInfo(mi) | 768 | ms.StoreMessageInfo(mi) |
| 714 | } | 769 | } |
| @@ -721,7 +776,7 @@ func (x *RoleEndBattleReq) String() string { | @@ -721,7 +776,7 @@ func (x *RoleEndBattleReq) String() string { | ||
| 721 | func (*RoleEndBattleReq) ProtoMessage() {} | 776 | func (*RoleEndBattleReq) ProtoMessage() {} |
| 722 | 777 | ||
| 723 | func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message { | 778 | func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message { |
| 724 | - mi := &file_game_proto_msgTypes[13] | 779 | + mi := &file_game_proto_msgTypes[14] |
| 725 | if protoimpl.UnsafeEnabled && x != nil { | 780 | if protoimpl.UnsafeEnabled && x != nil { |
| 726 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 781 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 727 | if ms.LoadMessageInfo() == nil { | 782 | if ms.LoadMessageInfo() == nil { |
| @@ -734,7 +789,7 @@ func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message { | @@ -734,7 +789,7 @@ func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message { | ||
| 734 | 789 | ||
| 735 | // Deprecated: Use RoleEndBattleReq.ProtoReflect.Descriptor instead. | 790 | // Deprecated: Use RoleEndBattleReq.ProtoReflect.Descriptor instead. |
| 736 | func (*RoleEndBattleReq) Descriptor() ([]byte, []int) { | 791 | func (*RoleEndBattleReq) Descriptor() ([]byte, []int) { |
| 737 | - return file_game_proto_rawDescGZIP(), []int{13} | 792 | + return file_game_proto_rawDescGZIP(), []int{14} |
| 738 | } | 793 | } |
| 739 | 794 | ||
| 740 | func (x *RoleEndBattleReq) GetChapterId() int32 { | 795 | func (x *RoleEndBattleReq) GetChapterId() int32 { |
| @@ -782,7 +837,7 @@ type RoleEndBattleRsp struct { | @@ -782,7 +837,7 @@ type RoleEndBattleRsp struct { | ||
| 782 | func (x *RoleEndBattleRsp) Reset() { | 837 | func (x *RoleEndBattleRsp) Reset() { |
| 783 | *x = RoleEndBattleRsp{} | 838 | *x = RoleEndBattleRsp{} |
| 784 | if protoimpl.UnsafeEnabled { | 839 | if protoimpl.UnsafeEnabled { |
| 785 | - mi := &file_game_proto_msgTypes[14] | 840 | + mi := &file_game_proto_msgTypes[15] |
| 786 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 841 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 787 | ms.StoreMessageInfo(mi) | 842 | ms.StoreMessageInfo(mi) |
| 788 | } | 843 | } |
| @@ -795,7 +850,7 @@ func (x *RoleEndBattleRsp) String() string { | @@ -795,7 +850,7 @@ func (x *RoleEndBattleRsp) String() string { | ||
| 795 | func (*RoleEndBattleRsp) ProtoMessage() {} | 850 | func (*RoleEndBattleRsp) ProtoMessage() {} |
| 796 | 851 | ||
| 797 | func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message { | 852 | func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message { |
| 798 | - mi := &file_game_proto_msgTypes[14] | 853 | + mi := &file_game_proto_msgTypes[15] |
| 799 | if protoimpl.UnsafeEnabled && x != nil { | 854 | if protoimpl.UnsafeEnabled && x != nil { |
| 800 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 855 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 801 | if ms.LoadMessageInfo() == nil { | 856 | if ms.LoadMessageInfo() == nil { |
| @@ -808,7 +863,7 @@ func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message { | @@ -808,7 +863,7 @@ func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message { | ||
| 808 | 863 | ||
| 809 | // Deprecated: Use RoleEndBattleRsp.ProtoReflect.Descriptor instead. | 864 | // Deprecated: Use RoleEndBattleRsp.ProtoReflect.Descriptor instead. |
| 810 | func (*RoleEndBattleRsp) Descriptor() ([]byte, []int) { | 865 | func (*RoleEndBattleRsp) Descriptor() ([]byte, []int) { |
| 811 | - return file_game_proto_rawDescGZIP(), []int{14} | 866 | + return file_game_proto_rawDescGZIP(), []int{15} |
| 812 | } | 867 | } |
| 813 | 868 | ||
| 814 | func (x *RoleEndBattleRsp) GetRoleLevel() int32 { | 869 | func (x *RoleEndBattleRsp) GetRoleLevel() int32 { |
| @@ -865,7 +920,7 @@ type EquipmentDelReq struct { | @@ -865,7 +920,7 @@ type EquipmentDelReq struct { | ||
| 865 | func (x *EquipmentDelReq) Reset() { | 920 | func (x *EquipmentDelReq) Reset() { |
| 866 | *x = EquipmentDelReq{} | 921 | *x = EquipmentDelReq{} |
| 867 | if protoimpl.UnsafeEnabled { | 922 | if protoimpl.UnsafeEnabled { |
| 868 | - mi := &file_game_proto_msgTypes[15] | 923 | + mi := &file_game_proto_msgTypes[16] |
| 869 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 924 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 870 | ms.StoreMessageInfo(mi) | 925 | ms.StoreMessageInfo(mi) |
| 871 | } | 926 | } |
| @@ -878,7 +933,7 @@ func (x *EquipmentDelReq) String() string { | @@ -878,7 +933,7 @@ func (x *EquipmentDelReq) String() string { | ||
| 878 | func (*EquipmentDelReq) ProtoMessage() {} | 933 | func (*EquipmentDelReq) ProtoMessage() {} |
| 879 | 934 | ||
| 880 | func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message { | 935 | func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message { |
| 881 | - mi := &file_game_proto_msgTypes[15] | 936 | + mi := &file_game_proto_msgTypes[16] |
| 882 | if protoimpl.UnsafeEnabled && x != nil { | 937 | if protoimpl.UnsafeEnabled && x != nil { |
| 883 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 938 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 884 | if ms.LoadMessageInfo() == nil { | 939 | if ms.LoadMessageInfo() == nil { |
| @@ -891,7 +946,7 @@ func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message { | @@ -891,7 +946,7 @@ func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message { | ||
| 891 | 946 | ||
| 892 | // Deprecated: Use EquipmentDelReq.ProtoReflect.Descriptor instead. | 947 | // Deprecated: Use EquipmentDelReq.ProtoReflect.Descriptor instead. |
| 893 | func (*EquipmentDelReq) Descriptor() ([]byte, []int) { | 948 | func (*EquipmentDelReq) Descriptor() ([]byte, []int) { |
| 894 | - return file_game_proto_rawDescGZIP(), []int{15} | 949 | + return file_game_proto_rawDescGZIP(), []int{16} |
| 895 | } | 950 | } |
| 896 | 951 | ||
| 897 | func (x *EquipmentDelReq) GetId() []string { | 952 | func (x *EquipmentDelReq) GetId() []string { |
| @@ -913,7 +968,7 @@ type EquipmentAddRsp struct { | @@ -913,7 +968,7 @@ type EquipmentAddRsp struct { | ||
| 913 | func (x *EquipmentAddRsp) Reset() { | 968 | func (x *EquipmentAddRsp) Reset() { |
| 914 | *x = EquipmentAddRsp{} | 969 | *x = EquipmentAddRsp{} |
| 915 | if protoimpl.UnsafeEnabled { | 970 | if protoimpl.UnsafeEnabled { |
| 916 | - mi := &file_game_proto_msgTypes[16] | 971 | + mi := &file_game_proto_msgTypes[17] |
| 917 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 972 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 918 | ms.StoreMessageInfo(mi) | 973 | ms.StoreMessageInfo(mi) |
| 919 | } | 974 | } |
| @@ -926,7 +981,7 @@ func (x *EquipmentAddRsp) String() string { | @@ -926,7 +981,7 @@ func (x *EquipmentAddRsp) String() string { | ||
| 926 | func (*EquipmentAddRsp) ProtoMessage() {} | 981 | func (*EquipmentAddRsp) ProtoMessage() {} |
| 927 | 982 | ||
| 928 | func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message { | 983 | func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message { |
| 929 | - mi := &file_game_proto_msgTypes[16] | 984 | + mi := &file_game_proto_msgTypes[17] |
| 930 | if protoimpl.UnsafeEnabled && x != nil { | 985 | if protoimpl.UnsafeEnabled && x != nil { |
| 931 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 986 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 932 | if ms.LoadMessageInfo() == nil { | 987 | if ms.LoadMessageInfo() == nil { |
| @@ -939,7 +994,7 @@ func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message { | @@ -939,7 +994,7 @@ func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message { | ||
| 939 | 994 | ||
| 940 | // Deprecated: Use EquipmentAddRsp.ProtoReflect.Descriptor instead. | 995 | // Deprecated: Use EquipmentAddRsp.ProtoReflect.Descriptor instead. |
| 941 | func (*EquipmentAddRsp) Descriptor() ([]byte, []int) { | 996 | func (*EquipmentAddRsp) Descriptor() ([]byte, []int) { |
| 942 | - return file_game_proto_rawDescGZIP(), []int{16} | 997 | + return file_game_proto_rawDescGZIP(), []int{17} |
| 943 | } | 998 | } |
| 944 | 999 | ||
| 945 | func (x *EquipmentAddRsp) GetEquip() *Equipment { | 1000 | func (x *EquipmentAddRsp) GetEquip() *Equipment { |
| @@ -949,61 +1004,6 @@ func (x *EquipmentAddRsp) GetEquip() *Equipment { | @@ -949,61 +1004,6 @@ func (x *EquipmentAddRsp) GetEquip() *Equipment { | ||
| 949 | return nil | 1004 | return nil |
| 950 | } | 1005 | } |
| 951 | 1006 | ||
| 952 | -type HeroEquipReferReq_EquipInfo struct { | ||
| 953 | - state protoimpl.MessageState | ||
| 954 | - sizeCache protoimpl.SizeCache | ||
| 955 | - unknownFields protoimpl.UnknownFields | ||
| 956 | - | ||
| 957 | - EquipId string `protobuf:"bytes,1,opt,name=equipId,proto3" json:"equipId,omitempty"` | ||
| 958 | - Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` | ||
| 959 | -} | ||
| 960 | - | ||
| 961 | -func (x *HeroEquipReferReq_EquipInfo) Reset() { | ||
| 962 | - *x = HeroEquipReferReq_EquipInfo{} | ||
| 963 | - if protoimpl.UnsafeEnabled { | ||
| 964 | - mi := &file_game_proto_msgTypes[17] | ||
| 965 | - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
| 966 | - ms.StoreMessageInfo(mi) | ||
| 967 | - } | ||
| 968 | -} | ||
| 969 | - | ||
| 970 | -func (x *HeroEquipReferReq_EquipInfo) String() string { | ||
| 971 | - return protoimpl.X.MessageStringOf(x) | ||
| 972 | -} | ||
| 973 | - | ||
| 974 | -func (*HeroEquipReferReq_EquipInfo) ProtoMessage() {} | ||
| 975 | - | ||
| 976 | -func (x *HeroEquipReferReq_EquipInfo) ProtoReflect() protoreflect.Message { | ||
| 977 | - mi := &file_game_proto_msgTypes[17] | ||
| 978 | - if protoimpl.UnsafeEnabled && x != nil { | ||
| 979 | - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
| 980 | - if ms.LoadMessageInfo() == nil { | ||
| 981 | - ms.StoreMessageInfo(mi) | ||
| 982 | - } | ||
| 983 | - return ms | ||
| 984 | - } | ||
| 985 | - return mi.MessageOf(x) | ||
| 986 | -} | ||
| 987 | - | ||
| 988 | -// Deprecated: Use HeroEquipReferReq_EquipInfo.ProtoReflect.Descriptor instead. | ||
| 989 | -func (*HeroEquipReferReq_EquipInfo) Descriptor() ([]byte, []int) { | ||
| 990 | - return file_game_proto_rawDescGZIP(), []int{6, 0} | ||
| 991 | -} | ||
| 992 | - | ||
| 993 | -func (x *HeroEquipReferReq_EquipInfo) GetEquipId() string { | ||
| 994 | - if x != nil { | ||
| 995 | - return x.EquipId | ||
| 996 | - } | ||
| 997 | - return "" | ||
| 998 | -} | ||
| 999 | - | ||
| 1000 | -func (x *HeroEquipReferReq_EquipInfo) GetPos() int32 { | ||
| 1001 | - if x != nil { | ||
| 1002 | - return x.Pos | ||
| 1003 | - } | ||
| 1004 | - return 0 | ||
| 1005 | -} | ||
| 1006 | - | ||
| 1007 | var File_game_proto protoreflect.FileDescriptor | 1007 | var File_game_proto protoreflect.FileDescriptor |
| 1008 | 1008 | ||
| 1009 | var file_game_proto_rawDesc = []byte{ | 1009 | var file_game_proto_rawDesc = []byte{ |
| @@ -1024,73 +1024,72 @@ var file_game_proto_rawDesc = []byte{ | @@ -1024,73 +1024,72 @@ var file_game_proto_rawDesc = []byte{ | ||
| 1024 | 0x65, 0x63, 0x74, 0x52, 0x73, 0x70, 0x22, 0x31, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, | 1024 | 0x65, 0x63, 0x74, 0x52, 0x73, 0x70, 0x22, 0x31, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, |
| 1025 | 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, | 1025 | 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, |
| 1026 | 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, | 1026 | 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, |
| 1027 | - 0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x48, 0x65, | ||
| 1028 | - 0x72, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, | ||
| 1029 | - 0x3d, 0x0a, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, | ||
| 1030 | - 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x71, 0x75, | ||
| 1031 | - 0x69, 0x70, 0x52, 0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, | ||
| 1032 | - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x12, 0x17, | ||
| 1033 | - 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, | ||
| 1034 | - 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, | ||
| 1035 | - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x1a, 0x37, 0x0a, | ||
| 1036 | - 0x09, 0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x71, | ||
| 1037 | - 0x75, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x71, 0x75, | ||
| 1038 | - 0x69, 0x70, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, | ||
| 1039 | - 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x65, 0x52, | ||
| 1040 | - 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, | ||
| 1041 | - 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, | ||
| 1042 | - 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x03, 0x20, 0x03, | ||
| 1043 | - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, | ||
| 1044 | - 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, | ||
| 1045 | - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, | ||
| 1046 | - 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, | ||
| 1047 | - 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, | ||
| 1048 | - 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, | ||
| 1049 | - 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x52, | ||
| 1050 | - 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, | ||
| 1051 | - 0x79, 0x52, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, | ||
| 1052 | - 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, | ||
| 1053 | - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, | ||
| 1054 | - 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, | ||
| 1055 | - 0x64, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, | ||
| 1056 | - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, | ||
| 1057 | - 0x6d, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, | ||
| 1058 | - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x6f, 0x6c, | ||
| 1059 | - 0x65, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, | ||
| 1060 | - 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x69, | ||
| 1061 | - 0x74, 0x65, 0x6d, 0x73, 0x22, 0x50, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, | ||
| 1062 | - 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, | ||
| 1063 | - 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, | ||
| 1064 | - 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, | ||
| 1065 | - 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, | ||
| 1066 | - 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, | ||
| 1067 | - 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, | ||
| 1068 | - 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, | ||
| 1069 | - 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, | ||
| 1070 | - 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, | ||
| 1071 | - 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x03, | ||
| 1072 | - 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, | ||
| 1073 | - 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x61, | ||
| 1074 | - 0x6d, 0x49, 0x64, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, | ||
| 1075 | - 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, | ||
| 1076 | - 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x6f, | ||
| 1077 | - 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, | ||
| 1078 | - 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x45, | ||
| 1079 | - 0x78, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6d, | ||
| 1080 | - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x65, | ||
| 1081 | - 0x45, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, | ||
| 1082 | - 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, | ||
| 1083 | - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, | ||
| 1084 | - 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x06, 0x20, | ||
| 1085 | - 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, | ||
| 1086 | - 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x21, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, | ||
| 1087 | - 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, | ||
| 1088 | - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x0f, 0x45, 0x71, | ||
| 1089 | - 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, | ||
| 1090 | - 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, | ||
| 1091 | - 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, | ||
| 1092 | - 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b, | ||
| 1093 | - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | 1027 | + 0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x37, 0x0a, 0x09, 0x45, 0x71, 0x75, |
| 1028 | + 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, | ||
| 1029 | + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, | ||
| 1030 | + 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, | ||
| 1031 | + 0x6f, 0x73, 0x22, 0x6f, 0x0a, 0x11, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, | ||
| 1032 | + 0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70, | ||
| 1033 | + 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, | ||
| 1034 | + 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x65, 0x71, 0x75, 0x69, | ||
| 1035 | + 0x70, 0x49, 0x64, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x18, | ||
| 1036 | + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a, | ||
| 1037 | + 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, | ||
| 1038 | + 0x66, 0x65, 0x72, 0x22, 0xa2, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, | ||
| 1039 | + 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, | ||
| 1040 | + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, | ||
| 1041 | + 0x65, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, | ||
| 1042 | + 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, | ||
| 1043 | + 0x65, 0x72, 0x6f, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, | ||
| 1044 | + 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, | ||
| 1045 | + 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, | ||
| 1046 | + 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65, | ||
| 1047 | + 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x71, | ||
| 1048 | + 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, | ||
| 1049 | + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x73, | ||
| 1050 | + 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69, | ||
| 1051 | + 0x64, 0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, | ||
| 1052 | + 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, | ||
| 1053 | + 0x6f, 0x6c, 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, | ||
| 1054 | + 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, | ||
| 1055 | + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, | ||
| 1056 | + 0x15, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, | ||
| 1057 | + 0x6e, 0x67, 0x65, 0x52, 0x73, 0x70, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x6c, | ||
| 1058 | + 0x65, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69, | ||
| 1059 | + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, | ||
| 1060 | + 0x73, 0x22, 0x50, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x61, | ||
| 1061 | + 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, | ||
| 1062 | + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, | ||
| 1063 | + 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, | ||
| 1064 | + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, | ||
| 1065 | + 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, | ||
| 1066 | + 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, | ||
| 1067 | + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, | ||
| 1068 | + 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, | ||
| 1069 | + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, | ||
| 1070 | + 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, | ||
| 1071 | + 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, | ||
| 1072 | + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, | ||
| 1073 | + 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, | ||
| 1074 | + 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6c, 0x65, | ||
| 1075 | + 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x4c, | ||
| 1076 | + 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, | ||
| 1077 | + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x12, | ||
| 1078 | + 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, | ||
| 1079 | + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, | ||
| 1080 | + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, | ||
| 1081 | + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x12, | ||
| 1082 | + 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, | ||
| 1083 | + 0x73, 0x73, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, | ||
| 1084 | + 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, | ||
| 1085 | + 0x68, 0x65, 0x72, 0x6f, 0x22, 0x21, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, | ||
| 1086 | + 0x74, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, | ||
| 1087 | + 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, | ||
| 1088 | + 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x05, 0x65, 0x71, | ||
| 1089 | + 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65, | ||
| 1090 | + 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x71, | ||
| 1091 | + 0x75, 0x69, 0x70, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b, 0x70, 0x62, 0x62, | ||
| 1092 | + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | ||
| 1094 | } | 1093 | } |
| 1095 | 1094 | ||
| 1096 | var ( | 1095 | var ( |
| @@ -1107,32 +1106,32 @@ func file_game_proto_rawDescGZIP() []byte { | @@ -1107,32 +1106,32 @@ func file_game_proto_rawDescGZIP() []byte { | ||
| 1107 | 1106 | ||
| 1108 | var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 18) | 1107 | var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 18) |
| 1109 | var file_game_proto_goTypes = []interface{}{ | 1108 | var file_game_proto_goTypes = []interface{}{ |
| 1110 | - (*HeartReq)(nil), // 0: game.HeartReq | ||
| 1111 | - (*HeartRsp)(nil), // 1: game.HeartRsp | ||
| 1112 | - (*LoginReq)(nil), // 2: game.LoginReq | ||
| 1113 | - (*CreateReq)(nil), // 3: game.CreateReq | ||
| 1114 | - (*DisConnectRsp)(nil), // 4: game.DisConnectRsp | ||
| 1115 | - (*ChangeTeamReq)(nil), // 5: game.ChangeTeamReq | ||
| 1116 | - (*HeroEquipReferReq)(nil), // 6: game.HeroEquipReferReq | ||
| 1117 | - (*RoleRsp)(nil), // 7: game.RoleRsp | ||
| 1118 | - (*RoleUpdatePropertyRsp)(nil), // 8: game.RoleUpdatePropertyRsp | ||
| 1119 | - (*RoleUpdateItemsRsp)(nil), // 9: game.RoleUpdateItemsRsp | ||
| 1120 | - (*RoleUpdateChangeRsp)(nil), // 10: game.RoleUpdateChangeRsp | ||
| 1121 | - (*RoleClearItemsReq)(nil), // 11: game.RoleClearItemsReq | ||
| 1122 | - (*RoleStartBattleReq)(nil), // 12: game.RoleStartBattleReq | ||
| 1123 | - (*RoleEndBattleReq)(nil), // 13: game.RoleEndBattleReq | ||
| 1124 | - (*RoleEndBattleRsp)(nil), // 14: game.RoleEndBattleRsp | ||
| 1125 | - (*EquipmentDelReq)(nil), // 15: game.EquipmentDelReq | ||
| 1126 | - (*EquipmentAddRsp)(nil), // 16: game.EquipmentAddRsp | ||
| 1127 | - (*HeroEquipReferReq_EquipInfo)(nil), // 17: game.HeroEquipReferReq.EquipInfo | ||
| 1128 | - (*Team)(nil), // 18: models.Team | ||
| 1129 | - (*Role)(nil), // 19: models.Role | ||
| 1130 | - (*Hero)(nil), // 20: models.Hero | ||
| 1131 | - (*Equipment)(nil), // 21: models.Equipment | 1109 | + (*HeartReq)(nil), // 0: game.HeartReq |
| 1110 | + (*HeartRsp)(nil), // 1: game.HeartRsp | ||
| 1111 | + (*LoginReq)(nil), // 2: game.LoginReq | ||
| 1112 | + (*CreateReq)(nil), // 3: game.CreateReq | ||
| 1113 | + (*DisConnectRsp)(nil), // 4: game.DisConnectRsp | ||
| 1114 | + (*ChangeTeamReq)(nil), // 5: game.ChangeTeamReq | ||
| 1115 | + (*EquipInfo)(nil), // 6: game.EquipInfo | ||
| 1116 | + (*HeroEquipReferReq)(nil), // 7: game.HeroEquipReferReq | ||
| 1117 | + (*RoleRsp)(nil), // 8: game.RoleRsp | ||
| 1118 | + (*RoleUpdatePropertyRsp)(nil), // 9: game.RoleUpdatePropertyRsp | ||
| 1119 | + (*RoleUpdateItemsRsp)(nil), // 10: game.RoleUpdateItemsRsp | ||
| 1120 | + (*RoleUpdateChangeRsp)(nil), // 11: game.RoleUpdateChangeRsp | ||
| 1121 | + (*RoleClearItemsReq)(nil), // 12: game.RoleClearItemsReq | ||
| 1122 | + (*RoleStartBattleReq)(nil), // 13: game.RoleStartBattleReq | ||
| 1123 | + (*RoleEndBattleReq)(nil), // 14: game.RoleEndBattleReq | ||
| 1124 | + (*RoleEndBattleRsp)(nil), // 15: game.RoleEndBattleRsp | ||
| 1125 | + (*EquipmentDelReq)(nil), // 16: game.EquipmentDelReq | ||
| 1126 | + (*EquipmentAddRsp)(nil), // 17: game.EquipmentAddRsp | ||
| 1127 | + (*Team)(nil), // 18: models.Team | ||
| 1128 | + (*Role)(nil), // 19: models.Role | ||
| 1129 | + (*Hero)(nil), // 20: models.Hero | ||
| 1130 | + (*Equipment)(nil), // 21: models.Equipment | ||
| 1132 | } | 1131 | } |
| 1133 | var file_game_proto_depIdxs = []int32{ | 1132 | var file_game_proto_depIdxs = []int32{ |
| 1134 | 18, // 0: game.ChangeTeamReq.team:type_name -> models.Team | 1133 | 18, // 0: game.ChangeTeamReq.team:type_name -> models.Team |
| 1135 | - 17, // 1: game.HeroEquipReferReq.equipIds:type_name -> game.HeroEquipReferReq.EquipInfo | 1134 | + 6, // 1: game.HeroEquipReferReq.equipIds:type_name -> game.EquipInfo |
| 1136 | 19, // 2: game.RoleRsp.role:type_name -> models.Role | 1135 | 19, // 2: game.RoleRsp.role:type_name -> models.Role |
| 1137 | 20, // 3: game.RoleRsp.hero:type_name -> models.Hero | 1136 | 20, // 3: game.RoleRsp.hero:type_name -> models.Hero |
| 1138 | 18, // 4: game.RoleRsp.team:type_name -> models.Team | 1137 | 18, // 4: game.RoleRsp.team:type_name -> models.Team |
| @@ -1227,7 +1226,7 @@ func file_game_proto_init() { | @@ -1227,7 +1226,7 @@ func file_game_proto_init() { | ||
| 1227 | } | 1226 | } |
| 1228 | } | 1227 | } |
| 1229 | file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { | 1228 | file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1230 | - switch v := v.(*HeroEquipReferReq); i { | 1229 | + switch v := v.(*EquipInfo); i { |
| 1231 | case 0: | 1230 | case 0: |
| 1232 | return &v.state | 1231 | return &v.state |
| 1233 | case 1: | 1232 | case 1: |
| @@ -1239,7 +1238,7 @@ func file_game_proto_init() { | @@ -1239,7 +1238,7 @@ func file_game_proto_init() { | ||
| 1239 | } | 1238 | } |
| 1240 | } | 1239 | } |
| 1241 | file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { | 1240 | file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1242 | - switch v := v.(*RoleRsp); i { | 1241 | + switch v := v.(*HeroEquipReferReq); i { |
| 1243 | case 0: | 1242 | case 0: |
| 1244 | return &v.state | 1243 | return &v.state |
| 1245 | case 1: | 1244 | case 1: |
| @@ -1251,7 +1250,7 @@ func file_game_proto_init() { | @@ -1251,7 +1250,7 @@ func file_game_proto_init() { | ||
| 1251 | } | 1250 | } |
| 1252 | } | 1251 | } |
| 1253 | file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { | 1252 | file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1254 | - switch v := v.(*RoleUpdatePropertyRsp); i { | 1253 | + switch v := v.(*RoleRsp); i { |
| 1255 | case 0: | 1254 | case 0: |
| 1256 | return &v.state | 1255 | return &v.state |
| 1257 | case 1: | 1256 | case 1: |
| @@ -1263,7 +1262,7 @@ func file_game_proto_init() { | @@ -1263,7 +1262,7 @@ func file_game_proto_init() { | ||
| 1263 | } | 1262 | } |
| 1264 | } | 1263 | } |
| 1265 | file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { | 1264 | file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1266 | - switch v := v.(*RoleUpdateItemsRsp); i { | 1265 | + switch v := v.(*RoleUpdatePropertyRsp); i { |
| 1267 | case 0: | 1266 | case 0: |
| 1268 | return &v.state | 1267 | return &v.state |
| 1269 | case 1: | 1268 | case 1: |
| @@ -1275,7 +1274,7 @@ func file_game_proto_init() { | @@ -1275,7 +1274,7 @@ func file_game_proto_init() { | ||
| 1275 | } | 1274 | } |
| 1276 | } | 1275 | } |
| 1277 | file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { | 1276 | file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1278 | - switch v := v.(*RoleUpdateChangeRsp); i { | 1277 | + switch v := v.(*RoleUpdateItemsRsp); i { |
| 1279 | case 0: | 1278 | case 0: |
| 1280 | return &v.state | 1279 | return &v.state |
| 1281 | case 1: | 1280 | case 1: |
| @@ -1287,7 +1286,7 @@ func file_game_proto_init() { | @@ -1287,7 +1286,7 @@ func file_game_proto_init() { | ||
| 1287 | } | 1286 | } |
| 1288 | } | 1287 | } |
| 1289 | file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { | 1288 | file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 1290 | - switch v := v.(*RoleClearItemsReq); i { | 1289 | + switch v := v.(*RoleUpdateChangeRsp); i { |
| 1291 | case 0: | 1290 | case 0: |
| 1292 | return &v.state | 1291 | return &v.state |
| 1293 | case 1: | 1292 | case 1: |
| @@ -1299,7 +1298,7 @@ func file_game_proto_init() { | @@ -1299,7 +1298,7 @@ func file_game_proto_init() { | ||
| 1299 | } | 1298 | } |
| 1300 | } | 1299 | } |
| 1301 | file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { | 1300 | file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 1302 | - switch v := v.(*RoleStartBattleReq); i { | 1301 | + switch v := v.(*RoleClearItemsReq); i { |
| 1303 | case 0: | 1302 | case 0: |
| 1304 | return &v.state | 1303 | return &v.state |
| 1305 | case 1: | 1304 | case 1: |
| @@ -1311,7 +1310,7 @@ func file_game_proto_init() { | @@ -1311,7 +1310,7 @@ func file_game_proto_init() { | ||
| 1311 | } | 1310 | } |
| 1312 | } | 1311 | } |
| 1313 | file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { | 1312 | file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 1314 | - switch v := v.(*RoleEndBattleReq); i { | 1313 | + switch v := v.(*RoleStartBattleReq); i { |
| 1315 | case 0: | 1314 | case 0: |
| 1316 | return &v.state | 1315 | return &v.state |
| 1317 | case 1: | 1316 | case 1: |
| @@ -1323,7 +1322,7 @@ func file_game_proto_init() { | @@ -1323,7 +1322,7 @@ func file_game_proto_init() { | ||
| 1323 | } | 1322 | } |
| 1324 | } | 1323 | } |
| 1325 | file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { | 1324 | file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 1326 | - switch v := v.(*RoleEndBattleRsp); i { | 1325 | + switch v := v.(*RoleEndBattleReq); i { |
| 1327 | case 0: | 1326 | case 0: |
| 1328 | return &v.state | 1327 | return &v.state |
| 1329 | case 1: | 1328 | case 1: |
| @@ -1335,7 +1334,7 @@ func file_game_proto_init() { | @@ -1335,7 +1334,7 @@ func file_game_proto_init() { | ||
| 1335 | } | 1334 | } |
| 1336 | } | 1335 | } |
| 1337 | file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { | 1336 | file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 1338 | - switch v := v.(*EquipmentDelReq); i { | 1337 | + switch v := v.(*RoleEndBattleRsp); i { |
| 1339 | case 0: | 1338 | case 0: |
| 1340 | return &v.state | 1339 | return &v.state |
| 1341 | case 1: | 1340 | case 1: |
| @@ -1347,7 +1346,7 @@ func file_game_proto_init() { | @@ -1347,7 +1346,7 @@ func file_game_proto_init() { | ||
| 1347 | } | 1346 | } |
| 1348 | } | 1347 | } |
| 1349 | file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { | 1348 | file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| 1350 | - switch v := v.(*EquipmentAddRsp); i { | 1349 | + switch v := v.(*EquipmentDelReq); i { |
| 1351 | case 0: | 1350 | case 0: |
| 1352 | return &v.state | 1351 | return &v.state |
| 1353 | case 1: | 1352 | case 1: |
| @@ -1359,7 +1358,7 @@ func file_game_proto_init() { | @@ -1359,7 +1358,7 @@ func file_game_proto_init() { | ||
| 1359 | } | 1358 | } |
| 1360 | } | 1359 | } |
| 1361 | file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { | 1360 | file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| 1362 | - switch v := v.(*HeroEquipReferReq_EquipInfo); i { | 1361 | + switch v := v.(*EquipmentAddRsp); i { |
| 1363 | case 0: | 1362 | case 0: |
| 1364 | return &v.state | 1363 | return &v.state |
| 1365 | case 1: | 1364 | case 1: |