711 lines
23 KiB
Go
711 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: entertain/entertain_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 MapData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*GirdeData `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 地图数据
|
|
CurSocre int32 `protobuf:"varint,2,opt,name=curSocre,proto3" json:"curSocre"` // 本次地图更新得分
|
|
CurEnergy int32 `protobuf:"varint,3,opt,name=curEnergy,proto3" json:"curEnergy"` // 本次掉落获得的能量
|
|
ChangeType int32 `protobuf:"varint,4,opt,name=changeType,proto3" json:"changeType"` // 1 地图刷新类型
|
|
}
|
|
|
|
func (x *MapData) Reset() {
|
|
*x = MapData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MapData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MapData) ProtoMessage() {}
|
|
|
|
func (x *MapData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_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 MapData.ProtoReflect.Descriptor instead.
|
|
func (*MapData) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *MapData) GetData() []*GirdeData {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MapData) GetCurSocre() int32 {
|
|
if x != nil {
|
|
return x.CurSocre
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MapData) GetCurEnergy() int32 {
|
|
if x != nil {
|
|
return x.CurEnergy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MapData) GetChangeType() int32 {
|
|
if x != nil {
|
|
return x.ChangeType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 消消乐
|
|
type GirdeData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Oid int32 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid"` // 唯一id
|
|
Color int32 `protobuf:"varint,2,opt,name=color,proto3" json:"color"` //
|
|
Cid int32 `protobuf:"varint,3,opt,name=cid,proto3" json:"cid"` // 配置表id
|
|
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"` // 对应的积分
|
|
Special int32 `protobuf:"varint,5,opt,name=special,proto3" json:"special"` // 消除特效: 1 消除这一列所有方块 2 消除这一行所有方块
|
|
}
|
|
|
|
func (x *GirdeData) Reset() {
|
|
*x = GirdeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GirdeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GirdeData) ProtoMessage() {}
|
|
|
|
func (x *GirdeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_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 GirdeData.ProtoReflect.Descriptor instead.
|
|
func (*GirdeData) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GirdeData) GetOid() int32 {
|
|
if x != nil {
|
|
return x.Oid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GirdeData) GetColor() int32 {
|
|
if x != nil {
|
|
return x.Color
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GirdeData) GetCid() int32 {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GirdeData) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GirdeData) GetSpecial() int32 {
|
|
if x != nil {
|
|
return x.Special
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PlayerData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Userinfo *BaseUserInfo `protobuf:"bytes,1,opt,name=userinfo,proto3" json:"userinfo"`
|
|
Score int32 `protobuf:"varint,2,opt,name=score,proto3" json:"score"` // 本局战斗得分
|
|
Ps int32 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps"` // 体力
|
|
Cardid string `protobuf:"bytes,4,opt,name=cardid,proto3" json:"cardid"` // 出战的英雄卡
|
|
Energy int32 `protobuf:"varint,5,opt,name=energy,proto3" json:"energy"` // 能量进度
|
|
Consumeexp int32 `protobuf:"varint,6,opt,name=consumeexp,proto3" json:"consumeexp"` // 消消乐积分
|
|
}
|
|
|
|
func (x *PlayerData) Reset() {
|
|
*x = PlayerData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlayerData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlayerData) ProtoMessage() {}
|
|
|
|
func (x *PlayerData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_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 PlayerData.ProtoReflect.Descriptor instead.
|
|
func (*PlayerData) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PlayerData) GetUserinfo() *BaseUserInfo {
|
|
if x != nil {
|
|
return x.Userinfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PlayerData) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerData) GetPs() int32 {
|
|
if x != nil {
|
|
return x.Ps
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerData) GetCardid() string {
|
|
if x != nil {
|
|
return x.Cardid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlayerData) GetEnergy() int32 {
|
|
if x != nil {
|
|
return x.Energy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PlayerData) GetConsumeexp() int32 {
|
|
if x != nil {
|
|
return x.Consumeexp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 消消乐匹配数据
|
|
type DBXXLMatch struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Userinfo *BaseUserInfo `protobuf:"bytes,1,opt,name=userinfo,proto3" json:"userinfo"`
|
|
Cardid string `protobuf:"bytes,2,opt,name=cardid,proto3" json:"cardid"` // 选择的卡片ID
|
|
Consumeexp int32 `protobuf:"varint,3,opt,name=consumeexp,proto3" json:"consumeexp"` // 消消乐积分
|
|
}
|
|
|
|
func (x *DBXXLMatch) Reset() {
|
|
*x = DBXXLMatch{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBXXLMatch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBXXLMatch) ProtoMessage() {}
|
|
|
|
func (x *DBXXLMatch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_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 DBXXLMatch.ProtoReflect.Descriptor instead.
|
|
func (*DBXXLMatch) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBXXLMatch) GetUserinfo() *BaseUserInfo {
|
|
if x != nil {
|
|
return x.Userinfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBXXLMatch) GetCardid() string {
|
|
if x != nil {
|
|
return x.Cardid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBXXLMatch) GetConsumeexp() int32 {
|
|
if x != nil {
|
|
return x.Consumeexp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BoxData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Boxid int32 `protobuf:"varint,1,opt,name=boxid,proto3" json:"boxid"` // 宝箱ID
|
|
Opentime int64 `protobuf:"varint,2,opt,name=opentime,proto3" json:"opentime"` // 开启时间
|
|
}
|
|
|
|
func (x *BoxData) Reset() {
|
|
*x = BoxData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BoxData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BoxData) ProtoMessage() {}
|
|
|
|
func (x *BoxData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_db_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 BoxData.ProtoReflect.Descriptor instead.
|
|
func (*BoxData) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *BoxData) GetBoxid() int32 {
|
|
if x != nil {
|
|
return x.Boxid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BoxData) GetOpentime() int64 {
|
|
if x != nil {
|
|
return x.Opentime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DBXXLData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
|
|
Reward map[int32]int32 `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 配置表唯一ID
|
|
Card map[string]int32 `protobuf:"bytes,4,rep,name=card,proto3" json:"card" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 卡id value 数量(可为0)
|
|
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` // 刷新时间 (客户端不用)
|
|
Playtype []int32 `protobuf:"varint,6,rep,packed,name=playtype,proto3" json:"playtype"` // 每天随机玩法
|
|
// map<int32,int64> boxid = 7; // 宝箱 key 宝箱id value 可领取的时间
|
|
Box []*BoxData `protobuf:"bytes,7,rep,name=box,proto3" json:"box"`
|
|
Roomid string `protobuf:"bytes,8,opt,name=roomid,proto3" json:"roomid"` // 房间id 重连用
|
|
ServicePath string `protobuf:"bytes,9,opt,name=servicePath,proto3" json:"servicePath"` // 目标服务节点 重连RPC用
|
|
Etime int64 `protobuf:"varint,10,opt,name=etime,proto3" json:"etime"` // 赛季结束时间
|
|
}
|
|
|
|
func (x *DBXXLData) Reset() {
|
|
*x = DBXXLData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_entertain_entertain_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBXXLData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBXXLData) ProtoMessage() {}
|
|
|
|
func (x *DBXXLData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_entertain_entertain_db_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 DBXXLData.ProtoReflect.Descriptor instead.
|
|
func (*DBXXLData) Descriptor() ([]byte, []int) {
|
|
return file_entertain_entertain_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DBXXLData) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBXXLData) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBXXLData) GetReward() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Reward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBXXLData) GetCard() map[string]int32 {
|
|
if x != nil {
|
|
return x.Card
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBXXLData) GetRtime() int64 {
|
|
if x != nil {
|
|
return x.Rtime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBXXLData) GetPlaytype() []int32 {
|
|
if x != nil {
|
|
return x.Playtype
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBXXLData) GetBox() []*BoxData {
|
|
if x != nil {
|
|
return x.Box
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBXXLData) GetRoomid() string {
|
|
if x != nil {
|
|
return x.Roomid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBXXLData) GetServicePath() string {
|
|
if x != nil {
|
|
return x.ServicePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBXXLData) GetEtime() int64 {
|
|
if x != nil {
|
|
return x.Etime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_entertain_entertain_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_entertain_entertain_db_proto_rawDesc = []byte{
|
|
0x0a, 0x1c, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x2f, 0x65, 0x6e, 0x74, 0x65,
|
|
0x72, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x07, 0x4d,
|
|
0x61, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x47, 0x69, 0x72, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61,
|
|
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x53, 0x6f, 0x63,
|
|
0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x53, 0x6f, 0x63,
|
|
0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
|
|
0x22, 0x75, 0x0a, 0x09, 0x47, 0x69, 0x72, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12,
|
|
0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
|
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x18, 0x0a,
|
|
0x07, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x22, 0xad, 0x01, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x79,
|
|
0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e,
|
|
0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55,
|
|
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66,
|
|
0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x73, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x02, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x72, 0x64, 0x69,
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x69, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x75,
|
|
0x6d, 0x65, 0x65, 0x78, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e,
|
|
0x73, 0x75, 0x6d, 0x65, 0x65, 0x78, 0x70, 0x22, 0x6f, 0x0a, 0x0a, 0x44, 0x42, 0x58, 0x58, 0x4c,
|
|
0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66,
|
|
0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73,
|
|
0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x72, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73,
|
|
0x75, 0x6d, 0x65, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f,
|
|
0x6e, 0x73, 0x75, 0x6d, 0x65, 0x65, 0x78, 0x70, 0x22, 0x3b, 0x0a, 0x07, 0x42, 0x6f, 0x78, 0x44,
|
|
0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65,
|
|
0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65,
|
|
0x6e, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x99, 0x03, 0x0a, 0x09, 0x44, 0x42, 0x58, 0x58, 0x4c, 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, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18,
|
|
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x58, 0x58, 0x4c, 0x44, 0x61, 0x74,
|
|
0x61, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72,
|
|
0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x58, 0x58, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x2e,
|
|
0x43, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x12,
|
|
0x14, 0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x74, 0x79, 0x70,
|
|
0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x74, 0x79, 0x70,
|
|
0x65, 0x12, 0x1a, 0x0a, 0x03, 0x62, 0x6f, 0x78, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08,
|
|
0x2e, 0x42, 0x6f, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x03, 0x62, 0x6f, 0x78, 0x12, 0x16, 0x0a,
|
|
0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
|
|
0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x50, 0x61, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x39, 0x0a,
|
|
0x0b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 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, 0x37, 0x0a, 0x09, 0x43, 0x61, 0x72, 0x64,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 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_entertain_entertain_db_proto_rawDescOnce sync.Once
|
|
file_entertain_entertain_db_proto_rawDescData = file_entertain_entertain_db_proto_rawDesc
|
|
)
|
|
|
|
func file_entertain_entertain_db_proto_rawDescGZIP() []byte {
|
|
file_entertain_entertain_db_proto_rawDescOnce.Do(func() {
|
|
file_entertain_entertain_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_entertain_entertain_db_proto_rawDescData)
|
|
})
|
|
return file_entertain_entertain_db_proto_rawDescData
|
|
}
|
|
|
|
var file_entertain_entertain_db_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_entertain_entertain_db_proto_goTypes = []interface{}{
|
|
(*MapData)(nil), // 0: MapData
|
|
(*GirdeData)(nil), // 1: GirdeData
|
|
(*PlayerData)(nil), // 2: PlayerData
|
|
(*DBXXLMatch)(nil), // 3: DBXXLMatch
|
|
(*BoxData)(nil), // 4: BoxData
|
|
(*DBXXLData)(nil), // 5: DBXXLData
|
|
nil, // 6: DBXXLData.RewardEntry
|
|
nil, // 7: DBXXLData.CardEntry
|
|
(*BaseUserInfo)(nil), // 8: BaseUserInfo
|
|
}
|
|
var file_entertain_entertain_db_proto_depIdxs = []int32{
|
|
1, // 0: MapData.data:type_name -> GirdeData
|
|
8, // 1: PlayerData.userinfo:type_name -> BaseUserInfo
|
|
8, // 2: DBXXLMatch.userinfo:type_name -> BaseUserInfo
|
|
6, // 3: DBXXLData.reward:type_name -> DBXXLData.RewardEntry
|
|
7, // 4: DBXXLData.card:type_name -> DBXXLData.CardEntry
|
|
4, // 5: DBXXLData.box:type_name -> BoxData
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_entertain_entertain_db_proto_init() }
|
|
func file_entertain_entertain_db_proto_init() {
|
|
if File_entertain_entertain_db_proto != nil {
|
|
return
|
|
}
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_entertain_entertain_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MapData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_entertain_entertain_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GirdeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_entertain_entertain_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlayerData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_entertain_entertain_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBXXLMatch); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_entertain_entertain_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BoxData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_entertain_entertain_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBXXLData); 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_entertain_entertain_db_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_entertain_entertain_db_proto_goTypes,
|
|
DependencyIndexes: file_entertain_entertain_db_proto_depIdxs,
|
|
MessageInfos: file_entertain_entertain_db_proto_msgTypes,
|
|
}.Build()
|
|
File_entertain_entertain_db_proto = out.File
|
|
file_entertain_entertain_db_proto_rawDesc = nil
|
|
file_entertain_entertain_db_proto_goTypes = nil
|
|
file_entertain_entertain_db_proto_depIdxs = nil
|
|
}
|