Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
36e900afc2
213
pb/uigame_db.pb.go
Normal file
213
pb/uigame_db.pb.go
Normal file
@ -0,0 +1,213 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.28.0
|
||||||
|
// protoc v3.20.0
|
||||||
|
// source: uigame/uigame_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 DBPuzzleData struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
|
||||||
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
||||||
|
Hdoid string `protobuf:"bytes,3,opt,name=hdoid,proto3" json:"hdoid"` // 活动唯一id
|
||||||
|
Gotarr map[int32]int32 `protobuf:"bytes,4,rep,name=gotarr,proto3" json:"gotarr" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 奖励领取状态
|
||||||
|
Puzzle map[int32]int32 `protobuf:"bytes,5,rep,name=puzzle,proto3" json:"puzzle" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 拼图数据
|
||||||
|
Lasttime int64 `protobuf:"varint,6,opt,name=lasttime,proto3" json:"lasttime"`
|
||||||
|
Val int32 `protobuf:"varint,7,opt,name=val,proto3" json:"val"` // 今天获得N个碎片
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) Reset() {
|
||||||
|
*x = DBPuzzleData{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_db_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBPuzzleData) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_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 DBPuzzleData.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBPuzzleData) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_db_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Id
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetUid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetHdoid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Hdoid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetGotarr() map[int32]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Gotarr
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetPuzzle() map[int32]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Puzzle
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetLasttime() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Lasttime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPuzzleData) GetVal() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Val
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_uigame_uigame_db_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_uigame_uigame_db_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x16, 0x75, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x75, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f,
|
||||||
|
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x44, 0x42, 0x50,
|
||||||
|
0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||||
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68,
|
||||||
|
0x64, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x68, 0x64, 0x6f, 0x69,
|
||||||
|
0x64, 0x12, 0x31, 0x0a, 0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28,
|
||||||
|
0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61,
|
||||||
|
0x2e, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x67, 0x6f,
|
||||||
|
0x74, 0x61, 0x72, 0x72, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x18, 0x05,
|
||||||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44,
|
||||||
|
0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||||
|
0x06, 0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05,
|
||||||
|
0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x45,
|
||||||
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||||
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||||||
|
0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
||||||
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65,
|
||||||
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||||
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||||
|
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_uigame_uigame_db_proto_rawDescOnce sync.Once
|
||||||
|
file_uigame_uigame_db_proto_rawDescData = file_uigame_uigame_db_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_uigame_uigame_db_proto_rawDescGZIP() []byte {
|
||||||
|
file_uigame_uigame_db_proto_rawDescOnce.Do(func() {
|
||||||
|
file_uigame_uigame_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_uigame_uigame_db_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_uigame_uigame_db_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_uigame_uigame_db_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||||
|
var file_uigame_uigame_db_proto_goTypes = []interface{}{
|
||||||
|
(*DBPuzzleData)(nil), // 0: DBPuzzleData
|
||||||
|
nil, // 1: DBPuzzleData.GotarrEntry
|
||||||
|
nil, // 2: DBPuzzleData.PuzzleEntry
|
||||||
|
}
|
||||||
|
var file_uigame_uigame_db_proto_depIdxs = []int32{
|
||||||
|
1, // 0: DBPuzzleData.gotarr:type_name -> DBPuzzleData.GotarrEntry
|
||||||
|
2, // 1: DBPuzzleData.puzzle:type_name -> DBPuzzleData.PuzzleEntry
|
||||||
|
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_uigame_uigame_db_proto_init() }
|
||||||
|
func file_uigame_uigame_db_proto_init() {
|
||||||
|
if File_uigame_uigame_db_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_uigame_uigame_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBPuzzleData); 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_uigame_uigame_db_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 3,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_uigame_uigame_db_proto_goTypes,
|
||||||
|
DependencyIndexes: file_uigame_uigame_db_proto_depIdxs,
|
||||||
|
MessageInfos: file_uigame_uigame_db_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_uigame_uigame_db_proto = out.File
|
||||||
|
file_uigame_uigame_db_proto_rawDesc = nil
|
||||||
|
file_uigame_uigame_db_proto_goTypes = nil
|
||||||
|
file_uigame_uigame_db_proto_depIdxs = nil
|
||||||
|
}
|
513
pb/uigame_msg.pb.go
Normal file
513
pb/uigame_msg.pb.go
Normal file
@ -0,0 +1,513 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.28.0
|
||||||
|
// protoc v3.20.0
|
||||||
|
// source: uigame/uigame_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 UiGameGetPuzzleReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Hdid string `protobuf:"bytes,1,opt,name=hdid,proto3" json:"hdid"` // 拼图活动ID
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleReq) Reset() {
|
||||||
|
*x = UiGameGetPuzzleReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGameGetPuzzleReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_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 UiGameGetPuzzleReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGameGetPuzzleReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleReq) GetHdid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Hdid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取活动列表
|
||||||
|
type UiGameGetPuzzleResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Data *DBPuzzleData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleResp) Reset() {
|
||||||
|
*x = UiGameGetPuzzleResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGameGetPuzzleResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_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 UiGameGetPuzzleResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGameGetPuzzleResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGameGetPuzzleResp) GetData() *DBPuzzleData {
|
||||||
|
if x != nil {
|
||||||
|
return x.Data
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拼图
|
||||||
|
type UiGamePuzzleGridReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Hdid string `protobuf:"bytes,1,opt,name=hdid,proto3" json:"hdid"` // 拼图活动ID
|
||||||
|
PuzzleId int32 `protobuf:"varint,2,opt,name=puzzleId,proto3" json:"puzzleId"` // 格子ID
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridReq) Reset() {
|
||||||
|
*x = UiGamePuzzleGridReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGamePuzzleGridReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_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 UiGamePuzzleGridReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGamePuzzleGridReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridReq) GetHdid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Hdid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridReq) GetPuzzleId() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.PuzzleId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
type UiGamePuzzleGridResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Data *DBPuzzleData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
||||||
|
Atno []*UserAtno `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"` // 奖励
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridResp) Reset() {
|
||||||
|
*x = UiGamePuzzleGridResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGamePuzzleGridResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_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 UiGamePuzzleGridResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGamePuzzleGridResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{3}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridResp) GetData() *DBPuzzleData {
|
||||||
|
if x != nil {
|
||||||
|
return x.Data
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleGridResp) GetAtno() []*UserAtno {
|
||||||
|
if x != nil {
|
||||||
|
return x.Atno
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拼图领取奖励
|
||||||
|
type UiGamePuzzleRewardReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Hdid string `protobuf:"bytes,1,opt,name=hdid,proto3" json:"hdid"` // 拼图活动ID
|
||||||
|
PuzzleId int32 `protobuf:"varint,2,opt,name=puzzleId,proto3" json:"puzzleId"` // 横排或竖排的格子id
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardReq) Reset() {
|
||||||
|
*x = UiGamePuzzleRewardReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[4]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGamePuzzleRewardReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[4]
|
||||||
|
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 UiGamePuzzleRewardReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGamePuzzleRewardReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{4}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardReq) GetHdid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Hdid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardReq) GetPuzzleId() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.PuzzleId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取活动列表
|
||||||
|
type UiGamePuzzleRewardResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Data *DBPuzzleData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
||||||
|
Atno []*UserAtno `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"` // 奖励
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardResp) Reset() {
|
||||||
|
*x = UiGamePuzzleRewardResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[5]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UiGamePuzzleRewardResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_uigame_uigame_msg_proto_msgTypes[5]
|
||||||
|
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 UiGamePuzzleRewardResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UiGamePuzzleRewardResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescGZIP(), []int{5}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardResp) GetData() *DBPuzzleData {
|
||||||
|
if x != nil {
|
||||||
|
return x.Data
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UiGamePuzzleRewardResp) GetAtno() []*UserAtno {
|
||||||
|
if x != nil {
|
||||||
|
return x.Atno
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_uigame_uigame_msg_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_uigame_uigame_msg_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x17, 0x75, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x75, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x5f,
|
||||||
|
0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
|
||||||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x75, 0x69, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x75, 0x69,
|
||||||
|
0x67, 0x61, 0x6d, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a,
|
||||||
|
0x12, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x47, 0x65, 0x74, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65,
|
||||||
|
0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x13, 0x55, 0x69, 0x47, 0x61, 0x6d,
|
||||||
|
0x65, 0x47, 0x65, 0x74, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21,
|
||||||
|
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44,
|
||||||
|
0x42, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74,
|
||||||
|
0x61, 0x22, 0x45, 0x0a, 0x13, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x50, 0x75, 0x7a, 0x7a, 0x6c,
|
||||||
|
0x65, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x64, 0x69, 0x64,
|
||||||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
||||||
|
0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||||||
|
0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x14, 0x55, 0x69, 0x47, 0x61,
|
||||||
|
0x6d, 0x65, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70,
|
||||||
|
0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
||||||
|
0x2e, 0x44, 0x42, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 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, 0x22, 0x47, 0x0a, 0x15, 0x55, 0x69, 0x47, 0x61, 0x6d, 0x65, 0x50, 0x75, 0x7a, 0x7a,
|
||||||
|
0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x68,
|
||||||
|
0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x64, 0x69, 0x64, 0x12,
|
||||||
|
0x1a, 0x0a, 0x08, 0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
|
0x05, 0x52, 0x08, 0x70, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x16, 0x55,
|
||||||
|
0x69, 0x47, 0x61, 0x6d, 0x65, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72,
|
||||||
|
0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x75, 0x7a, 0x7a, 0x6c, 0x65, 0x44, 0x61,
|
||||||
|
0x74, 0x61, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
||||||
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_uigame_uigame_msg_proto_rawDescOnce sync.Once
|
||||||
|
file_uigame_uigame_msg_proto_rawDescData = file_uigame_uigame_msg_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_uigame_uigame_msg_proto_rawDescGZIP() []byte {
|
||||||
|
file_uigame_uigame_msg_proto_rawDescOnce.Do(func() {
|
||||||
|
file_uigame_uigame_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_uigame_uigame_msg_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_uigame_uigame_msg_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_uigame_uigame_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||||
|
var file_uigame_uigame_msg_proto_goTypes = []interface{}{
|
||||||
|
(*UiGameGetPuzzleReq)(nil), // 0: UiGameGetPuzzleReq
|
||||||
|
(*UiGameGetPuzzleResp)(nil), // 1: UiGameGetPuzzleResp
|
||||||
|
(*UiGamePuzzleGridReq)(nil), // 2: UiGamePuzzleGridReq
|
||||||
|
(*UiGamePuzzleGridResp)(nil), // 3: UiGamePuzzleGridResp
|
||||||
|
(*UiGamePuzzleRewardReq)(nil), // 4: UiGamePuzzleRewardReq
|
||||||
|
(*UiGamePuzzleRewardResp)(nil), // 5: UiGamePuzzleRewardResp
|
||||||
|
(*DBPuzzleData)(nil), // 6: DBPuzzleData
|
||||||
|
(*UserAtno)(nil), // 7: UserAtno
|
||||||
|
}
|
||||||
|
var file_uigame_uigame_msg_proto_depIdxs = []int32{
|
||||||
|
6, // 0: UiGameGetPuzzleResp.data:type_name -> DBPuzzleData
|
||||||
|
6, // 1: UiGamePuzzleGridResp.data:type_name -> DBPuzzleData
|
||||||
|
7, // 2: UiGamePuzzleGridResp.atno:type_name -> UserAtno
|
||||||
|
6, // 3: UiGamePuzzleRewardResp.data:type_name -> DBPuzzleData
|
||||||
|
7, // 4: UiGamePuzzleRewardResp.atno:type_name -> UserAtno
|
||||||
|
5, // [5:5] is the sub-list for method output_type
|
||||||
|
5, // [5:5] is the sub-list for method input_type
|
||||||
|
5, // [5:5] is the sub-list for extension type_name
|
||||||
|
5, // [5:5] is the sub-list for extension extendee
|
||||||
|
0, // [0:5] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_uigame_uigame_msg_proto_init() }
|
||||||
|
func file_uigame_uigame_msg_proto_init() {
|
||||||
|
if File_uigame_uigame_msg_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
file_comm_proto_init()
|
||||||
|
file_uigame_uigame_db_proto_init()
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGameGetPuzzleReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGameGetPuzzleResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGamePuzzleGridReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGamePuzzleGridResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGamePuzzleRewardReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_uigame_uigame_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*UiGamePuzzleRewardResp); 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_uigame_uigame_msg_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 6,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_uigame_uigame_msg_proto_goTypes,
|
||||||
|
DependencyIndexes: file_uigame_uigame_msg_proto_depIdxs,
|
||||||
|
MessageInfos: file_uigame_uigame_msg_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_uigame_uigame_msg_proto = out.File
|
||||||
|
file_uigame_uigame_msg_proto_rawDesc = nil
|
||||||
|
file_uigame_uigame_msg_proto_goTypes = nil
|
||||||
|
file_uigame_uigame_msg_proto_depIdxs = nil
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user