// message结构的属性名请使用 驼峰小写字母开始 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.8 // protoc v6.31.1 // source: sign_in.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 SignIn struct { state protoimpl.MessageState `protogen:"open.v1"` // 当前使用签到库 Q-签到表库ID PoolID int32 `protobuf:"varint,1,opt,name=poolID,proto3" json:"poolID,omitempty"` // 已签到天数 Q-签到表天数 SignInDays []int32 `protobuf:"varint,2,rep,packed,name=signInDays,proto3" json:"signInDays,omitempty"` // 累计签到天数 TotalSignInDays int32 `protobuf:"varint,3,opt,name=totalSignInDays,proto3" json:"totalSignInDays,omitempty"` // 今日补签次数 跨天重置 ReSignInCount int32 `protobuf:"varint,4,opt,name=reSignInCount,proto3" json:"reSignInCount,omitempty"` // 已领取累签奖励ID列表 Q-签到-累计奖励表奖励ID SignInAwardIds []int32 `protobuf:"varint,5,rep,packed,name=signInAwardIds,proto3" json:"signInAwardIds,omitempty"` // 当前签到天数 比如开服45天 第一期30天 当前会发15 CurrentSignInDays int32 `protobuf:"varint,6,opt,name=currentSignInDays,proto3" json:"currentSignInDays,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SignIn) Reset() { *x = SignIn{} mi := &file_sign_in_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SignIn) String() string { return protoimpl.X.MessageStringOf(x) } func (*SignIn) ProtoMessage() {} func (x *SignIn) ProtoReflect() protoreflect.Message { mi := &file_sign_in_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SignIn.ProtoReflect.Descriptor instead. func (*SignIn) Descriptor() ([]byte, []int) { return file_sign_in_proto_rawDescGZIP(), []int{0} } func (x *SignIn) GetPoolID() int32 { if x != nil { return x.PoolID } return 0 } func (x *SignIn) GetSignInDays() []int32 { if x != nil { return x.SignInDays } return nil } func (x *SignIn) GetTotalSignInDays() int32 { if x != nil { return x.TotalSignInDays } return 0 } func (x *SignIn) GetReSignInCount() int32 { if x != nil { return x.ReSignInCount } return 0 } func (x *SignIn) GetSignInAwardIds() []int32 { if x != nil { return x.SignInAwardIds } return nil } func (x *SignIn) GetCurrentSignInDays() int32 { if x != nil { return x.CurrentSignInDays } return 0 } // 补签数据 type ReSignIn struct { state protoimpl.MessageState `protogen:"open.v1"` // 补签天数 ReSignInDays int32 `protobuf:"varint,1,opt,name=reSignInDays,proto3" json:"reSignInDays,omitempty"` // 累计签到天数 TotalSignInDays int32 `protobuf:"varint,2,opt,name=totalSignInDays,proto3" json:"totalSignInDays,omitempty"` // 今日补签次数 跨天重置 ReSignInCount int32 `protobuf:"varint,3,opt,name=reSignInCount,proto3" json:"reSignInCount,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReSignIn) Reset() { *x = ReSignIn{} mi := &file_sign_in_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReSignIn) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReSignIn) ProtoMessage() {} func (x *ReSignIn) ProtoReflect() protoreflect.Message { mi := &file_sign_in_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReSignIn.ProtoReflect.Descriptor instead. func (*ReSignIn) Descriptor() ([]byte, []int) { return file_sign_in_proto_rawDescGZIP(), []int{1} } func (x *ReSignIn) GetReSignInDays() int32 { if x != nil { return x.ReSignInDays } return 0 } func (x *ReSignIn) GetTotalSignInDays() int32 { if x != nil { return x.TotalSignInDays } return 0 } func (x *ReSignIn) GetReSignInCount() int32 { if x != nil { return x.ReSignInCount } return 0 } var File_sign_in_proto protoreflect.FileDescriptor const file_sign_in_proto_rawDesc = "" + "\n" + "\rsign_in.proto\x12\x02pb\"\xe6\x01\n" + "\x06SignIn\x12\x16\n" + "\x06poolID\x18\x01 \x01(\x05R\x06poolID\x12\x1e\n" + "\n" + "signInDays\x18\x02 \x03(\x05R\n" + "signInDays\x12(\n" + "\x0ftotalSignInDays\x18\x03 \x01(\x05R\x0ftotalSignInDays\x12$\n" + "\rreSignInCount\x18\x04 \x01(\x05R\rreSignInCount\x12&\n" + "\x0esignInAwardIds\x18\x05 \x03(\x05R\x0esignInAwardIds\x12,\n" + "\x11currentSignInDays\x18\x06 \x01(\x05R\x11currentSignInDays\"~\n" + "\bReSignIn\x12\"\n" + "\freSignInDays\x18\x01 \x01(\x05R\freSignInDays\x12(\n" + "\x0ftotalSignInDays\x18\x02 \x01(\x05R\x0ftotalSignInDays\x12$\n" + "\rreSignInCount\x18\x03 \x01(\x05R\rreSignInCountB\x05Z\x03/pbb\x06proto3" var ( file_sign_in_proto_rawDescOnce sync.Once file_sign_in_proto_rawDescData []byte ) func file_sign_in_proto_rawDescGZIP() []byte { file_sign_in_proto_rawDescOnce.Do(func() { file_sign_in_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sign_in_proto_rawDesc), len(file_sign_in_proto_rawDesc))) }) return file_sign_in_proto_rawDescData } var file_sign_in_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_sign_in_proto_goTypes = []any{ (*SignIn)(nil), // 0: pb.SignIn (*ReSignIn)(nil), // 1: pb.ReSignIn } var file_sign_in_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_sign_in_proto_init() } func file_sign_in_proto_init() { if File_sign_in_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_sign_in_proto_rawDesc), len(file_sign_in_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_sign_in_proto_goTypes, DependencyIndexes: file_sign_in_proto_depIdxs, MessageInfos: file_sign_in_proto_msgTypes, }.Build() File_sign_in_proto = out.File file_sign_in_proto_goTypes = nil file_sign_in_proto_depIdxs = nil }