// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: activity/activity_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 Arr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields P []*UserAssets `protobuf:"bytes,1,rep,name=p,proto3" json:"p"` // 奖励数据 Val int32 `protobuf:"varint,2,opt,name=val,proto3" json:"val"` } func (x *Arr) Reset() { *x = Arr{} if protoimpl.UnsafeEnabled { mi := &file_activity_activity_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Arr) String() string { return protoimpl.X.MessageStringOf(x) } func (*Arr) ProtoMessage() {} func (x *Arr) ProtoReflect() protoreflect.Message { mi := &file_activity_activity_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 Arr.ProtoReflect.Descriptor instead. func (*Arr) Descriptor() ([]byte, []int) { return file_activity_activity_db_proto_rawDescGZIP(), []int{0} } func (x *Arr) GetP() []*UserAssets { if x != nil { return x.P } return nil } func (x *Arr) GetVal() int32 { if x != nil { return x.Val } return 0 } type ActivityInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Arr []*Arr `protobuf:"bytes,1,rep,name=arr,proto3" json:"arr"` Btn string `protobuf:"bytes,2,opt,name=btn,proto3" json:"btn"` // 领取 Show string `protobuf:"bytes,3,opt,name=show,proto3" json:"show"` // 累计充值{1}天 } func (x *ActivityInfo) Reset() { *x = ActivityInfo{} if protoimpl.UnsafeEnabled { mi := &file_activity_activity_db_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ActivityInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ActivityInfo) ProtoMessage() {} func (x *ActivityInfo) ProtoReflect() protoreflect.Message { mi := &file_activity_activity_db_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 ActivityInfo.ProtoReflect.Descriptor instead. func (*ActivityInfo) Descriptor() ([]byte, []int) { return file_activity_activity_db_proto_rawDescGZIP(), []int{1} } func (x *ActivityInfo) GetArr() []*Arr { if x != nil { return x.Arr } return nil } func (x *ActivityInfo) GetBtn() string { if x != nil { return x.Btn } return "" } func (x *ActivityInfo) GetShow() string { if x != nil { return x.Show } return "" } type DBHuodong struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Hdid int32 `protobuf:"varint,1,opt,name=hdid,proto3" json:"hdid"` // 活动ID Showtime string `protobuf:"bytes,2,opt,name=showtime,proto3" json:"showtime"` // 客户端显示的时间 Stime int64 `protobuf:"varint,3,opt,name=stime,proto3" json:"stime"` // 开始时间 Etime int64 `protobuf:"varint,4,opt,name=etime,proto3" json:"etime"` // 结束时间 Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` // 刷新时间 Ttype int32 `protobuf:"varint,6,opt,name=ttype,proto3" json:"ttype"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name"` // 活动名称 Htype int32 `protobuf:"varint,8,opt,name=htype,proto3" json:"htype"` // 活动类型 自定义 Stype int32 `protobuf:"varint,9,opt,name=stype,proto3" json:"stype"` Itype int32 `protobuf:"varint,10,opt,name=itype,proto3" json:"itype"` Intr string `protobuf:"bytes,11,opt,name=intr,proto3" json:"intr"` // 活动说明 Img string `protobuf:"bytes,12,opt,name=img,proto3" json:"img"` // Icon string `protobuf:"bytes,13,opt,name=icon,proto3" json:"icon"` Showtype int32 `protobuf:"varint,14,opt,name=showtype,proto3" json:"showtype"` // 显示类型 Data *ActivityInfo `protobuf:"bytes,15,opt,name=data,proto3" json:"data"` // 活动详细数据 } func (x *DBHuodong) Reset() { *x = DBHuodong{} if protoimpl.UnsafeEnabled { mi := &file_activity_activity_db_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBHuodong) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBHuodong) ProtoMessage() {} func (x *DBHuodong) ProtoReflect() protoreflect.Message { mi := &file_activity_activity_db_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 DBHuodong.ProtoReflect.Descriptor instead. func (*DBHuodong) Descriptor() ([]byte, []int) { return file_activity_activity_db_proto_rawDescGZIP(), []int{2} } func (x *DBHuodong) GetHdid() int32 { if x != nil { return x.Hdid } return 0 } func (x *DBHuodong) GetShowtime() string { if x != nil { return x.Showtime } return "" } func (x *DBHuodong) GetStime() int64 { if x != nil { return x.Stime } return 0 } func (x *DBHuodong) GetEtime() int64 { if x != nil { return x.Etime } return 0 } func (x *DBHuodong) GetRtime() int64 { if x != nil { return x.Rtime } return 0 } func (x *DBHuodong) GetTtype() int32 { if x != nil { return x.Ttype } return 0 } func (x *DBHuodong) GetName() string { if x != nil { return x.Name } return "" } func (x *DBHuodong) GetHtype() int32 { if x != nil { return x.Htype } return 0 } func (x *DBHuodong) GetStype() int32 { if x != nil { return x.Stype } return 0 } func (x *DBHuodong) GetItype() int32 { if x != nil { return x.Itype } return 0 } func (x *DBHuodong) GetIntr() string { if x != nil { return x.Intr } return "" } func (x *DBHuodong) GetImg() string { if x != nil { return x.Img } return "" } func (x *DBHuodong) GetIcon() string { if x != nil { return x.Icon } return "" } func (x *DBHuodong) GetShowtype() int32 { if x != nil { return x.Showtype } return 0 } func (x *DBHuodong) GetData() *ActivityInfo { if x != nil { return x.Data } return nil } // 玩家活动数据记录 type DBActivityData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` Hid int32 `protobuf:"varint,2,opt,name=hid,proto3" json:"hid"` Gotarr []int32 `protobuf:"varint,3,rep,packed,name=gotarr,proto3" json:"gotarr"` Lasttime int64 `protobuf:"varint,4,opt,name=lasttime,proto3" json:"lasttime"` Val int32 `protobuf:"varint,5,opt,name=val,proto3" json:"val"` } func (x *DBActivityData) Reset() { *x = DBActivityData{} if protoimpl.UnsafeEnabled { mi := &file_activity_activity_db_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBActivityData) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBActivityData) ProtoMessage() {} func (x *DBActivityData) ProtoReflect() protoreflect.Message { mi := &file_activity_activity_db_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 DBActivityData.ProtoReflect.Descriptor instead. func (*DBActivityData) Descriptor() ([]byte, []int) { return file_activity_activity_db_proto_rawDescGZIP(), []int{3} } func (x *DBActivityData) GetUid() string { if x != nil { return x.Uid } return "" } func (x *DBActivityData) GetHid() int32 { if x != nil { return x.Hid } return 0 } func (x *DBActivityData) GetGotarr() []int32 { if x != nil { return x.Gotarr } return nil } func (x *DBActivityData) GetLasttime() int64 { if x != nil { return x.Lasttime } return 0 } func (x *DBActivityData) GetVal() int32 { if x != nil { return x.Val } return 0 } var File_activity_activity_db_proto protoreflect.FileDescriptor var file_activity_activity_db_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x03, 0x41, 0x72, 0x72, 0x12, 0x19, 0x0a, 0x01, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x01, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x22, 0x4c, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x03, 0x61, 0x72, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x41, 0x72, 0x72, 0x52, 0x03, 0x61, 0x72, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x74, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x74, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x22, 0xe2, 0x02, 0x0a, 0x09, 0x44, 0x42, 0x48, 0x75, 0x6f, 0x64, 0x6f, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x68, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x74, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x74, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x6d, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x69, 0x6d, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7a, 0x0a, 0x0e, 0x44, 0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x68, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x68, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_activity_activity_db_proto_rawDescOnce sync.Once file_activity_activity_db_proto_rawDescData = file_activity_activity_db_proto_rawDesc ) func file_activity_activity_db_proto_rawDescGZIP() []byte { file_activity_activity_db_proto_rawDescOnce.Do(func() { file_activity_activity_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_activity_activity_db_proto_rawDescData) }) return file_activity_activity_db_proto_rawDescData } var file_activity_activity_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_activity_activity_db_proto_goTypes = []interface{}{ (*Arr)(nil), // 0: Arr (*ActivityInfo)(nil), // 1: ActivityInfo (*DBHuodong)(nil), // 2: DBHuodong (*DBActivityData)(nil), // 3: DBActivityData (*UserAssets)(nil), // 4: UserAssets } var file_activity_activity_db_proto_depIdxs = []int32{ 4, // 0: Arr.p:type_name -> UserAssets 0, // 1: ActivityInfo.arr:type_name -> Arr 1, // 2: DBHuodong.data:type_name -> ActivityInfo 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_activity_activity_db_proto_init() } func file_activity_activity_db_proto_init() { if File_activity_activity_db_proto != nil { return } file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_activity_activity_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Arr); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_activity_activity_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ActivityInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_activity_activity_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBHuodong); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_activity_activity_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBActivityData); 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_activity_activity_db_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_activity_activity_db_proto_goTypes, DependencyIndexes: file_activity_activity_db_proto_depIdxs, MessageInfos: file_activity_activity_db_proto_msgTypes, }.Build() File_activity_activity_db_proto = out.File file_activity_activity_db_proto_rawDesc = nil file_activity_activity_db_proto_goTypes = nil file_activity_activity_db_proto_depIdxs = nil }