// 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 Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` //管卡id Pass bool `protobuf:"varint,3,opt,name=pass,proto3" json:"pass"` //是否通关 } 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) GetIssucc() bool { if x != nil { return x.Issucc } return false } func (x *CombatChallengeReceiveResp) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *CombatChallengeReceiveResp) GetPass() bool { if x != nil { return x.Pass } return false } //宝箱获取请求 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 Pass bool `protobuf:"varint,4,opt,name=pass,proto3" json:"pass"` //是否通关 } 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) GetPass() bool { if x != nil { return x.Pass } return false } 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, 0x5e, 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, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 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, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 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, 0x7b, 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, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 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, 11) 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 nil, // 10: CombatUpdateLevelReq.DataEntry (*DBCombatLevel)(nil), // 11: DBCombatLevel (*BattleFormation)(nil), // 12: BattleFormation (ErrorCode)(0), // 13: ErrorCode (*BattleInfo)(nil), // 14: BattleInfo (*BattleReport)(nil), // 15: BattleReport (*UserAssets)(nil), // 16: UserAssets } var file_combat_combat_msg_proto_depIdxs = []int32{ 11, // 0: CombatInResp.level:type_name -> DBCombatLevel 10, // 1: CombatUpdateLevelReq.data:type_name -> CombatUpdateLevelReq.DataEntry 12, // 2: CombatChallengeReq.battle:type_name -> BattleFormation 13, // 3: CombatChallengeResp.code:type_name -> ErrorCode 14, // 4: CombatChallengeResp.info:type_name -> BattleInfo 15, // 5: CombatChallengeReceiveReq.report:type_name -> BattleReport 13, // 6: CombatDropResp.code:type_name -> ErrorCode 16, // 7: CombatDropResp.atns:type_name -> UserAssets 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 } 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 } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_combat_combat_msg_proto_rawDesc, NumEnums: 0, NumMessages: 11, 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 }