585 lines
21 KiB
Go
585 lines
21 KiB
Go
// 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
|
|
}
|
|
|
|
// 小关的数据
|
|
type LatticeData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data map[int32]int32 `protobuf:"bytes,1,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 迷宫数据
|
|
}
|
|
|
|
func (x *LatticeData) Reset() {
|
|
*x = LatticeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_uigame_uigame_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LatticeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LatticeData) ProtoMessage() {}
|
|
|
|
func (x *LatticeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_uigame_uigame_db_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 LatticeData.ProtoReflect.Descriptor instead.
|
|
func (*LatticeData) Descriptor() ([]byte, []int) {
|
|
return file_uigame_uigame_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LatticeData) GetData() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DBLatticeData 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"` // 奖励领取状态
|
|
Lattice map[int32]*LatticeData `protobuf:"bytes,5,rep,name=lattice,proto3" json:"lattice" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,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个碎片
|
|
Total int32 `protobuf:"varint,8,opt,name=total,proto3" json:"total"` // 总的层数
|
|
BReward bool `protobuf:"varint,9,opt,name=bReward,proto3" json:"bReward"` // 总奖励
|
|
Floor int32 `protobuf:"varint,10,opt,name=floor,proto3" json:"floor"` // 当前第几层
|
|
Curpos int32 `protobuf:"varint,11,opt,name=curpos,proto3" json:"curpos"` // 当前位置
|
|
}
|
|
|
|
func (x *DBLatticeData) Reset() {
|
|
*x = DBLatticeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_uigame_uigame_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBLatticeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBLatticeData) ProtoMessage() {}
|
|
|
|
func (x *DBLatticeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_uigame_uigame_db_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 DBLatticeData.ProtoReflect.Descriptor instead.
|
|
func (*DBLatticeData) Descriptor() ([]byte, []int) {
|
|
return file_uigame_uigame_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBLatticeData) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBLatticeData) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBLatticeData) GetHdoid() string {
|
|
if x != nil {
|
|
return x.Hdoid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBLatticeData) GetGotarr() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Gotarr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBLatticeData) GetLattice() map[int32]*LatticeData {
|
|
if x != nil {
|
|
return x.Lattice
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBLatticeData) GetLasttime() int64 {
|
|
if x != nil {
|
|
return x.Lasttime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBLatticeData) GetVal() int32 {
|
|
if x != nil {
|
|
return x.Val
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBLatticeData) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBLatticeData) GetBReward() bool {
|
|
if x != nil {
|
|
return x.BReward
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DBLatticeData) GetFloor() int32 {
|
|
if x != nil {
|
|
return x.Floor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBLatticeData) GetCurpos() int32 {
|
|
if x != nil {
|
|
return x.Curpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 矿工
|
|
type DBMinerData 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"` // 进度
|
|
Lasttime int64 `protobuf:"varint,6,opt,name=lasttime,proto3" json:"lasttime"`
|
|
Val int32 `protobuf:"varint,7,opt,name=val,proto3" json:"val"` // 今天获得N次抓取机会
|
|
BReward bool `protobuf:"varint,8,opt,name=bReward,proto3" json:"bReward"`
|
|
}
|
|
|
|
func (x *DBMinerData) Reset() {
|
|
*x = DBMinerData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_uigame_uigame_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBMinerData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBMinerData) ProtoMessage() {}
|
|
|
|
func (x *DBMinerData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_uigame_uigame_db_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 DBMinerData.ProtoReflect.Descriptor instead.
|
|
func (*DBMinerData) Descriptor() ([]byte, []int) {
|
|
return file_uigame_uigame_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBMinerData) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBMinerData) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBMinerData) GetHdoid() string {
|
|
if x != nil {
|
|
return x.Hdoid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBMinerData) GetGotarr() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Gotarr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBMinerData) GetLasttime() int64 {
|
|
if x != nil {
|
|
return x.Lasttime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBMinerData) GetVal() int32 {
|
|
if x != nil {
|
|
return x.Val
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBMinerData) GetBReward() bool {
|
|
if x != nil {
|
|
return x.BReward
|
|
}
|
|
return false
|
|
}
|
|
|
|
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, 0x22, 0x72, 0x0a, 0x0b, 0x4c,
|
|
0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x4c, 0x61, 0x74, 0x74, 0x69,
|
|
0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 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, 0x22,
|
|
0xc3, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 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, 0x32, 0x0a, 0x06, 0x67, 0x6f, 0x74,
|
|
0x61, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x4c, 0x61,
|
|
0x74, 0x74, 0x69, 0x63, 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, 0x35, 0x0a,
|
|
0x07, 0x6c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
|
|
0x2e, 0x44, 0x42, 0x4c, 0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x4c,
|
|
0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6c, 0x61, 0x74,
|
|
0x74, 0x69, 0x63, 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, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x52, 0x65, 0x77,
|
|
0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x52, 0x65, 0x77, 0x61,
|
|
0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x70,
|
|
0x6f, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x75, 0x72, 0x70, 0x6f, 0x73,
|
|
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, 0x48, 0x0a, 0x0c, 0x4c,
|
|
0x61, 0x74, 0x74, 0x69, 0x63, 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, 0x22, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4c,
|
|
0x61, 0x74, 0x74, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65,
|
|
0x72, 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, 0x30, 0x0a,
|
|
0x06, 0x67, 0x6f, 0x74, 0x61, 0x72, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e,
|
|
0x44, 0x42, 0x4d, 0x69, 0x6e, 0x65, 0x72, 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,
|
|
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, 0x12, 0x18, 0x0a,
|
|
0x07, 0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
|
0x62, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 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, 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, 10)
|
|
var file_uigame_uigame_db_proto_goTypes = []interface{}{
|
|
(*DBPuzzleData)(nil), // 0: DBPuzzleData
|
|
(*LatticeData)(nil), // 1: LatticeData
|
|
(*DBLatticeData)(nil), // 2: DBLatticeData
|
|
(*DBMinerData)(nil), // 3: DBMinerData
|
|
nil, // 4: DBPuzzleData.GotarrEntry
|
|
nil, // 5: DBPuzzleData.PuzzleEntry
|
|
nil, // 6: LatticeData.DataEntry
|
|
nil, // 7: DBLatticeData.GotarrEntry
|
|
nil, // 8: DBLatticeData.LatticeEntry
|
|
nil, // 9: DBMinerData.GotarrEntry
|
|
}
|
|
var file_uigame_uigame_db_proto_depIdxs = []int32{
|
|
4, // 0: DBPuzzleData.gotarr:type_name -> DBPuzzleData.GotarrEntry
|
|
5, // 1: DBPuzzleData.puzzle:type_name -> DBPuzzleData.PuzzleEntry
|
|
6, // 2: LatticeData.data:type_name -> LatticeData.DataEntry
|
|
7, // 3: DBLatticeData.gotarr:type_name -> DBLatticeData.GotarrEntry
|
|
8, // 4: DBLatticeData.lattice:type_name -> DBLatticeData.LatticeEntry
|
|
9, // 5: DBMinerData.gotarr:type_name -> DBMinerData.GotarrEntry
|
|
1, // 6: DBLatticeData.LatticeEntry.value:type_name -> LatticeData
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] 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
|
|
}
|
|
}
|
|
file_uigame_uigame_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LatticeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_uigame_uigame_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBLatticeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_uigame_uigame_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBMinerData); 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: 10,
|
|
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
|
|
}
|