From 686ca844aaa265c81323eee030be28f3d425d9f0 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 6 Mar 2023 14:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/imodule.go | 4 + modules/battle/module.go | 17 ++ pb/battle_struct.pb.go | 224 +++++++++++++++++---- pb/practice_db.pb.go | 226 +++++++++++++-------- pb/practice_msg.pb.go | 418 ++++++++++++++++++++++++++++++++++----- 5 files changed, 716 insertions(+), 173 deletions(-) diff --git a/comm/imodule.go b/comm/imodule.go index 008a5c5ea..75d4eaf49 100644 --- a/comm/imodule.go +++ b/comm/imodule.go @@ -259,6 +259,10 @@ type ( CreateRtPvpBattle(req *pb.BattleRTPVPReq) (code pb.ErrorCode, record *pb.DBBattleRecord) ///获取战斗详情 GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp) + ///创建战斗角色 + CreateRolesByFormat(fid int32) (captain int32, roles []*pb.BattleRole, code pb.ErrorCode) + ///创建战斗角色 + CreateRolesByHeros(heros []*pb.DBHero) (roles []*pb.BattleRole, code pb.ErrorCode) ///创建战斗服务 CreateBattleServer(req *pb.BattleInfo) (code pb.ErrorCode) ///战斗指令输入 diff --git a/modules/battle/module.go b/modules/battle/module.go index 098829015..6e645a29d 100644 --- a/modules/battle/module.go +++ b/modules/battle/module.go @@ -222,6 +222,23 @@ func (this *Battle) CreateRtPvpBattle(req *pb.BattleRTPVPReq) (code pb.ErrorCode return } +///创建角色列表 更具Format表格 +func (this *Battle) CreateRolesByFormat(fid int32) (captain int32, roles []*pb.BattleRole, code pb.ErrorCode) { + captain, roles, code = this.modelBattle.createMasterRoles(2, 0, fid) + return +} + +///创建角色列表 更具英雄列表 +func (this *Battle) CreateRolesByHeros(heros []*pb.DBHero) (roles []*pb.BattleRole, code pb.ErrorCode) { + roles = make([]*pb.BattleRole, len(heros)) + for i, v := range heros { + if roles[i], code = this.modelBattle.createBattleRole(v, 100+i, i); code != pb.ErrorCode_Success { + return + } + } + return +} + ///获取战斗详情 func (this *Battle) GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp) { this.Debug("GetBattleInfo", log.Field{Key: "req", Value: req}) diff --git a/pb/battle_struct.pb.go b/pb/battle_struct.pb.go index abcea88e0..5fc1cd239 100644 --- a/pb/battle_struct.pb.go +++ b/pb/battle_struct.pb.go @@ -20,6 +20,67 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type EffectTipsType int32 + +const ( + EffectTipsType_Eff_Success EffectTipsType = 0 + EffectTipsType_Not_Success EffectTipsType = 1 //没有成功 + EffectTipsType_Immunity EffectTipsType = 2 //免疫 + EffectTipsType_Resist EffectTipsType = 3 //抵抗 + EffectTipsType_Not_Gain EffectTipsType = 4 //无法获得增益 + EffectTipsType_Not_Control EffectTipsType = 5 //免疫控制 + EffectTipsType_Not_Action EffectTipsType = 6 //无法行动 +) + +// Enum value maps for EffectTipsType. +var ( + EffectTipsType_name = map[int32]string{ + 0: "Eff_Success", + 1: "Not_Success", + 2: "Immunity", + 3: "Resist", + 4: "Not_Gain", + 5: "Not_Control", + 6: "Not_Action", + } + EffectTipsType_value = map[string]int32{ + "Eff_Success": 0, + "Not_Success": 1, + "Immunity": 2, + "Resist": 3, + "Not_Gain": 4, + "Not_Control": 5, + "Not_Action": 6, + } +) + +func (x EffectTipsType) Enum() *EffectTipsType { + p := new(EffectTipsType) + *p = x + return p +} + +func (x EffectTipsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EffectTipsType) Descriptor() protoreflect.EnumDescriptor { + return file_battle_battle_struct_proto_enumTypes[0].Descriptor() +} + +func (EffectTipsType) Type() protoreflect.EnumType { + return &file_battle_battle_struct_proto_enumTypes[0] +} + +func (x EffectTipsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EffectTipsType.Descriptor instead. +func (EffectTipsType) EnumDescriptor() ([]byte, []int) { + return file_battle_battle_struct_proto_rawDescGZIP(), []int{0} +} + //修改行动值 type ComModifyOperate struct { state protoimpl.MessageState @@ -1428,6 +1489,62 @@ func (x *ComEmitCountdown) GetReserve() int32 { return 0 } +//特殊效果飘字 +type ComEffectTips struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type EffectTipsType `protobuf:"varint,1,opt,name=type,proto3,enum=EffectTipsType" json:"type"` + To int32 `protobuf:"varint,2,opt,name=to,proto3" json:"to"` +} + +func (x *ComEffectTips) Reset() { + *x = ComEffectTips{} + if protoimpl.UnsafeEnabled { + mi := &file_battle_battle_struct_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ComEffectTips) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ComEffectTips) ProtoMessage() {} + +func (x *ComEffectTips) ProtoReflect() protoreflect.Message { + mi := &file_battle_battle_struct_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ComEffectTips.ProtoReflect.Descriptor instead. +func (*ComEffectTips) Descriptor() ([]byte, []int) { + return file_battle_battle_struct_proto_rawDescGZIP(), []int{21} +} + +func (x *ComEffectTips) GetType() EffectTipsType { + if x != nil { + return x.Type + } + return EffectTipsType_Eff_Success +} + +func (x *ComEffectTips) GetTo() int32 { + if x != nil { + return x.To + } + return 0 +} + var File_battle_battle_struct_proto protoreflect.FileDescriptor var file_battle_battle_struct_proto_rawDesc = []byte{ @@ -1568,8 +1685,20 @@ var file_battle_battle_struct_proto_rawDesc = []byte{ 0x69, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x22, 0x44, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, + 0x70, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x0f, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x2a, 0x7b, 0x0a, 0x0e, 0x45, 0x66, 0x66, 0x65, 0x63, + 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x66, 0x66, + 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, + 0x74, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, + 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x65, 0x73, + 0x69, 0x73, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f, 0x47, 0x61, 0x69, + 0x6e, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x5f, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x10, 0x06, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1584,44 +1713,48 @@ func file_battle_battle_struct_proto_rawDescGZIP() []byte { return file_battle_battle_struct_proto_rawDescData } -var file_battle_battle_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_battle_battle_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_battle_battle_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 22) var file_battle_battle_struct_proto_goTypes = []interface{}{ - (*ComModifyOperate)(nil), // 0: ComModifyOperate - (*ComStartFight)(nil), // 1: ComStartFight - (*ComInitFight)(nil), // 2: ComInitFight - (*ComDeleteRole)(nil), // 3: ComDeleteRole - (*ComEndFight)(nil), // 4: ComEndFight - (*ComSkillInfo)(nil), // 5: ComSkillInfo - (*ComStartAction)(nil), // 6: ComStartAction - (*ComSkillCDAction)(nil), // 7: ComSkillCDAction - (*ComStopAction)(nil), // 8: ComStopAction - (*ComWaitInputSkill)(nil), // 9: ComWaitInputSkill - (*ComSkillAtk)(nil), // 10: ComSkillAtk - (*ComSkillAfterAtk)(nil), // 11: ComSkillAfterAtk - (*ComMondifyBuff)(nil), // 12: ComMondifyBuff - (*ComRebirth)(nil), // 13: ComRebirth - (*ComModifyHealth)(nil), // 14: ComModifyHealth - (*ComTeachTask)(nil), // 15: ComTeachTask - (*ComStory)(nil), // 16: ComStory - (*ComGuide)(nil), // 17: ComGuide - (*ComCreateRoles)(nil), // 18: ComCreateRoles - (*ComPlayEffect)(nil), // 19: ComPlayEffect - (*ComEmitCountdown)(nil), // 20: ComEmitCountdown - (*BattleRole)(nil), // 21: BattleRole - (*BattleCmd)(nil), // 22: BattleCmd + (EffectTipsType)(0), // 0: EffectTipsType + (*ComModifyOperate)(nil), // 1: ComModifyOperate + (*ComStartFight)(nil), // 2: ComStartFight + (*ComInitFight)(nil), // 3: ComInitFight + (*ComDeleteRole)(nil), // 4: ComDeleteRole + (*ComEndFight)(nil), // 5: ComEndFight + (*ComSkillInfo)(nil), // 6: ComSkillInfo + (*ComStartAction)(nil), // 7: ComStartAction + (*ComSkillCDAction)(nil), // 8: ComSkillCDAction + (*ComStopAction)(nil), // 9: ComStopAction + (*ComWaitInputSkill)(nil), // 10: ComWaitInputSkill + (*ComSkillAtk)(nil), // 11: ComSkillAtk + (*ComSkillAfterAtk)(nil), // 12: ComSkillAfterAtk + (*ComMondifyBuff)(nil), // 13: ComMondifyBuff + (*ComRebirth)(nil), // 14: ComRebirth + (*ComModifyHealth)(nil), // 15: ComModifyHealth + (*ComTeachTask)(nil), // 16: ComTeachTask + (*ComStory)(nil), // 17: ComStory + (*ComGuide)(nil), // 18: ComGuide + (*ComCreateRoles)(nil), // 19: ComCreateRoles + (*ComPlayEffect)(nil), // 20: ComPlayEffect + (*ComEmitCountdown)(nil), // 21: ComEmitCountdown + (*ComEffectTips)(nil), // 22: ComEffectTips + (*BattleRole)(nil), // 23: BattleRole + (*BattleCmd)(nil), // 24: BattleCmd } var file_battle_battle_struct_proto_depIdxs = []int32{ - 21, // 0: ComInitFight.roles:type_name -> BattleRole - 5, // 1: ComStartAction.skillInfo:type_name -> ComSkillInfo - 5, // 2: ComSkillCDAction.skillInfo:type_name -> ComSkillInfo - 11, // 3: ComSkillAtk.comList:type_name -> ComSkillAfterAtk - 22, // 4: ComSkillAfterAtk.comList:type_name -> BattleCmd - 21, // 5: ComCreateRoles.roles:type_name -> BattleRole - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name + 23, // 0: ComInitFight.roles:type_name -> BattleRole + 6, // 1: ComStartAction.skillInfo:type_name -> ComSkillInfo + 6, // 2: ComSkillCDAction.skillInfo:type_name -> ComSkillInfo + 12, // 3: ComSkillAtk.comList:type_name -> ComSkillAfterAtk + 24, // 4: ComSkillAfterAtk.comList:type_name -> BattleCmd + 23, // 5: ComCreateRoles.roles:type_name -> BattleRole + 0, // 6: ComEffectTips.type:type_name -> EffectTipsType + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name } func init() { file_battle_battle_struct_proto_init() } @@ -1884,19 +2017,32 @@ func file_battle_battle_struct_proto_init() { return nil } } + file_battle_battle_struct_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComEffectTips); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_battle_battle_struct_proto_rawDesc, - NumEnums: 0, - NumMessages: 21, + NumEnums: 1, + NumMessages: 22, NumExtensions: 0, NumServices: 0, }, GoTypes: file_battle_battle_struct_proto_goTypes, DependencyIndexes: file_battle_battle_struct_proto_depIdxs, + EnumInfos: file_battle_battle_struct_proto_enumTypes, MessageInfos: file_battle_battle_struct_proto_msgTypes, }.Build() File_battle_battle_struct_proto = out.File diff --git a/pb/practice_db.pb.go b/pb/practice_db.pb.go index 74c133c84..c068c21df 100644 --- a/pb/practice_db.pb.go +++ b/pb/practice_db.pb.go @@ -286,6 +286,11 @@ type DBPracticeRoom struct { Pillar3 *DBPracticePillar `protobuf:"bytes,10,opt,name=pillar3,proto3" json:"pillar3"` //柱子3 Pillarf *DBPracticePillar `protobuf:"bytes,11,opt,name=pillarf,proto3" json:"pillarf"` //好友柱子 Statuers []*DBPracticeStatuer `protobuf:"bytes,12,rep,name=statuers,proto3" json:"statuers"` //武馆雕像 + Currnpc int32 `protobuf:"varint,13,opt,name=currnpc,proto3" json:"currnpc"` //当前npc + Refresh int64 `protobuf:"varint,14,opt,name=refresh,proto3" json:"refresh"` //刷新时间 + Battlenum int32 `protobuf:"varint,15,opt,name=battlenum,proto3" json:"battlenum"` //战斗次数 + Captain int32 `protobuf:"varint,16,opt,name=captain,proto3" json:"captain"` //战斗征信队长位 + Formation []*BattleRole `protobuf:"bytes,17,rep,name=formation,proto3" json:"formation"` //战斗阵型 } func (x *DBPracticeRoom) Reset() { @@ -404,6 +409,41 @@ func (x *DBPracticeRoom) GetStatuers() []*DBPracticeStatuer { return nil } +func (x *DBPracticeRoom) GetCurrnpc() int32 { + if x != nil { + return x.Currnpc + } + return 0 +} + +func (x *DBPracticeRoom) GetRefresh() int64 { + if x != nil { + return x.Refresh + } + return 0 +} + +func (x *DBPracticeRoom) GetBattlenum() int32 { + if x != nil { + return x.Battlenum + } + return 0 +} + +func (x *DBPracticeRoom) GetCaptain() int32 { + if x != nil { + return x.Captain + } + return 0 +} + +func (x *DBPracticeRoom) GetFormation() []*BattleRole { + if x != nil { + return x.Formation + } + return nil +} + type DBPracticeQiecuoInvite struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -551,87 +591,98 @@ var File_practice_practice_db_proto protoreflect.FileDescriptor var file_practice_practice_db_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x70, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x61, 0x63, 0x74, - 0x69, 0x63, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, - 0x10, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, - 0x63, 0x68, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x63, - 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x4f, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61, - 0x63, 0x74, 0x69, 0x63, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x63, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x10, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, + 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, + 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72, + 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x22, + 0x4f, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x54, 0x65, 0x61, + 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, + 0x22, 0x55, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22, 0xed, 0x05, 0x0a, 0x0e, 0x44, 0x42, 0x50, 0x72, + 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, + 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x79, + 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, + 0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, + 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x04, + 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, + 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x12, 0x39, 0x0a, 0x08, 0x6b, + 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x4b, + 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6b, 0x6e, + 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, + 0x31, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, + 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, + 0x61, 0x72, 0x31, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, + 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, + 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, + 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12, 0x2b, 0x0a, + 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, + 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, + 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, + 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, + 0x72, 0x72, 0x6e, 0x70, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72, + 0x72, 0x6e, 0x70, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x1c, + 0x0a, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, + 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x12, 0x29, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x37, 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4b, 0x6e, + 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x48, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, + 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, + 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, - 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x22, 0x55, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, - 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22, - 0xd6, 0x04, 0x0a, 0x0e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, - 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, - 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, - 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, - 0x72, 0x65, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, - 0x6f, 0x6f, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, - 0x75, 0x6c, 0x6c, 0x12, 0x39, 0x0a, 0x08, 0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, - 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x4b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x12, 0x2b, - 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, - 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x12, 0x2b, 0x0a, 0x07, 0x70, - 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, - 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, - 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, - 0x61, 0x72, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, - 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, - 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, - 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, - 0x72, 0x66, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x18, 0x0c, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, - 0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4b, - 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x48, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, - 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, - 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, - 0x31, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, - 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, - 0x74, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, - 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x31, + 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, + 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x74, + 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x69, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -656,6 +707,7 @@ var file_practice_practice_db_proto_goTypes = []interface{}{ (*DBPracticeQiecuoRecord)(nil), // 5: DBPracticeQiecuoRecord nil, // 6: DBPracticeRoom.FullEntry nil, // 7: DBPracticeRoom.KnapsackEntry + (*BattleRole)(nil), // 8: BattleRole } var file_practice_practice_db_proto_depIdxs = []int32{ 6, // 0: DBPracticeRoom.full:type_name -> DBPracticeRoom.FullEntry @@ -665,12 +717,13 @@ var file_practice_practice_db_proto_depIdxs = []int32{ 0, // 4: DBPracticeRoom.pillar3:type_name -> DBPracticePillar 0, // 5: DBPracticeRoom.pillarf:type_name -> DBPracticePillar 2, // 6: DBPracticeRoom.statuers:type_name -> DBPracticeStatuer - 4, // 7: DBPracticeQiecuoRecord.targets:type_name -> DBPracticeQiecuoInvite - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 8, // 7: DBPracticeRoom.formation:type_name -> BattleRole + 4, // 8: DBPracticeQiecuoRecord.targets:type_name -> DBPracticeQiecuoInvite + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_practice_practice_db_proto_init() } @@ -678,6 +731,7 @@ func file_practice_practice_db_proto_init() { if File_practice_practice_db_proto != nil { return } + file_battle_battle_db_proto_init() if !protoimpl.UnsafeEnabled { file_practice_practice_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBPracticePillar); i { diff --git a/pb/practice_msg.pb.go b/pb/practice_msg.pb.go index fc5ee043a..48cd0d594 100644 --- a/pb/practice_msg.pb.go +++ b/pb/practice_msg.pb.go @@ -1638,6 +1638,240 @@ func (x *PracticeQiecuonotifyPush) GetNotifyType() int32 { return 0 } +//NPC战斗请求 +type PracticeNPCBattkleReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCBattkleReq) Reset() { + *x = PracticeNPCBattkleReq{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCBattkleReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCBattkleReq) ProtoMessage() {} + +func (x *PracticeNPCBattkleReq) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCBattkleReq.ProtoReflect.Descriptor instead. +func (*PracticeNPCBattkleReq) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{32} +} + +//NPC战斗请求 回应 +type PracticeNPCBattkleResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCBattkleResp) Reset() { + *x = PracticeNPCBattkleResp{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCBattkleResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCBattkleResp) ProtoMessage() {} + +func (x *PracticeNPCBattkleResp) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCBattkleResp.ProtoReflect.Descriptor instead. +func (*PracticeNPCBattkleResp) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{33} +} + +//NPC战斗结束请求 +type PracticeNPCBattkleFinishReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCBattkleFinishReq) Reset() { + *x = PracticeNPCBattkleFinishReq{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCBattkleFinishReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCBattkleFinishReq) ProtoMessage() {} + +func (x *PracticeNPCBattkleFinishReq) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCBattkleFinishReq.ProtoReflect.Descriptor instead. +func (*PracticeNPCBattkleFinishReq) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{34} +} + +//NPC战斗结束请求 回应 +type PracticeNPCBattkleFinishResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCBattkleFinishResp) Reset() { + *x = PracticeNPCBattkleFinishResp{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCBattkleFinishResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCBattkleFinishResp) ProtoMessage() {} + +func (x *PracticeNPCBattkleFinishResp) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCBattkleFinishResp.ProtoReflect.Descriptor instead. +func (*PracticeNPCBattkleFinishResp) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{35} +} + +//NPC对话 请求 +type PracticeNPCDialogReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCDialogReq) Reset() { + *x = PracticeNPCDialogReq{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCDialogReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCDialogReq) ProtoMessage() {} + +func (x *PracticeNPCDialogReq) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCDialogReq.ProtoReflect.Descriptor instead. +func (*PracticeNPCDialogReq) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{36} +} + +//NPC对话 请求 +type PracticeNPCDialogResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PracticeNPCDialogResp) Reset() { + *x = PracticeNPCDialogResp{} + if protoimpl.UnsafeEnabled { + mi := &file_practice_practice_msg_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PracticeNPCDialogResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PracticeNPCDialogResp) ProtoMessage() {} + +func (x *PracticeNPCDialogResp) ProtoReflect() protoreflect.Message { + mi := &file_practice_practice_msg_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PracticeNPCDialogResp.ProtoReflect.Descriptor instead. +func (*PracticeNPCDialogResp) Descriptor() ([]byte, []int) { + return file_practice_practice_msg_proto_rawDescGZIP(), []int{37} +} + var File_practice_practice_msg_proto protoreflect.FileDescriptor var file_practice_practice_msg_proto_rawDesc = []byte{ @@ -1773,8 +2007,18 @@ var file_practice_practice_msg_proto_rawDesc = []byte{ 0x66, 0x79, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x6f, - 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x72, 0x61, 0x63, + 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x22, 0x18, 0x0a, 0x16, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, + 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x1d, 0x0a, 0x1b, 0x50, + 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, + 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x22, 0x1e, 0x0a, 0x1c, 0x50, 0x72, + 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x72, + 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52, + 0x65, 0x71, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, + 0x43, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, + 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1789,54 +2033,60 @@ func file_practice_practice_msg_proto_rawDescGZIP() []byte { return file_practice_practice_msg_proto_rawDescData } -var file_practice_practice_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 34) +var file_practice_practice_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 40) var file_practice_practice_msg_proto_goTypes = []interface{}{ - (*PracticeInfoReq)(nil), // 0: PracticeInfoReq - (*PracticeInfoResp)(nil), // 1: PracticeInfoResp - (*PracticeFriendRommReq)(nil), // 2: PracticeFriendRommReq - (*PracticeFriendRommResp)(nil), // 3: PracticeFriendRommResp - (*PracticeUpgradeReq)(nil), // 4: PracticeUpgradeReq - (*PracticeUpgradeResp)(nil), // 5: PracticeUpgradeResp - (*PracticePracticeReq)(nil), // 6: PracticePracticeReq - (*PracticePracticeResp)(nil), // 7: PracticePracticeResp - (*PracticeLootReq)(nil), // 8: PracticeLootReq - (*PracticeLootResp)(nil), // 9: PracticeLootResp - (*PracticeExpulsionReq)(nil), // 10: PracticeExpulsionReq - (*PracticeExpulsionResp)(nil), // 11: PracticeExpulsionResp - (*PracticeReceiveReq)(nil), // 12: PracticeReceiveReq - (*PracticeReceiveResp)(nil), // 13: PracticeReceiveResp - (*PracticeEnrolledReq)(nil), // 14: PracticeEnrolledReq - (*PracticeEnrolledResp)(nil), // 15: PracticeEnrolledResp - (*PracticeJXItemPush)(nil), // 16: PracticeJXItemPush - (*PracticeGymInfoReq)(nil), // 17: PracticeGymInfoReq - (*PracticeGymInfoResp)(nil), // 18: PracticeGymInfoResp - (*PracticeGymRefreshReq)(nil), // 19: PracticeGymRefreshReq - (*PracticeGymRefreshResp)(nil), // 20: PracticeGymRefreshResp - (*PracticeGetGymBuffReq)(nil), // 21: PracticeGetGymBuffReq - (*PracticeGetGymBuffResp)(nil), // 22: PracticeGetGymBuffResp - (*PracticeGymConfirmReq)(nil), // 23: PracticeGymConfirmReq - (*PracticeGymConfirmResp)(nil), // 24: PracticeGymConfirmResp - (*PracticeQiecuoReq)(nil), // 25: PracticeQiecuoReq - (*PracticeQiecuoResp)(nil), // 26: PracticeQiecuoResp - (*PracticeAcceptReq)(nil), // 27: PracticeAcceptReq - (*PracticeAcceptResp)(nil), // 28: PracticeAcceptResp - (*PracticeRefuseReq)(nil), // 29: PracticeRefuseReq - (*PracticeRefuseResp)(nil), // 30: PracticeRefuseResp - (*PracticeQiecuonotifyPush)(nil), // 31: PracticeQiecuonotifyPush - nil, // 32: PracticeExpulsionResp.KnapsackEntry - nil, // 33: PracticeReceiveResp.KnapsackEntry - (*DBPracticeRoom)(nil), // 34: DBPracticeRoom - (*DBPracticePillar)(nil), // 35: DBPracticePillar + (*PracticeInfoReq)(nil), // 0: PracticeInfoReq + (*PracticeInfoResp)(nil), // 1: PracticeInfoResp + (*PracticeFriendRommReq)(nil), // 2: PracticeFriendRommReq + (*PracticeFriendRommResp)(nil), // 3: PracticeFriendRommResp + (*PracticeUpgradeReq)(nil), // 4: PracticeUpgradeReq + (*PracticeUpgradeResp)(nil), // 5: PracticeUpgradeResp + (*PracticePracticeReq)(nil), // 6: PracticePracticeReq + (*PracticePracticeResp)(nil), // 7: PracticePracticeResp + (*PracticeLootReq)(nil), // 8: PracticeLootReq + (*PracticeLootResp)(nil), // 9: PracticeLootResp + (*PracticeExpulsionReq)(nil), // 10: PracticeExpulsionReq + (*PracticeExpulsionResp)(nil), // 11: PracticeExpulsionResp + (*PracticeReceiveReq)(nil), // 12: PracticeReceiveReq + (*PracticeReceiveResp)(nil), // 13: PracticeReceiveResp + (*PracticeEnrolledReq)(nil), // 14: PracticeEnrolledReq + (*PracticeEnrolledResp)(nil), // 15: PracticeEnrolledResp + (*PracticeJXItemPush)(nil), // 16: PracticeJXItemPush + (*PracticeGymInfoReq)(nil), // 17: PracticeGymInfoReq + (*PracticeGymInfoResp)(nil), // 18: PracticeGymInfoResp + (*PracticeGymRefreshReq)(nil), // 19: PracticeGymRefreshReq + (*PracticeGymRefreshResp)(nil), // 20: PracticeGymRefreshResp + (*PracticeGetGymBuffReq)(nil), // 21: PracticeGetGymBuffReq + (*PracticeGetGymBuffResp)(nil), // 22: PracticeGetGymBuffResp + (*PracticeGymConfirmReq)(nil), // 23: PracticeGymConfirmReq + (*PracticeGymConfirmResp)(nil), // 24: PracticeGymConfirmResp + (*PracticeQiecuoReq)(nil), // 25: PracticeQiecuoReq + (*PracticeQiecuoResp)(nil), // 26: PracticeQiecuoResp + (*PracticeAcceptReq)(nil), // 27: PracticeAcceptReq + (*PracticeAcceptResp)(nil), // 28: PracticeAcceptResp + (*PracticeRefuseReq)(nil), // 29: PracticeRefuseReq + (*PracticeRefuseResp)(nil), // 30: PracticeRefuseResp + (*PracticeQiecuonotifyPush)(nil), // 31: PracticeQiecuonotifyPush + (*PracticeNPCBattkleReq)(nil), // 32: PracticeNPCBattkleReq + (*PracticeNPCBattkleResp)(nil), // 33: PracticeNPCBattkleResp + (*PracticeNPCBattkleFinishReq)(nil), // 34: PracticeNPCBattkleFinishReq + (*PracticeNPCBattkleFinishResp)(nil), // 35: PracticeNPCBattkleFinishResp + (*PracticeNPCDialogReq)(nil), // 36: PracticeNPCDialogReq + (*PracticeNPCDialogResp)(nil), // 37: PracticeNPCDialogResp + nil, // 38: PracticeExpulsionResp.KnapsackEntry + nil, // 39: PracticeReceiveResp.KnapsackEntry + (*DBPracticeRoom)(nil), // 40: DBPracticeRoom + (*DBPracticePillar)(nil), // 41: DBPracticePillar } var file_practice_practice_msg_proto_depIdxs = []int32{ - 34, // 0: PracticeInfoResp.info:type_name -> DBPracticeRoom - 34, // 1: PracticeFriendRommResp.info:type_name -> DBPracticeRoom - 35, // 2: PracticePracticeResp.pillar:type_name -> DBPracticePillar - 35, // 3: PracticeLootResp.pillar:type_name -> DBPracticePillar - 35, // 4: PracticeExpulsionResp.pillar:type_name -> DBPracticePillar - 32, // 5: PracticeExpulsionResp.knapsack:type_name -> PracticeExpulsionResp.KnapsackEntry - 35, // 6: PracticeReceiveResp.pillar:type_name -> DBPracticePillar - 33, // 7: PracticeReceiveResp.knapsack:type_name -> PracticeReceiveResp.KnapsackEntry + 40, // 0: PracticeInfoResp.info:type_name -> DBPracticeRoom + 40, // 1: PracticeFriendRommResp.info:type_name -> DBPracticeRoom + 41, // 2: PracticePracticeResp.pillar:type_name -> DBPracticePillar + 41, // 3: PracticeLootResp.pillar:type_name -> DBPracticePillar + 41, // 4: PracticeExpulsionResp.pillar:type_name -> DBPracticePillar + 38, // 5: PracticeExpulsionResp.knapsack:type_name -> PracticeExpulsionResp.KnapsackEntry + 41, // 6: PracticeReceiveResp.pillar:type_name -> DBPracticePillar + 39, // 7: PracticeReceiveResp.knapsack:type_name -> PracticeReceiveResp.KnapsackEntry 8, // [8:8] is the sub-list for method output_type 8, // [8:8] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name @@ -2235,6 +2485,78 @@ func file_practice_practice_msg_proto_init() { return nil } } + file_practice_practice_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCBattkleReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_practice_practice_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCBattkleResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_practice_practice_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCBattkleFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_practice_practice_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCBattkleFinishResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_practice_practice_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCDialogReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_practice_practice_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PracticeNPCDialogResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -2242,7 +2564,7 @@ func file_practice_practice_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_practice_practice_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 34, + NumMessages: 40, NumExtensions: 0, NumServices: 0, },