sign_in.pb.go 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. // message结构的属性名请使用 驼峰小写字母开始
  2. // Code generated by protoc-gen-go. DO NOT EDIT.
  3. // versions:
  4. // protoc-gen-go v1.36.8
  5. // protoc v6.31.1
  6. // source: sign_in.proto
  7. package pb
  8. import (
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. // 签到数据
  22. type SignIn struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. // 当前使用签到库 Q-签到表库ID
  25. PoolID int32 `protobuf:"varint,1,opt,name=poolID,proto3" json:"poolID,omitempty"`
  26. // 已签到天数 Q-签到表天数
  27. SignInDays []int32 `protobuf:"varint,2,rep,packed,name=signInDays,proto3" json:"signInDays,omitempty"`
  28. // 累计签到天数
  29. TotalSignInDays int32 `protobuf:"varint,3,opt,name=totalSignInDays,proto3" json:"totalSignInDays,omitempty"`
  30. // 今日补签次数 跨天重置
  31. ReSignInCount int32 `protobuf:"varint,4,opt,name=reSignInCount,proto3" json:"reSignInCount,omitempty"`
  32. // 已领取累签奖励ID列表 Q-签到-累计奖励表奖励ID
  33. SignInAwardIds []int32 `protobuf:"varint,5,rep,packed,name=signInAwardIds,proto3" json:"signInAwardIds,omitempty"`
  34. // 当前签到天数 比如开服45天 第一期30天 当前会发15
  35. CurrentSignInDays int32 `protobuf:"varint,6,opt,name=currentSignInDays,proto3" json:"currentSignInDays,omitempty"`
  36. unknownFields protoimpl.UnknownFields
  37. sizeCache protoimpl.SizeCache
  38. }
  39. func (x *SignIn) Reset() {
  40. *x = SignIn{}
  41. mi := &file_sign_in_proto_msgTypes[0]
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. ms.StoreMessageInfo(mi)
  44. }
  45. func (x *SignIn) String() string {
  46. return protoimpl.X.MessageStringOf(x)
  47. }
  48. func (*SignIn) ProtoMessage() {}
  49. func (x *SignIn) ProtoReflect() protoreflect.Message {
  50. mi := &file_sign_in_proto_msgTypes[0]
  51. if x != nil {
  52. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  53. if ms.LoadMessageInfo() == nil {
  54. ms.StoreMessageInfo(mi)
  55. }
  56. return ms
  57. }
  58. return mi.MessageOf(x)
  59. }
  60. // Deprecated: Use SignIn.ProtoReflect.Descriptor instead.
  61. func (*SignIn) Descriptor() ([]byte, []int) {
  62. return file_sign_in_proto_rawDescGZIP(), []int{0}
  63. }
  64. func (x *SignIn) GetPoolID() int32 {
  65. if x != nil {
  66. return x.PoolID
  67. }
  68. return 0
  69. }
  70. func (x *SignIn) GetSignInDays() []int32 {
  71. if x != nil {
  72. return x.SignInDays
  73. }
  74. return nil
  75. }
  76. func (x *SignIn) GetTotalSignInDays() int32 {
  77. if x != nil {
  78. return x.TotalSignInDays
  79. }
  80. return 0
  81. }
  82. func (x *SignIn) GetReSignInCount() int32 {
  83. if x != nil {
  84. return x.ReSignInCount
  85. }
  86. return 0
  87. }
  88. func (x *SignIn) GetSignInAwardIds() []int32 {
  89. if x != nil {
  90. return x.SignInAwardIds
  91. }
  92. return nil
  93. }
  94. func (x *SignIn) GetCurrentSignInDays() int32 {
  95. if x != nil {
  96. return x.CurrentSignInDays
  97. }
  98. return 0
  99. }
  100. // 补签数据
  101. type ReSignIn struct {
  102. state protoimpl.MessageState `protogen:"open.v1"`
  103. // 补签天数
  104. ReSignInDays int32 `protobuf:"varint,1,opt,name=reSignInDays,proto3" json:"reSignInDays,omitempty"`
  105. // 累计签到天数
  106. TotalSignInDays int32 `protobuf:"varint,2,opt,name=totalSignInDays,proto3" json:"totalSignInDays,omitempty"`
  107. // 今日补签次数 跨天重置
  108. ReSignInCount int32 `protobuf:"varint,3,opt,name=reSignInCount,proto3" json:"reSignInCount,omitempty"`
  109. unknownFields protoimpl.UnknownFields
  110. sizeCache protoimpl.SizeCache
  111. }
  112. func (x *ReSignIn) Reset() {
  113. *x = ReSignIn{}
  114. mi := &file_sign_in_proto_msgTypes[1]
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. ms.StoreMessageInfo(mi)
  117. }
  118. func (x *ReSignIn) String() string {
  119. return protoimpl.X.MessageStringOf(x)
  120. }
  121. func (*ReSignIn) ProtoMessage() {}
  122. func (x *ReSignIn) ProtoReflect() protoreflect.Message {
  123. mi := &file_sign_in_proto_msgTypes[1]
  124. if x != nil {
  125. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  126. if ms.LoadMessageInfo() == nil {
  127. ms.StoreMessageInfo(mi)
  128. }
  129. return ms
  130. }
  131. return mi.MessageOf(x)
  132. }
  133. // Deprecated: Use ReSignIn.ProtoReflect.Descriptor instead.
  134. func (*ReSignIn) Descriptor() ([]byte, []int) {
  135. return file_sign_in_proto_rawDescGZIP(), []int{1}
  136. }
  137. func (x *ReSignIn) GetReSignInDays() int32 {
  138. if x != nil {
  139. return x.ReSignInDays
  140. }
  141. return 0
  142. }
  143. func (x *ReSignIn) GetTotalSignInDays() int32 {
  144. if x != nil {
  145. return x.TotalSignInDays
  146. }
  147. return 0
  148. }
  149. func (x *ReSignIn) GetReSignInCount() int32 {
  150. if x != nil {
  151. return x.ReSignInCount
  152. }
  153. return 0
  154. }
  155. var File_sign_in_proto protoreflect.FileDescriptor
  156. const file_sign_in_proto_rawDesc = "" +
  157. "\n" +
  158. "\rsign_in.proto\x12\x02pb\"\xe6\x01\n" +
  159. "\x06SignIn\x12\x16\n" +
  160. "\x06poolID\x18\x01 \x01(\x05R\x06poolID\x12\x1e\n" +
  161. "\n" +
  162. "signInDays\x18\x02 \x03(\x05R\n" +
  163. "signInDays\x12(\n" +
  164. "\x0ftotalSignInDays\x18\x03 \x01(\x05R\x0ftotalSignInDays\x12$\n" +
  165. "\rreSignInCount\x18\x04 \x01(\x05R\rreSignInCount\x12&\n" +
  166. "\x0esignInAwardIds\x18\x05 \x03(\x05R\x0esignInAwardIds\x12,\n" +
  167. "\x11currentSignInDays\x18\x06 \x01(\x05R\x11currentSignInDays\"~\n" +
  168. "\bReSignIn\x12\"\n" +
  169. "\freSignInDays\x18\x01 \x01(\x05R\freSignInDays\x12(\n" +
  170. "\x0ftotalSignInDays\x18\x02 \x01(\x05R\x0ftotalSignInDays\x12$\n" +
  171. "\rreSignInCount\x18\x03 \x01(\x05R\rreSignInCountB\x05Z\x03/pbb\x06proto3"
  172. var (
  173. file_sign_in_proto_rawDescOnce sync.Once
  174. file_sign_in_proto_rawDescData []byte
  175. )
  176. func file_sign_in_proto_rawDescGZIP() []byte {
  177. file_sign_in_proto_rawDescOnce.Do(func() {
  178. file_sign_in_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sign_in_proto_rawDesc), len(file_sign_in_proto_rawDesc)))
  179. })
  180. return file_sign_in_proto_rawDescData
  181. }
  182. var file_sign_in_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  183. var file_sign_in_proto_goTypes = []any{
  184. (*SignIn)(nil), // 0: pb.SignIn
  185. (*ReSignIn)(nil), // 1: pb.ReSignIn
  186. }
  187. var file_sign_in_proto_depIdxs = []int32{
  188. 0, // [0:0] is the sub-list for method output_type
  189. 0, // [0:0] is the sub-list for method input_type
  190. 0, // [0:0] is the sub-list for extension type_name
  191. 0, // [0:0] is the sub-list for extension extendee
  192. 0, // [0:0] is the sub-list for field type_name
  193. }
  194. func init() { file_sign_in_proto_init() }
  195. func file_sign_in_proto_init() {
  196. if File_sign_in_proto != nil {
  197. return
  198. }
  199. type x struct{}
  200. out := protoimpl.TypeBuilder{
  201. File: protoimpl.DescBuilder{
  202. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  203. RawDescriptor: unsafe.Slice(unsafe.StringData(file_sign_in_proto_rawDesc), len(file_sign_in_proto_rawDesc)),
  204. NumEnums: 0,
  205. NumMessages: 2,
  206. NumExtensions: 0,
  207. NumServices: 0,
  208. },
  209. GoTypes: file_sign_in_proto_goTypes,
  210. DependencyIndexes: file_sign_in_proto_depIdxs,
  211. MessageInfos: file_sign_in_proto_msgTypes,
  212. }.Build()
  213. File_sign_in_proto = out.File
  214. file_sign_in_proto_goTypes = nil
  215. file_sign_in_proto_depIdxs = nil
  216. }