// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: exclusive/exclusive_db.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 DB_Exclusive struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id" bson:"_id"` // 专武id CId string `protobuf:"bytes,2,opt,name=cId,proto3" json:"cId" bson:"cId"` // 配置Id UId string `protobuf:"bytes,3,opt,name=uId,proto3" json:"uId" bson:"uid"` // 所属玩家Id Hero string `protobuf:"bytes,4,opt,name=hero,proto3" json:"hero" bson:"hero"` // 挂在的英雄卡片id 未装备 填 '' Lv int32 `protobuf:"varint,5,opt,name=lv,proto3" json:"lv" bson:"lv"` //等级 Star int32 `protobuf:"varint,6,opt,name=star,proto3" json:"star" bson:"star"` //星级 Step int32 `protobuf:"varint,7,opt,name=step,proto3" json:"step"` // 阶 Exp int32 `protobuf:"varint,8,opt,name=exp,proto3" json:"exp" bson:"exp"` // // 当前经验值 Property map[int32]int32 `protobuf:"bytes,9,rep,name=property,proto3" json:"property" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 属性相关 Commonskill int32 `protobuf:"varint,10,opt,name=commonskill,proto3" json:"commonskill"` //通用技能 Exclusiveskill int32 `protobuf:"varint,11,opt,name=exclusiveskill,proto3" json:"exclusiveskill"` // 专属技能 Islock bool `protobuf:"varint,12,opt,name=islock,proto3" json:"islock"` //锁定状态 Amount int32 `protobuf:"varint,13,opt,name=amount,proto3" json:"amount"` //数量 } func (x *DB_Exclusive) Reset() { *x = DB_Exclusive{} if protoimpl.UnsafeEnabled { mi := &file_exclusive_exclusive_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DB_Exclusive) String() string { return protoimpl.X.MessageStringOf(x) } func (*DB_Exclusive) ProtoMessage() {} func (x *DB_Exclusive) ProtoReflect() protoreflect.Message { mi := &file_exclusive_exclusive_db_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 DB_Exclusive.ProtoReflect.Descriptor instead. func (*DB_Exclusive) Descriptor() ([]byte, []int) { return file_exclusive_exclusive_db_proto_rawDescGZIP(), []int{0} } func (x *DB_Exclusive) GetId() string { if x != nil { return x.Id } return "" } func (x *DB_Exclusive) GetCId() string { if x != nil { return x.CId } return "" } func (x *DB_Exclusive) GetUId() string { if x != nil { return x.UId } return "" } func (x *DB_Exclusive) GetHero() string { if x != nil { return x.Hero } return "" } func (x *DB_Exclusive) GetLv() int32 { if x != nil { return x.Lv } return 0 } func (x *DB_Exclusive) GetStar() int32 { if x != nil { return x.Star } return 0 } func (x *DB_Exclusive) GetStep() int32 { if x != nil { return x.Step } return 0 } func (x *DB_Exclusive) GetExp() int32 { if x != nil { return x.Exp } return 0 } func (x *DB_Exclusive) GetProperty() map[int32]int32 { if x != nil { return x.Property } return nil } func (x *DB_Exclusive) GetCommonskill() int32 { if x != nil { return x.Commonskill } return 0 } func (x *DB_Exclusive) GetExclusiveskill() int32 { if x != nil { return x.Exclusiveskill } return 0 } func (x *DB_Exclusive) GetIslock() bool { if x != nil { return x.Islock } return false } func (x *DB_Exclusive) GetAmount() int32 { if x != nil { return x.Amount } return 0 } var File_exclusive_exclusive_db_proto protoreflect.FileDescriptor var file_exclusive_exclusive_db_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x2f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x03, 0x0a, 0x0c, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x65, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x37, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_exclusive_exclusive_db_proto_rawDescOnce sync.Once file_exclusive_exclusive_db_proto_rawDescData = file_exclusive_exclusive_db_proto_rawDesc ) func file_exclusive_exclusive_db_proto_rawDescGZIP() []byte { file_exclusive_exclusive_db_proto_rawDescOnce.Do(func() { file_exclusive_exclusive_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_exclusive_exclusive_db_proto_rawDescData) }) return file_exclusive_exclusive_db_proto_rawDescData } var file_exclusive_exclusive_db_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_exclusive_exclusive_db_proto_goTypes = []interface{}{ (*DB_Exclusive)(nil), // 0: DB_Exclusive nil, // 1: DB_Exclusive.PropertyEntry } var file_exclusive_exclusive_db_proto_depIdxs = []int32{ 1, // 0: DB_Exclusive.property:type_name -> DB_Exclusive.PropertyEntry 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_exclusive_exclusive_db_proto_init() } func file_exclusive_exclusive_db_proto_init() { if File_exclusive_exclusive_db_proto != nil { return } if !protoimpl.UnsafeEnabled { file_exclusive_exclusive_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DB_Exclusive); 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_exclusive_exclusive_db_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_exclusive_exclusive_db_proto_goTypes, DependencyIndexes: file_exclusive_exclusive_db_proto_depIdxs, MessageInfos: file_exclusive_exclusive_db_proto_msgTypes, }.Build() File_exclusive_exclusive_db_proto = out.File file_exclusive_exclusive_db_proto_rawDesc = nil file_exclusive_exclusive_db_proto_goTypes = nil file_exclusive_exclusive_db_proto_depIdxs = nil }