// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: combat/combat_msg.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) //关卡进入请求 type CombatInReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //关卡id } func (x *CombatInReq) Reset() { *x = CombatInReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatInReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatInReq) ProtoMessage() {} func (x *CombatInReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[0] 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 CombatInReq.ProtoReflect.Descriptor instead. func (*CombatInReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{0} } func (x *CombatInReq) GetId() int32 { if x != nil { return x.Id } return 0 } //关卡进入请求 type CombatInResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level *DBCombatLevel `protobuf:"bytes,2,opt,name=level,proto3" json:"level"` //管卡信息 } func (x *CombatInResp) Reset() { *x = CombatInResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatInResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatInResp) ProtoMessage() {} func (x *CombatInResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[1] 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 CombatInResp.ProtoReflect.Descriptor instead. func (*CombatInResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{1} } func (x *CombatInResp) GetLevel() *DBCombatLevel { if x != nil { return x.Level } return nil } type CombatUpdateLevelReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //坐标 } func (x *CombatUpdateLevelReq) Reset() { *x = CombatUpdateLevelReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatUpdateLevelReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatUpdateLevelReq) ProtoMessage() {} func (x *CombatUpdateLevelReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[2] 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 CombatUpdateLevelReq.ProtoReflect.Descriptor instead. func (*CombatUpdateLevelReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{2} } func (x *CombatUpdateLevelReq) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatUpdateLevelReq) GetData() map[string]string { if x != nil { return x.Data } return nil } type CombatUpdateLevelResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Succ bool `protobuf:"varint,1,opt,name=succ,proto3" json:"succ"` //是否成功 Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` //管卡id } func (x *CombatUpdateLevelResp) Reset() { *x = CombatUpdateLevelResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatUpdateLevelResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatUpdateLevelResp) ProtoMessage() {} func (x *CombatUpdateLevelResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[3] 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 CombatUpdateLevelResp.ProtoReflect.Descriptor instead. func (*CombatUpdateLevelResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{3} } func (x *CombatUpdateLevelResp) GetSucc() bool { if x != nil { return x.Succ } return false } func (x *CombatUpdateLevelResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } //战斗请求 type CombatChallengeReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"` //怪物id Battle *BattleFormation `protobuf:"bytes,3,opt,name=battle,proto3" json:"battle"` //布阵信息 } func (x *CombatChallengeReq) Reset() { *x = CombatChallengeReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatChallengeReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatChallengeReq) ProtoMessage() {} func (x *CombatChallengeReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[4] 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 CombatChallengeReq.ProtoReflect.Descriptor instead. func (*CombatChallengeReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{4} } func (x *CombatChallengeReq) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatChallengeReq) GetManster() int32 { if x != nil { return x.Manster } return 0 } func (x *CombatChallengeReq) GetBattle() *BattleFormation { if x != nil { return x.Battle } return nil } //战斗请求 回应 type CombatChallengeResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功 Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` //管卡id Manster int32 `protobuf:"varint,3,opt,name=manster,proto3" json:"manster"` Info *BattleInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info"` } func (x *CombatChallengeResp) Reset() { *x = CombatChallengeResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatChallengeResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatChallengeResp) ProtoMessage() {} func (x *CombatChallengeResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[5] 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 CombatChallengeResp.ProtoReflect.Descriptor instead. func (*CombatChallengeResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{5} } func (x *CombatChallengeResp) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_Success } func (x *CombatChallengeResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatChallengeResp) GetManster() int32 { if x != nil { return x.Manster } return 0 } func (x *CombatChallengeResp) GetInfo() *BattleInfo { if x != nil { return x.Info } return nil } //战斗奖励领取 type CombatChallengeReceiveReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"` Report *BattleReport `protobuf:"bytes,3,opt,name=report,proto3" json:"report"` //战报 } func (x *CombatChallengeReceiveReq) Reset() { *x = CombatChallengeReceiveReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatChallengeReceiveReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatChallengeReceiveReq) ProtoMessage() {} func (x *CombatChallengeReceiveReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[6] 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 CombatChallengeReceiveReq.ProtoReflect.Descriptor instead. func (*CombatChallengeReceiveReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{6} } func (x *CombatChallengeReceiveReq) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatChallengeReceiveReq) GetManster() int32 { if x != nil { return x.Manster } return 0 } func (x *CombatChallengeReceiveReq) GetReport() *BattleReport { if x != nil { return x.Report } return nil } //战斗奖励领取 type CombatChallengeReceiveResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功 Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` //管卡id Manster int32 `protobuf:"varint,3,opt,name=manster,proto3" json:"manster"` Atns []*UserAssets `protobuf:"bytes,4,rep,name=atns,proto3" json:"atns"` //获取物品 Progress int32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress"` //进度 } func (x *CombatChallengeReceiveResp) Reset() { *x = CombatChallengeReceiveResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatChallengeReceiveResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatChallengeReceiveResp) ProtoMessage() {} func (x *CombatChallengeReceiveResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[7] 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 CombatChallengeReceiveResp.ProtoReflect.Descriptor instead. func (*CombatChallengeReceiveResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{7} } func (x *CombatChallengeReceiveResp) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_Success } func (x *CombatChallengeReceiveResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatChallengeReceiveResp) GetManster() int32 { if x != nil { return x.Manster } return 0 } func (x *CombatChallengeReceiveResp) GetAtns() []*UserAssets { if x != nil { return x.Atns } return nil } func (x *CombatChallengeReceiveResp) GetProgress() int32 { if x != nil { return x.Progress } return 0 } //宝箱获取请求 type CombatDropReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Drop int32 `protobuf:"varint,2,opt,name=drop,proto3" json:"drop"` //宝箱id } func (x *CombatDropReq) Reset() { *x = CombatDropReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatDropReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatDropReq) ProtoMessage() {} func (x *CombatDropReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[8] 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 CombatDropReq.ProtoReflect.Descriptor instead. func (*CombatDropReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{8} } func (x *CombatDropReq) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatDropReq) GetDrop() int32 { if x != nil { return x.Drop } return 0 } //宝箱获取请求 type CombatDropResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功 Atns []*UserAssets `protobuf:"bytes,2,rep,name=atns,proto3" json:"atns"` //获取物品 Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level"` //管卡id Progress int32 `protobuf:"varint,4,opt,name=progress,proto3" json:"progress"` //进度 } func (x *CombatDropResp) Reset() { *x = CombatDropResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatDropResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatDropResp) ProtoMessage() {} func (x *CombatDropResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[9] 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 CombatDropResp.ProtoReflect.Descriptor instead. func (*CombatDropResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{9} } func (x *CombatDropResp) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_Success } func (x *CombatDropResp) GetAtns() []*UserAssets { if x != nil { return x.Atns } return nil } func (x *CombatDropResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatDropResp) GetProgress() int32 { if x != nil { return x.Progress } return 0 } //询问通关信息 type CombatAskPassReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id } func (x *CombatAskPassReq) Reset() { *x = CombatAskPassReq{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatAskPassReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatAskPassReq) ProtoMessage() {} func (x *CombatAskPassReq) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[10] 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 CombatAskPassReq.ProtoReflect.Descriptor instead. func (*CombatAskPassReq) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{10} } func (x *CombatAskPassReq) GetLevel() int32 { if x != nil { return x.Level } return 0 } //询问通关信息 type CombatAskPassResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Passmaintask []int32 `protobuf:"varint,2,rep,packed,name=passmaintask,proto3" json:"passmaintask"` //主任务完成进度 Passpertask []int32 `protobuf:"varint,3,rep,packed,name=passpertask,proto3" json:"passpertask"` //副任务完成进度 Pass int32 `protobuf:"varint,4,opt,name=pass,proto3" json:"pass"` //通关状态 0未通关 1已通关 2完美通关 Mainaward []*UserAssets `protobuf:"bytes,5,rep,name=mainaward,proto3" json:"mainaward"` //主奖励 Peraward []*UserAssets `protobuf:"bytes,6,rep,name=peraward,proto3" json:"peraward"` //完美奖励 } func (x *CombatAskPassResp) Reset() { *x = CombatAskPassResp{} if protoimpl.UnsafeEnabled { mi := &file_combat_combat_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CombatAskPassResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CombatAskPassResp) ProtoMessage() {} func (x *CombatAskPassResp) ProtoReflect() protoreflect.Message { mi := &file_combat_combat_msg_proto_msgTypes[11] 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 CombatAskPassResp.ProtoReflect.Descriptor instead. func (*CombatAskPassResp) Descriptor() ([]byte, []int) { return file_combat_combat_msg_proto_rawDescGZIP(), []int{11} } func (x *CombatAskPassResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatAskPassResp) GetPassmaintask() []int32 { if x != nil { return x.Passmaintask } return nil } func (x *CombatAskPassResp) GetPasspertask() []int32 { if x != nil { return x.Passpertask } return nil } func (x *CombatAskPassResp) GetPass() int32 { if x != nil { return x.Pass } return 0 } func (x *CombatAskPassResp) GetMainaward() []*UserAssets { if x != nil { return x.Mainaward } return nil } func (x *CombatAskPassResp) GetPeraward() []*UserAssets { if x != nil { return x.Peraward } return nil } var File_combat_combat_msg_proto protoreflect.FileDescriptor var file_combat_combat_msg_proto_rawDesc = []byte{ 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 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, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x75, 0x63, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x6e, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x72, 0x0a, 0x19, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x39, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x22, 0x83, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x28, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x41, 0x73, 0x6b, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xd7, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x41, 0x73, 0x6b, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_combat_combat_msg_proto_rawDescOnce sync.Once file_combat_combat_msg_proto_rawDescData = file_combat_combat_msg_proto_rawDesc ) func file_combat_combat_msg_proto_rawDescGZIP() []byte { file_combat_combat_msg_proto_rawDescOnce.Do(func() { file_combat_combat_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_combat_combat_msg_proto_rawDescData) }) return file_combat_combat_msg_proto_rawDescData } var file_combat_combat_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_combat_combat_msg_proto_goTypes = []interface{}{ (*CombatInReq)(nil), // 0: CombatInReq (*CombatInResp)(nil), // 1: CombatInResp (*CombatUpdateLevelReq)(nil), // 2: CombatUpdateLevelReq (*CombatUpdateLevelResp)(nil), // 3: CombatUpdateLevelResp (*CombatChallengeReq)(nil), // 4: CombatChallengeReq (*CombatChallengeResp)(nil), // 5: CombatChallengeResp (*CombatChallengeReceiveReq)(nil), // 6: CombatChallengeReceiveReq (*CombatChallengeReceiveResp)(nil), // 7: CombatChallengeReceiveResp (*CombatDropReq)(nil), // 8: CombatDropReq (*CombatDropResp)(nil), // 9: CombatDropResp (*CombatAskPassReq)(nil), // 10: CombatAskPassReq (*CombatAskPassResp)(nil), // 11: CombatAskPassResp nil, // 12: CombatUpdateLevelReq.DataEntry (*DBCombatLevel)(nil), // 13: DBCombatLevel (*BattleFormation)(nil), // 14: BattleFormation (ErrorCode)(0), // 15: ErrorCode (*BattleInfo)(nil), // 16: BattleInfo (*BattleReport)(nil), // 17: BattleReport (*UserAssets)(nil), // 18: UserAssets } var file_combat_combat_msg_proto_depIdxs = []int32{ 13, // 0: CombatInResp.level:type_name -> DBCombatLevel 12, // 1: CombatUpdateLevelReq.data:type_name -> CombatUpdateLevelReq.DataEntry 14, // 2: CombatChallengeReq.battle:type_name -> BattleFormation 15, // 3: CombatChallengeResp.code:type_name -> ErrorCode 16, // 4: CombatChallengeResp.info:type_name -> BattleInfo 17, // 5: CombatChallengeReceiveReq.report:type_name -> BattleReport 15, // 6: CombatChallengeReceiveResp.code:type_name -> ErrorCode 18, // 7: CombatChallengeReceiveResp.atns:type_name -> UserAssets 15, // 8: CombatDropResp.code:type_name -> ErrorCode 18, // 9: CombatDropResp.atns:type_name -> UserAssets 18, // 10: CombatAskPassResp.mainaward:type_name -> UserAssets 18, // 11: CombatAskPassResp.peraward:type_name -> UserAssets 12, // [12:12] is the sub-list for method output_type 12, // [12:12] is the sub-list for method input_type 12, // [12:12] is the sub-list for extension type_name 12, // [12:12] is the sub-list for extension extendee 0, // [0:12] is the sub-list for field type_name } func init() { file_combat_combat_msg_proto_init() } func file_combat_combat_msg_proto_init() { if File_combat_combat_msg_proto != nil { return } file_errorcode_proto_init() file_comm_proto_init() file_combat_combat_db_proto_init() file_battle_battle_msg_proto_init() if !protoimpl.UnsafeEnabled { file_combat_combat_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatInReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatInResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatUpdateLevelReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatUpdateLevelResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatChallengeReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatChallengeResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatChallengeReceiveReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatChallengeReceiveResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatDropReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatDropResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatAskPassReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_combat_combat_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CombatAskPassResp); 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_combat_combat_msg_proto_rawDesc, NumEnums: 0, NumMessages: 13, NumExtensions: 0, NumServices: 0, }, GoTypes: file_combat_combat_msg_proto_goTypes, DependencyIndexes: file_combat_combat_msg_proto_depIdxs, MessageInfos: file_combat_combat_msg_proto_msgTypes, }.Build() File_combat_combat_msg_proto = out.File file_combat_combat_msg_proto_rawDesc = nil file_combat_combat_msg_proto_goTypes = nil file_combat_combat_msg_proto_depIdxs = nil }