1029 lines
45 KiB
Go
1029 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.28.0
|
||
// protoc v3.20.0
|
||
// source: stonehenge/stonehenge_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 StonehengePrivilege int32
|
||
|
||
const (
|
||
StonehengePrivilege_StonehengePrivilege_Noll StonehengePrivilege = 0
|
||
StonehengePrivilege_StonehengePrivilege_1 StonehengePrivilege = 1 //解锁“事件商店”中,复活事件
|
||
StonehengePrivilege_StonehengePrivilege_2 StonehengePrivilege = 2 //解锁“事件商店”中,支援事件
|
||
StonehengePrivilege_StonehengePrivilege_3 StonehengePrivilege = 3 //解锁“事件商店”中,更换buff事件
|
||
StonehengePrivilege_StonehengePrivilege_4 StonehengePrivilege = 4 //累计选择3个关卡开局所选类型的buff后,可额外触发一次随机buff三选一事件
|
||
StonehengePrivilege_StonehengePrivilege_5 StonehengePrivilege = 5 //累计选择6个关卡开局所选类型的buff后,可额外触发一次随机buff三选一事件
|
||
StonehengePrivilege_StonehengePrivilege_6 StonehengePrivilege = 6 //累计选择10个所选类型的buff后,可额外触发一次随机buff三选一事件
|
||
StonehengePrivilege_StonehengePrivilege_7 StonehengePrivilege = 7 //随机buff三选一事件,新增重置功能
|
||
StonehengePrivilege_StonehengePrivilege_8 StonehengePrivilege = 8 //每次进入关卡时,玩家会增加指定数量的道具(必定为item类型)
|
||
)
|
||
|
||
// Enum value maps for StonehengePrivilege.
|
||
var (
|
||
StonehengePrivilege_name = map[int32]string{
|
||
0: "StonehengePrivilege_Noll",
|
||
1: "StonehengePrivilege_1",
|
||
2: "StonehengePrivilege_2",
|
||
3: "StonehengePrivilege_3",
|
||
4: "StonehengePrivilege_4",
|
||
5: "StonehengePrivilege_5",
|
||
6: "StonehengePrivilege_6",
|
||
7: "StonehengePrivilege_7",
|
||
8: "StonehengePrivilege_8",
|
||
}
|
||
StonehengePrivilege_value = map[string]int32{
|
||
"StonehengePrivilege_Noll": 0,
|
||
"StonehengePrivilege_1": 1,
|
||
"StonehengePrivilege_2": 2,
|
||
"StonehengePrivilege_3": 3,
|
||
"StonehengePrivilege_4": 4,
|
||
"StonehengePrivilege_5": 5,
|
||
"StonehengePrivilege_6": 6,
|
||
"StonehengePrivilege_7": 7,
|
||
"StonehengePrivilege_8": 8,
|
||
}
|
||
)
|
||
|
||
func (x StonehengePrivilege) Enum() *StonehengePrivilege {
|
||
p := new(StonehengePrivilege)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x StonehengePrivilege) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (StonehengePrivilege) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_stonehenge_stonehenge_db_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (StonehengePrivilege) Type() protoreflect.EnumType {
|
||
return &file_stonehenge_stonehenge_db_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x StonehengePrivilege) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use StonehengePrivilege.Descriptor instead.
|
||
func (StonehengePrivilege) EnumDescriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// 关卡信息
|
||
type RoomData struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Eventid map[int32]bool `protobuf:"bytes,1,rep,name=eventid,proto3" json:"eventid" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //房间的事件信息 true 表示已完成
|
||
Portal []int32 `protobuf:"varint,2,rep,packed,name=portal,proto3" json:"portal"` // 传送门id
|
||
Selectbuff []int32 `protobuf:"varint,3,rep,packed,name=selectbuff,proto3" json:"selectbuff"` // 给前端显示的buff 组
|
||
// map<int32,int32> group = 4; // 事件组
|
||
Complete bool `protobuf:"varint,5,opt,name=complete,proto3" json:"complete"` // 房间是否通关
|
||
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index"` // 房间索引
|
||
Roomid int32 `protobuf:"varint,7,opt,name=roomid,proto3" json:"roomid"` // 房间id
|
||
// repeated string hero = 8; //上阵英雄 继承血量用
|
||
Box map[int32]int32 `protobuf:"bytes,9,rep,name=box,proto3" json:"box" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 宝箱事件
|
||
Story int32 `protobuf:"varint,10,opt,name=story,proto3" json:"story"` // 剧情id
|
||
Shop map[int32]int32 `protobuf:"bytes,11,rep,name=shop,proto3" json:"shop" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 商店
|
||
Passive map[int32]int32 `protobuf:"bytes,12,rep,name=passive,proto3" json:"passive" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 被动事件
|
||
Resetcount int32 `protobuf:"varint,13,opt,name=resetcount,proto3" json:"resetcount"` //三选一事件重置次数
|
||
}
|
||
|
||
func (x *RoomData) Reset() {
|
||
*x = RoomData{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *RoomData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RoomData) ProtoMessage() {}
|
||
|
||
func (x *RoomData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 RoomData.ProtoReflect.Descriptor instead.
|
||
func (*RoomData) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *RoomData) GetEventid() map[int32]bool {
|
||
if x != nil {
|
||
return x.Eventid
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetPortal() []int32 {
|
||
if x != nil {
|
||
return x.Portal
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetSelectbuff() []int32 {
|
||
if x != nil {
|
||
return x.Selectbuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetComplete() bool {
|
||
if x != nil {
|
||
return x.Complete
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RoomData) GetIndex() int32 {
|
||
if x != nil {
|
||
return x.Index
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomData) GetRoomid() int32 {
|
||
if x != nil {
|
||
return x.Roomid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomData) GetBox() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Box
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetStory() int32 {
|
||
if x != nil {
|
||
return x.Story
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RoomData) GetShop() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Shop
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetPassive() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Passive
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RoomData) GetResetcount() int32 {
|
||
if x != nil {
|
||
return x.Resetcount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type DBStonehenge 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"`
|
||
StageID int32 `protobuf:"varint,3,opt,name=stageID,proto3" json:"stageID"` // 关卡id
|
||
CurRoomIndes int32 `protobuf:"varint,4,opt,name=curRoomIndes,proto3" json:"curRoomIndes"` // 当前房间索引 初始 0 每通关一次+1
|
||
Rooms *RoomData `protobuf:"bytes,5,opt,name=rooms,proto3" json:"rooms"` // 当前房间信息
|
||
Webuff []int32 `protobuf:"varint,6,rep,packed,name=webuff,proto3" json:"webuff"` // 我方环境buff 不能被更改
|
||
Enemybuff []int32 `protobuf:"varint,7,rep,packed,name=enemybuff,proto3" json:"enemybuff"` // 地方环境buff 不能被更改
|
||
Userbuff map[int32]int32 `protobuf:"bytes,8,rep,name=userbuff,proto3" json:"userbuff" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 玩家获得的buff key:buffid value:0
|
||
Hero map[string]*BattleRole `protobuf:"bytes,9,rep,name=hero,proto3" json:"hero" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 英雄信息
|
||
Reward map[int32]bool `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 是否首通 key:stageid
|
||
Addweight map[int32]int32 `protobuf:"bytes,11,rep,name=addweight,proto3" json:"addweight" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 选择buff权重增加 key 类型
|
||
Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结算时间
|
||
Talent map[int32]bool `protobuf:"bytes,13,rep,name=talent,proto3" json:"talent" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋树
|
||
Talentproperty map[string]int32 `protobuf:"bytes,14,rep,name=talentproperty,proto3" json:"talentproperty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋属性
|
||
Privilege []StonehengePrivilege `protobuf:"varint,15,rep,packed,name=privilege,proto3,enum=StonehengePrivilege" json:"privilege"` //解锁特权
|
||
Integral int32 `protobuf:"varint,16,opt,name=integral,proto3" json:"integral"` //积分
|
||
Weeklyreward map[int32]bool `protobuf:"bytes,17,rep,name=weeklyreward,proto3" json:"weeklyreward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //周长奖励领取
|
||
Task map[int32]bool `protobuf:"bytes,18,rep,name=task,proto3" json:"task" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //已领取的任务
|
||
Privilegeevent map[int32]int32 `protobuf:"bytes,19,rep,name=privilegeevent,proto3" json:"privilegeevent" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 记录特权完成情况
|
||
Selectcount int32 `protobuf:"varint,20,opt,name=selectcount,proto3" json:"selectcount"` //三选一事件次数
|
||
}
|
||
|
||
func (x *DBStonehenge) Reset() {
|
||
*x = DBStonehenge{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *DBStonehenge) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DBStonehenge) ProtoMessage() {}
|
||
|
||
func (x *DBStonehenge) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 DBStonehenge.ProtoReflect.Descriptor instead.
|
||
func (*DBStonehenge) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *DBStonehenge) GetId() string {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DBStonehenge) GetUid() string {
|
||
if x != nil {
|
||
return x.Uid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DBStonehenge) GetStageID() int32 {
|
||
if x != nil {
|
||
return x.StageID
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DBStonehenge) GetCurRoomIndes() int32 {
|
||
if x != nil {
|
||
return x.CurRoomIndes
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DBStonehenge) GetRooms() *RoomData {
|
||
if x != nil {
|
||
return x.Rooms
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetWebuff() []int32 {
|
||
if x != nil {
|
||
return x.Webuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetEnemybuff() []int32 {
|
||
if x != nil {
|
||
return x.Enemybuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetUserbuff() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Userbuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetHero() map[string]*BattleRole {
|
||
if x != nil {
|
||
return x.Hero
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetReward() map[int32]bool {
|
||
if x != nil {
|
||
return x.Reward
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetAddweight() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Addweight
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetEtime() int64 {
|
||
if x != nil {
|
||
return x.Etime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DBStonehenge) GetTalent() map[int32]bool {
|
||
if x != nil {
|
||
return x.Talent
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetTalentproperty() map[string]int32 {
|
||
if x != nil {
|
||
return x.Talentproperty
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetPrivilege() []StonehengePrivilege {
|
||
if x != nil {
|
||
return x.Privilege
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetIntegral() int32 {
|
||
if x != nil {
|
||
return x.Integral
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DBStonehenge) GetWeeklyreward() map[int32]bool {
|
||
if x != nil {
|
||
return x.Weeklyreward
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetTask() map[int32]bool {
|
||
if x != nil {
|
||
return x.Task
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetPrivilegeevent() map[int32]int32 {
|
||
if x != nil {
|
||
return x.Privilegeevent
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehenge) GetSelectcount() int32 {
|
||
if x != nil {
|
||
return x.Selectcount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type StageData struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Mainebuff []int32 `protobuf:"varint,1,rep,packed,name=mainebuff,proto3" json:"mainebuff"` // 我方buff
|
||
Enemybuff []int32 `protobuf:"varint,2,rep,packed,name=enemybuff,proto3" json:"enemybuff"` // 敌方buff
|
||
Roomid int32 `protobuf:"varint,3,opt,name=roomid,proto3" json:"roomid"` // 传送门id
|
||
}
|
||
|
||
func (x *StageData) Reset() {
|
||
*x = StageData{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *StageData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StageData) ProtoMessage() {}
|
||
|
||
func (x *StageData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 StageData.ProtoReflect.Descriptor instead.
|
||
func (*StageData) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *StageData) GetMainebuff() []int32 {
|
||
if x != nil {
|
||
return x.Mainebuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StageData) GetEnemybuff() []int32 {
|
||
if x != nil {
|
||
return x.Enemybuff
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StageData) GetRoomid() int32 {
|
||
if x != nil {
|
||
return x.Roomid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type DBStoneBoss struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Bossstage map[int32]*StageData `protobuf:"bytes,1,rep,name=bossstage,proto3" json:"bossstage" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
Rtime int64 `protobuf:"varint,2,opt,name=rtime,proto3" json:"rtime"`
|
||
}
|
||
|
||
func (x *DBStoneBoss) Reset() {
|
||
*x = DBStoneBoss{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *DBStoneBoss) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DBStoneBoss) ProtoMessage() {}
|
||
|
||
func (x *DBStoneBoss) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 DBStoneBoss.ProtoReflect.Descriptor instead.
|
||
func (*DBStoneBoss) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *DBStoneBoss) GetBossstage() map[int32]*StageData {
|
||
if x != nil {
|
||
return x.Bossstage
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStoneBoss) GetRtime() int64 {
|
||
if x != nil {
|
||
return x.Rtime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
//图鉴
|
||
type DBStonehengeBook 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"`
|
||
Award map[int32]*DBStonehengeBookAward `protobuf:"bytes,4,rep,name=award,proto3" json:"award" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
}
|
||
|
||
func (x *DBStonehengeBook) Reset() {
|
||
*x = DBStonehengeBook{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *DBStonehengeBook) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DBStonehengeBook) ProtoMessage() {}
|
||
|
||
func (x *DBStonehengeBook) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 DBStonehengeBook.ProtoReflect.Descriptor instead.
|
||
func (*DBStonehengeBook) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *DBStonehengeBook) GetId() string {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DBStonehengeBook) GetUid() string {
|
||
if x != nil {
|
||
return x.Uid
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DBStonehengeBook) GetAward() map[int32]*DBStonehengeBookAward {
|
||
if x != nil {
|
||
return x.Award
|
||
}
|
||
return nil
|
||
}
|
||
|
||
//图鉴奖励
|
||
type DBStonehengeBookAward struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Btype int32 `protobuf:"varint,1,opt,name=btype,proto3" json:"btype"`
|
||
Books []int32 `protobuf:"varint,2,rep,packed,name=books,proto3" json:"books"`
|
||
Stage map[int32]bool `protobuf:"bytes,3,rep,name=stage,proto3" json:"stage" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||
}
|
||
|
||
func (x *DBStonehengeBookAward) Reset() {
|
||
*x = DBStonehengeBookAward{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *DBStonehengeBookAward) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DBStonehengeBookAward) ProtoMessage() {}
|
||
|
||
func (x *DBStonehengeBookAward) ProtoReflect() protoreflect.Message {
|
||
mi := &file_stonehenge_stonehenge_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 DBStonehengeBookAward.ProtoReflect.Descriptor instead.
|
||
func (*DBStonehengeBookAward) Descriptor() ([]byte, []int) {
|
||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *DBStonehengeBookAward) GetBtype() int32 {
|
||
if x != nil {
|
||
return x.Btype
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DBStonehengeBookAward) GetBooks() []int32 {
|
||
if x != nil {
|
||
return x.Books
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *DBStonehengeBookAward) GetStage() map[int32]bool {
|
||
if x != nil {
|
||
return x.Stage
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_stonehenge_stonehenge_db_proto protoreflect.FileDescriptor
|
||
|
||
var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||
0x0a, 0x1e, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2f, 0x73, 0x74, 0x6f,
|
||
0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
0x1a, 0x16, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f,
|
||
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x04, 0x0a, 0x08, 0x52, 0x6f, 0x6f,
|
||
0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64,
|
||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74,
|
||
0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07,
|
||
0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x61,
|
||
0x6c, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12,
|
||
0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62, 0x75, 0x66, 0x66, 0x18, 0x03, 0x20,
|
||
0x03, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62, 0x75, 0x66, 0x66, 0x12,
|
||
0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||
0x08, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69,
|
||
0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65,
|
||
0x78, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
0x05, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x03, 0x62, 0x6f, 0x78,
|
||
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74,
|
||
0x61, 0x2e, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x62, 0x6f, 0x78, 0x12,
|
||
0x14, 0x0a, 0x05, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||
0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x0b, 0x20,
|
||
0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53,
|
||
0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x12, 0x30,
|
||
0x0a, 0x07, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||
0x16, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x69,
|
||
0x76, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65,
|
||
0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d,
|
||
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||
0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x69, 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,
|
||
0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08,
|
||
0x42, 0x6f, 0x78, 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, 0x53, 0x68, 0x6f, 0x70, 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, 0x3a, 0x0a,
|
||
0x0c, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 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, 0x94, 0x0b, 0x0a, 0x0c, 0x44, 0x42,
|
||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 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, 0x18, 0x0a, 0x07,
|
||
0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73,
|
||
0x74, 0x61, 0x67, 0x65, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x6f,
|
||
0x6d, 0x49, 0x6e, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x75,
|
||
0x72, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x05, 0x72, 0x6f,
|
||
0x6f, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x6f, 0x6f, 0x6d,
|
||
0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77,
|
||
0x65, 0x62, 0x75, 0x66, 0x66, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x62,
|
||
0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66,
|
||
0x18, 0x07, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66,
|
||
0x66, 0x12, 0x37, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x18, 0x08, 0x20,
|
||
0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
||
0x67, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||
0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x12, 0x2b, 0x0a, 0x04, 0x68, 0x65,
|
||
0x72, 0x6f, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f,
|
||
0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72,
|
||
0x79, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x31, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72,
|
||
0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e,
|
||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74,
|
||
0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x64,
|
||
0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
|
||
0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64,
|
||
0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x64, 0x64,
|
||
0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
||
0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x06,
|
||
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44,
|
||
0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x6c, 0x65,
|
||
0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12,
|
||
0x49, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
|
||
0x79, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e,
|
||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f,
|
||
0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65,
|
||
0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72,
|
||
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e,
|
||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c,
|
||
0x65, 0x67, 0x65, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x1a,
|
||
0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x43, 0x0a, 0x0c, 0x77, 0x65,
|
||
0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b,
|
||
0x32, 0x1f, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e,
|
||
0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72,
|
||
0x79, 0x52, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12,
|
||
0x2b, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||
0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x73,
|
||
0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0e,
|
||
0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x13,
|
||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65,
|
||
0x6e, 0x67, 0x65, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x65, 0x76, 0x65,
|
||
0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
|
||
0x67, 0x65, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63,
|
||
0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x65,
|
||
0x6c, 0x65, 0x63, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65,
|
||
0x72, 0x62, 0x75, 0x66, 0x66, 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, 0x44, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e,
|
||
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c,
|
||
0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 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, 0x08, 0x52, 0x05, 0x76, 0x61,
|
||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65,
|
||
0x69, 0x67, 0x68, 0x74, 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, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 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, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||
0x1a, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
|
||
0x74, 0x79, 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, 0x1a, 0x3f, 0x0a, 0x11, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 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, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 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, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a,
|
||
0x13, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x65, 0x76, 0x65, 0x6e, 0x74, 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, 0x5f, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a,
|
||
0x09, 0x6d, 0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
|
||
0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x65,
|
||
0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09,
|
||
0x65, 0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f,
|
||
0x6d, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69,
|
||
0x64, 0x22, 0xa8, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f, 0x73,
|
||
0x73, 0x12, 0x39, 0x0a, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01,
|
||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f,
|
||
0x73, 0x73, 0x2e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
||
0x79, 0x52, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
||
0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69,
|
||
0x6d, 0x65, 0x1a, 0x48, 0x0a, 0x0e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 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, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74,
|
||
0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x01, 0x0a,
|
||
0x10, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f,
|
||
0x6b, 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, 0x32, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03,
|
||
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67,
|
||
0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||
0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x50, 0x0a, 0x0a, 0x41, 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, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65,
|
||
0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x05,
|
||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x44, 0x42,
|
||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77,
|
||
0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f,
|
||
0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12,
|
||
0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
|
||
0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f,
|
||
0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
||
0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x67,
|
||
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, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
||
0x38, 0x01, 0x2a, 0x8b, 0x02, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67,
|
||
0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x74,
|
||
0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
||
0x65, 0x5f, 0x4e, 0x6f, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e,
|
||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f,
|
||
0x31, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67,
|
||
0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x32, 0x10, 0x02, 0x12, 0x19,
|
||
0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76,
|
||
0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x33, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f,
|
||
0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
|
||
0x5f, 0x34, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
||
0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x35, 0x10, 0x05, 0x12,
|
||
0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69,
|
||
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x36, 0x10, 0x06, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74,
|
||
0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
||
0x65, 0x5f, 0x37, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65,
|
||
0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x38, 0x10, 0x08,
|
||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_stonehenge_stonehenge_db_proto_rawDescOnce sync.Once
|
||
file_stonehenge_stonehenge_db_proto_rawDescData = file_stonehenge_stonehenge_db_proto_rawDesc
|
||
)
|
||
|
||
func file_stonehenge_stonehenge_db_proto_rawDescGZIP() []byte {
|
||
file_stonehenge_stonehenge_db_proto_rawDescOnce.Do(func() {
|
||
file_stonehenge_stonehenge_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_stonehenge_stonehenge_db_proto_rawDescData)
|
||
})
|
||
return file_stonehenge_stonehenge_db_proto_rawDescData
|
||
}
|
||
|
||
var file_stonehenge_stonehenge_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||
(*RoomData)(nil), // 1: RoomData
|
||
(*DBStonehenge)(nil), // 2: DBStonehenge
|
||
(*StageData)(nil), // 3: StageData
|
||
(*DBStoneBoss)(nil), // 4: DBStoneBoss
|
||
(*DBStonehengeBook)(nil), // 5: DBStonehengeBook
|
||
(*DBStonehengeBookAward)(nil), // 6: DBStonehengeBookAward
|
||
nil, // 7: RoomData.EventidEntry
|
||
nil, // 8: RoomData.BoxEntry
|
||
nil, // 9: RoomData.ShopEntry
|
||
nil, // 10: RoomData.PassiveEntry
|
||
nil, // 11: DBStonehenge.UserbuffEntry
|
||
nil, // 12: DBStonehenge.HeroEntry
|
||
nil, // 13: DBStonehenge.RewardEntry
|
||
nil, // 14: DBStonehenge.AddweightEntry
|
||
nil, // 15: DBStonehenge.TalentEntry
|
||
nil, // 16: DBStonehenge.TalentpropertyEntry
|
||
nil, // 17: DBStonehenge.WeeklyrewardEntry
|
||
nil, // 18: DBStonehenge.TaskEntry
|
||
nil, // 19: DBStonehenge.PrivilegeeventEntry
|
||
nil, // 20: DBStoneBoss.BossstageEntry
|
||
nil, // 21: DBStonehengeBook.AwardEntry
|
||
nil, // 22: DBStonehengeBookAward.StageEntry
|
||
(*BattleRole)(nil), // 23: BattleRole
|
||
}
|
||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||
7, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||
8, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||
9, // 2: RoomData.shop:type_name -> RoomData.ShopEntry
|
||
10, // 3: RoomData.passive:type_name -> RoomData.PassiveEntry
|
||
1, // 4: DBStonehenge.rooms:type_name -> RoomData
|
||
11, // 5: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||
12, // 6: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||
13, // 7: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||
14, // 8: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||
15, // 9: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||
16, // 10: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||
0, // 11: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||
17, // 12: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||
18, // 13: DBStonehenge.task:type_name -> DBStonehenge.TaskEntry
|
||
19, // 14: DBStonehenge.privilegeevent:type_name -> DBStonehenge.PrivilegeeventEntry
|
||
20, // 15: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||
21, // 16: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||
22, // 17: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||
23, // 18: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||
3, // 19: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||
6, // 20: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||
21, // [21:21] is the sub-list for method output_type
|
||
21, // [21:21] is the sub-list for method input_type
|
||
21, // [21:21] is the sub-list for extension type_name
|
||
21, // [21:21] is the sub-list for extension extendee
|
||
0, // [0:21] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||
func file_stonehenge_stonehenge_db_proto_init() {
|
||
if File_stonehenge_stonehenge_db_proto != nil {
|
||
return
|
||
}
|
||
file_battle_battle_db_proto_init()
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*RoomData); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*DBStonehenge); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*StageData); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*DBStoneBoss); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*DBStonehengeBook); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_stonehenge_stonehenge_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*DBStonehengeBookAward); 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_stonehenge_stonehenge_db_proto_rawDesc,
|
||
NumEnums: 1,
|
||
NumMessages: 22,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_stonehenge_stonehenge_db_proto_goTypes,
|
||
DependencyIndexes: file_stonehenge_stonehenge_db_proto_depIdxs,
|
||
EnumInfos: file_stonehenge_stonehenge_db_proto_enumTypes,
|
||
MessageInfos: file_stonehenge_stonehenge_db_proto_msgTypes,
|
||
}.Build()
|
||
File_stonehenge_stonehenge_db_proto = out.File
|
||
file_stonehenge_stonehenge_db_proto_rawDesc = nil
|
||
file_stonehenge_stonehenge_db_proto_goTypes = nil
|
||
file_stonehenge_stonehenge_db_proto_depIdxs = nil
|
||
}
|