go_dreamfactory/pb/turntable_msg.pb.go

343 lines
11 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: turntable/turntable_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 TurntableGetListReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *TurntableGetListReq) Reset() {
*x = TurntableGetListReq{}
if protoimpl.UnsafeEnabled {
mi := &file_turntable_turntable_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TurntableGetListReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TurntableGetListReq) ProtoMessage() {}
func (x *TurntableGetListReq) ProtoReflect() protoreflect.Message {
mi := &file_turntable_turntable_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 TurntableGetListReq.ProtoReflect.Descriptor instead.
func (*TurntableGetListReq) Descriptor() ([]byte, []int) {
return file_turntable_turntable_msg_proto_rawDescGZIP(), []int{0}
}
type TurntableGetListResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBTurntable `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (x *TurntableGetListResp) Reset() {
*x = TurntableGetListResp{}
if protoimpl.UnsafeEnabled {
mi := &file_turntable_turntable_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TurntableGetListResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TurntableGetListResp) ProtoMessage() {}
func (x *TurntableGetListResp) ProtoReflect() protoreflect.Message {
mi := &file_turntable_turntable_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 TurntableGetListResp.ProtoReflect.Descriptor instead.
func (*TurntableGetListResp) Descriptor() ([]byte, []int) {
return file_turntable_turntable_msg_proto_rawDescGZIP(), []int{1}
}
func (x *TurntableGetListResp) GetData() *DBTurntable {
if x != nil {
return x.Data
}
return nil
}
// 大转盘活动领奖
type TurntableDrawReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *TurntableDrawReq) Reset() {
*x = TurntableDrawReq{}
if protoimpl.UnsafeEnabled {
mi := &file_turntable_turntable_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TurntableDrawReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TurntableDrawReq) ProtoMessage() {}
func (x *TurntableDrawReq) ProtoReflect() protoreflect.Message {
mi := &file_turntable_turntable_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 TurntableDrawReq.ProtoReflect.Descriptor instead.
func (*TurntableDrawReq) Descriptor() ([]byte, []int) {
return file_turntable_turntable_msg_proto_rawDescGZIP(), []int{2}
}
// 领取奖励数据返回
type TurntableDrawResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBTurntable `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
Atno []*UserAtno `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"`
Drawkey int32 `protobuf:"varint,3,opt,name=drawkey,proto3" json:"drawkey"`
}
func (x *TurntableDrawResp) Reset() {
*x = TurntableDrawResp{}
if protoimpl.UnsafeEnabled {
mi := &file_turntable_turntable_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TurntableDrawResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TurntableDrawResp) ProtoMessage() {}
func (x *TurntableDrawResp) ProtoReflect() protoreflect.Message {
mi := &file_turntable_turntable_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 TurntableDrawResp.ProtoReflect.Descriptor instead.
func (*TurntableDrawResp) Descriptor() ([]byte, []int) {
return file_turntable_turntable_msg_proto_rawDescGZIP(), []int{3}
}
func (x *TurntableDrawResp) GetData() *DBTurntable {
if x != nil {
return x.Data
}
return nil
}
func (x *TurntableDrawResp) GetAtno() []*UserAtno {
if x != nil {
return x.Atno
}
return nil
}
func (x *TurntableDrawResp) GetDrawkey() int32 {
if x != nil {
return x.Drawkey
}
return 0
}
var File_turntable_turntable_msg_proto protoreflect.FileDescriptor
var file_turntable_turntable_msg_proto_rawDesc = []byte{
0x0a, 0x1d, 0x74, 0x75, 0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x74, 0x75, 0x72, 0x6e,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1c, 0x74, 0x75, 0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x74, 0x75, 0x72, 0x6e, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63,
0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x54, 0x75, 0x72,
0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
0x22, 0x38, 0x0a, 0x14, 0x54, 0x75, 0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x47, 0x65, 0x74,
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x54, 0x75, 0x72, 0x6e, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x12, 0x0a, 0x10, 0x54, 0x75,
0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x71, 0x22, 0x6e,
0x0a, 0x11, 0x54, 0x75, 0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x72, 0x61, 0x77, 0x52,
0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x54, 0x75, 0x72, 0x6e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x04,
0x61, 0x74, 0x6e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x72, 0x61, 0x77, 0x6b, 0x65, 0x79, 0x18,
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x72, 0x61, 0x77, 0x6b, 0x65, 0x79, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_turntable_turntable_msg_proto_rawDescOnce sync.Once
file_turntable_turntable_msg_proto_rawDescData = file_turntable_turntable_msg_proto_rawDesc
)
func file_turntable_turntable_msg_proto_rawDescGZIP() []byte {
file_turntable_turntable_msg_proto_rawDescOnce.Do(func() {
file_turntable_turntable_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_turntable_turntable_msg_proto_rawDescData)
})
return file_turntable_turntable_msg_proto_rawDescData
}
var file_turntable_turntable_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_turntable_turntable_msg_proto_goTypes = []interface{}{
(*TurntableGetListReq)(nil), // 0: TurntableGetListReq
(*TurntableGetListResp)(nil), // 1: TurntableGetListResp
(*TurntableDrawReq)(nil), // 2: TurntableDrawReq
(*TurntableDrawResp)(nil), // 3: TurntableDrawResp
(*DBTurntable)(nil), // 4: DBTurntable
(*UserAtno)(nil), // 5: UserAtno
}
var file_turntable_turntable_msg_proto_depIdxs = []int32{
4, // 0: TurntableGetListResp.data:type_name -> DBTurntable
4, // 1: TurntableDrawResp.data:type_name -> DBTurntable
5, // 2: TurntableDrawResp.atno:type_name -> UserAtno
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_turntable_turntable_msg_proto_init() }
func file_turntable_turntable_msg_proto_init() {
if File_turntable_turntable_msg_proto != nil {
return
}
file_turntable_turntable_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_turntable_turntable_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TurntableGetListReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_turntable_turntable_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TurntableGetListResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_turntable_turntable_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TurntableDrawReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_turntable_turntable_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TurntableDrawResp); 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_turntable_turntable_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_turntable_turntable_msg_proto_goTypes,
DependencyIndexes: file_turntable_turntable_msg_proto_depIdxs,
MessageInfos: file_turntable_turntable_msg_proto_msgTypes,
}.Build()
File_turntable_turntable_msg_proto = out.File
file_turntable_turntable_msg_proto_rawDesc = nil
file_turntable_turntable_msg_proto_goTypes = nil
file_turntable_turntable_msg_proto_depIdxs = nil
}