go_dreamfactory/pb/whackamole_msg.pb.go
2023-11-20 10:07:37 +08:00

340 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: whackamole/whackamole_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 WhackamoleInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *WhackamoleInfoReq) Reset() {
*x = WhackamoleInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_whackamole_whackamole_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WhackamoleInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WhackamoleInfoReq) ProtoMessage() {}
func (x *WhackamoleInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_whackamole_whackamole_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 WhackamoleInfoReq.ProtoReflect.Descriptor instead.
func (*WhackamoleInfoReq) Descriptor() ([]byte, []int) {
return file_whackamole_whackamole_msg_proto_rawDescGZIP(), []int{0}
}
type WhackamoleInfoResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Info *DBWhackamole `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}
func (x *WhackamoleInfoResp) Reset() {
*x = WhackamoleInfoResp{}
if protoimpl.UnsafeEnabled {
mi := &file_whackamole_whackamole_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WhackamoleInfoResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WhackamoleInfoResp) ProtoMessage() {}
func (x *WhackamoleInfoResp) ProtoReflect() protoreflect.Message {
mi := &file_whackamole_whackamole_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 WhackamoleInfoResp.ProtoReflect.Descriptor instead.
func (*WhackamoleInfoResp) Descriptor() ([]byte, []int) {
return file_whackamole_whackamole_msg_proto_rawDescGZIP(), []int{1}
}
func (x *WhackamoleInfoResp) GetInfo() *DBWhackamole {
if x != nil {
return x.Info
}
return nil
}
type WhackamoleAwardReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
}
func (x *WhackamoleAwardReq) Reset() {
*x = WhackamoleAwardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_whackamole_whackamole_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WhackamoleAwardReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WhackamoleAwardReq) ProtoMessage() {}
func (x *WhackamoleAwardReq) ProtoReflect() protoreflect.Message {
mi := &file_whackamole_whackamole_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 WhackamoleAwardReq.ProtoReflect.Descriptor instead.
func (*WhackamoleAwardReq) Descriptor() ([]byte, []int) {
return file_whackamole_whackamole_msg_proto_rawDescGZIP(), []int{2}
}
func (x *WhackamoleAwardReq) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
type WhackamoleAwardResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Award []*UserAtno `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //获取资源
}
func (x *WhackamoleAwardResp) Reset() {
*x = WhackamoleAwardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_whackamole_whackamole_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WhackamoleAwardResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WhackamoleAwardResp) ProtoMessage() {}
func (x *WhackamoleAwardResp) ProtoReflect() protoreflect.Message {
mi := &file_whackamole_whackamole_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 WhackamoleAwardResp.ProtoReflect.Descriptor instead.
func (*WhackamoleAwardResp) Descriptor() ([]byte, []int) {
return file_whackamole_whackamole_msg_proto_rawDescGZIP(), []int{3}
}
func (x *WhackamoleAwardResp) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *WhackamoleAwardResp) GetAward() []*UserAtno {
if x != nil {
return x.Award
}
return nil
}
var File_whackamole_whackamole_msg_proto protoreflect.FileDescriptor
var file_whackamole_whackamole_msg_proto_rawDesc = []byte{
0x0a, 0x1f, 0x77, 0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x2f, 0x77, 0x68, 0x61,
0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x1e, 0x77, 0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x2f, 0x77, 0x68,
0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a,
0x11, 0x57, 0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x65, 0x71, 0x22, 0x37, 0x0a, 0x12, 0x57, 0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x57, 0x68, 0x61, 0x63, 0x6b,
0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x24, 0x0a, 0x12, 0x57,
0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x22, 0x46, 0x0a, 0x13, 0x57, 0x68, 0x61, 0x63, 0x6b, 0x61, 0x6d, 0x6f, 0x6c, 0x65, 0x41,
0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72,
0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74,
0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_whackamole_whackamole_msg_proto_rawDescOnce sync.Once
file_whackamole_whackamole_msg_proto_rawDescData = file_whackamole_whackamole_msg_proto_rawDesc
)
func file_whackamole_whackamole_msg_proto_rawDescGZIP() []byte {
file_whackamole_whackamole_msg_proto_rawDescOnce.Do(func() {
file_whackamole_whackamole_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_whackamole_whackamole_msg_proto_rawDescData)
})
return file_whackamole_whackamole_msg_proto_rawDescData
}
var file_whackamole_whackamole_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_whackamole_whackamole_msg_proto_goTypes = []interface{}{
(*WhackamoleInfoReq)(nil), // 0: WhackamoleInfoReq
(*WhackamoleInfoResp)(nil), // 1: WhackamoleInfoResp
(*WhackamoleAwardReq)(nil), // 2: WhackamoleAwardReq
(*WhackamoleAwardResp)(nil), // 3: WhackamoleAwardResp
(*DBWhackamole)(nil), // 4: DBWhackamole
(*UserAtno)(nil), // 5: UserAtno
}
var file_whackamole_whackamole_msg_proto_depIdxs = []int32{
4, // 0: WhackamoleInfoResp.info:type_name -> DBWhackamole
5, // 1: WhackamoleAwardResp.award:type_name -> UserAtno
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_whackamole_whackamole_msg_proto_init() }
func file_whackamole_whackamole_msg_proto_init() {
if File_whackamole_whackamole_msg_proto != nil {
return
}
file_whackamole_whackamole_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_whackamole_whackamole_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WhackamoleInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_whackamole_whackamole_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WhackamoleInfoResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_whackamole_whackamole_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WhackamoleAwardReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_whackamole_whackamole_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WhackamoleAwardResp); 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_whackamole_whackamole_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_whackamole_whackamole_msg_proto_goTypes,
DependencyIndexes: file_whackamole_whackamole_msg_proto_depIdxs,
MessageInfos: file_whackamole_whackamole_msg_proto_msgTypes,
}.Build()
File_whackamole_whackamole_msg_proto = out.File
file_whackamole_whackamole_msg_proto_rawDesc = nil
file_whackamole_whackamole_msg_proto_goTypes = nil
file_whackamole_whackamole_msg_proto_depIdxs = nil
}