1067 lines
36 KiB
Go
1067 lines
36 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: smithy/smithy_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 Mastery struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Lv int32 `protobuf:"varint,1,opt,name=lv,proto3" json:"lv"`
|
|
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value"`
|
|
}
|
|
|
|
func (x *Mastery) Reset() {
|
|
*x = Mastery{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Mastery) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Mastery) ProtoMessage() {}
|
|
|
|
func (x *Mastery) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 Mastery.ProtoReflect.Descriptor instead.
|
|
func (*Mastery) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Mastery) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Mastery) GetValue() int32 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 炉子信息
|
|
type DBStove 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
|
|
Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` // 炉子等级
|
|
Data map[int32]*Mastery `protobuf:"bytes,4,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key 图纸ID value 熟练度
|
|
Skill map[int32]int32 `protobuf:"bytes,5,rep,name=skill,proto3" json:"skill" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 台子技能
|
|
Forge map[int32]int32 `protobuf:"bytes,6,rep,name=forge,proto3" json:"forge" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 套装类型 value 打造次数
|
|
Temperature int32 `protobuf:"varint,7,opt,name=temperature,proto3" json:"temperature"` // 炉子温度
|
|
RecoveTime int64 `protobuf:"varint,8,opt,name=recoveTime,proto3" json:"recoveTime" bson:"recoveTime"` //恢复满时间
|
|
Hit map[int32]int32 `protobuf:"bytes,9,rep,name=hit,proto3" json:"hit" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *DBStove) Reset() {
|
|
*x = DBStove{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBStove) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBStove) ProtoMessage() {}
|
|
|
|
func (x *DBStove) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 DBStove.ProtoReflect.Descriptor instead.
|
|
func (*DBStove) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBStove) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBStove) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBStove) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBStove) GetData() map[int32]*Mastery {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBStove) GetSkill() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Skill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBStove) GetForge() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Forge
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBStove) GetTemperature() int32 {
|
|
if x != nil {
|
|
return x.Temperature
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBStove) GetRecoveTime() int64 {
|
|
if x != nil {
|
|
return x.RecoveTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBStove) GetHit() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Hit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CustomerInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CustomerId int32 `protobuf:"varint,1,opt,name=customerId,proto3" json:"customerId"` //顾客ID
|
|
SuitId int32 `protobuf:"varint,2,opt,name=suitId,proto3" json:"suitId"` //套装ID 随机套装
|
|
EquipCount int32 `protobuf:"varint,3,opt,name=equipCount,proto3" json:"equipCount"` //装备数量
|
|
}
|
|
|
|
func (x *CustomerInfo) Reset() {
|
|
*x = CustomerInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CustomerInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomerInfo) ProtoMessage() {}
|
|
|
|
func (x *CustomerInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 CustomerInfo.ProtoReflect.Descriptor instead.
|
|
func (*CustomerInfo) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CustomerInfo) GetCustomerId() int32 {
|
|
if x != nil {
|
|
return x.CustomerId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CustomerInfo) GetSuitId() int32 {
|
|
if x != nil {
|
|
return x.SuitId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CustomerInfo) GetEquipCount() int32 {
|
|
if x != nil {
|
|
return x.EquipCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DBCustomer 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"` //
|
|
Customers []*CustomerInfo `protobuf:"bytes,3,rep,name=customers,proto3" json:"customers" bson:"customers"` // 顾客信息
|
|
Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total" bson:"total"` //顾客累计数
|
|
LastRefreshTime int64 `protobuf:"varint,5,opt,name=lastRefreshTime,proto3" json:"lastRefreshTime" bson:"lastRefreshTime"` // 上次更新时间
|
|
}
|
|
|
|
func (x *DBCustomer) Reset() {
|
|
*x = DBCustomer{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBCustomer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBCustomer) ProtoMessage() {}
|
|
|
|
func (x *DBCustomer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 DBCustomer.ProtoReflect.Descriptor instead.
|
|
func (*DBCustomer) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBCustomer) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCustomer) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCustomer) GetCustomers() []*CustomerInfo {
|
|
if x != nil {
|
|
return x.Customers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBCustomer) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCustomer) GetLastRefreshTime() int64 {
|
|
if x != nil {
|
|
return x.LastRefreshTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 装备图鉴
|
|
type DBAtlas 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
|
|
Atlas map[string]*ForgeList `protobuf:"bytes,3,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 图鉴信息
|
|
Collect map[string]*CollectData `protobuf:"bytes,4,rep,name=collect,proto3" json:"collect" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 收藏品图鉴信息
|
|
Score int32 `protobuf:"varint,5,opt,name=score,proto3" json:"score"` // 总积分
|
|
Award int32 `protobuf:"varint,6,opt,name=award,proto3" json:"award"` // 奖励进度
|
|
}
|
|
|
|
func (x *DBAtlas) Reset() {
|
|
*x = DBAtlas{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBAtlas) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBAtlas) ProtoMessage() {}
|
|
|
|
func (x *DBAtlas) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 DBAtlas.ProtoReflect.Descriptor instead.
|
|
func (*DBAtlas) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DBAtlas) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBAtlas) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBAtlas) GetAtlas() map[string]*ForgeList {
|
|
if x != nil {
|
|
return x.Atlas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBAtlas) GetCollect() map[string]*CollectData {
|
|
if x != nil {
|
|
return x.Collect
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBAtlas) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBAtlas) GetAward() int32 {
|
|
if x != nil {
|
|
return x.Award
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CollectData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // 收集图鉴id
|
|
Score int32 `protobuf:"varint,2,opt,name=score,proto3" json:"score"`
|
|
Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time"` // 获得时间
|
|
Activate bool `protobuf:"varint,4,opt,name=activate,proto3" json:"activate"` // 是否激活
|
|
}
|
|
|
|
func (x *CollectData) Reset() {
|
|
*x = CollectData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CollectData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CollectData) ProtoMessage() {}
|
|
|
|
func (x *CollectData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_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 CollectData.ProtoReflect.Descriptor instead.
|
|
func (*CollectData) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CollectData) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CollectData) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectData) GetTime() int64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CollectData) GetActivate() bool {
|
|
if x != nil {
|
|
return x.Activate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ForgeList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data1 *ForgeData `protobuf:"bytes,1,opt,name=data1,proto3" json:"data1"`
|
|
Data2 *ForgeData `protobuf:"bytes,2,opt,name=data2,proto3" json:"data2"`
|
|
Activate bool `protobuf:"varint,3,opt,name=activate,proto3" json:"activate"` // 是否激活
|
|
}
|
|
|
|
func (x *ForgeList) Reset() {
|
|
*x = ForgeList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForgeList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForgeList) ProtoMessage() {}
|
|
|
|
func (x *ForgeList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[6]
|
|
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 ForgeList.ProtoReflect.Descriptor instead.
|
|
func (*ForgeList) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ForgeList) GetData1() *ForgeData {
|
|
if x != nil {
|
|
return x.Data1
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForgeList) GetData2() *ForgeData {
|
|
if x != nil {
|
|
return x.Data2
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForgeList) GetActivate() bool {
|
|
if x != nil {
|
|
return x.Activate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ForgeData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ForgeCount int32 `protobuf:"varint,1,opt,name=forgeCount,proto3" json:"forgeCount"` // 打造次数
|
|
Lv int32 `protobuf:"varint,2,opt,name=lv,proto3" json:"lv"`
|
|
Quality int32 `protobuf:"varint,3,opt,name=quality,proto3" json:"quality"`
|
|
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"`
|
|
Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time"` // 获得时间
|
|
}
|
|
|
|
func (x *ForgeData) Reset() {
|
|
*x = ForgeData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForgeData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForgeData) ProtoMessage() {}
|
|
|
|
func (x *ForgeData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[7]
|
|
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 ForgeData.ProtoReflect.Descriptor instead.
|
|
func (*ForgeData) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ForgeData) GetForgeCount() int32 {
|
|
if x != nil {
|
|
return x.ForgeCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForgeData) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForgeData) GetQuality() int32 {
|
|
if x != nil {
|
|
return x.Quality
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForgeData) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForgeData) GetTime() int64 {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//玩家图鉴任务
|
|
type DBTujianTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid" bson:"uid"`
|
|
Tasks []*TujianTask `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks" bson:"tasks"` // 任务列表
|
|
}
|
|
|
|
func (x *DBTujianTask) Reset() {
|
|
*x = DBTujianTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBTujianTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBTujianTask) ProtoMessage() {}
|
|
|
|
func (x *DBTujianTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[8]
|
|
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 DBTujianTask.ProtoReflect.Descriptor instead.
|
|
func (*DBTujianTask) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DBTujianTask) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBTujianTask) GetTasks() []*TujianTask {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TujianTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId" bson:"taskId"` // 任务ID
|
|
Received int32 `protobuf:"varint,2,opt,name=received,proto3" json:"received" bson:"received"` //领取状态 0未领取 1待领取 2已领取
|
|
Cond *ConIProgress `protobuf:"bytes,3,opt,name=cond,proto3" json:"cond" bson:"cond"` //任务进度
|
|
}
|
|
|
|
func (x *TujianTask) Reset() {
|
|
*x = TujianTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TujianTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TujianTask) ProtoMessage() {}
|
|
|
|
func (x *TujianTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_smithy_smithy_db_proto_msgTypes[9]
|
|
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 TujianTask.ProtoReflect.Descriptor instead.
|
|
func (*TujianTask) Descriptor() ([]byte, []int) {
|
|
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *TujianTask) GetTaskId() int32 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TujianTask) GetReceived() int32 {
|
|
if x != nil {
|
|
return x.Received
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TujianTask) GetCond() *ConIProgress {
|
|
if x != nil {
|
|
return x.Cond
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_smithy_smithy_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_smithy_smithy_db_proto_rawDesc = []byte{
|
|
0x0a, 0x16, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x2f, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x5f,
|
|
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64,
|
|
0x2f, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x22, 0x2f, 0x0a, 0x07, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x6c,
|
|
0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x22, 0x8f, 0x04, 0x0a, 0x07, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 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,
|
|
0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12,
|
|
0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
|
|
0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c,
|
|
0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65,
|
|
0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x6b, 0x69,
|
|
0x6c, 0x6c, 0x12, 0x29, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x67,
|
|
0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x12, 0x20, 0x0a,
|
|
0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12,
|
|
0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
0x23, 0x0a, 0x03, 0x68, 0x69, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44,
|
|
0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x48, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x03, 0x68, 0x69, 0x74, 0x1a, 0x41, 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, 0x1e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x79, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x6b, 0x69, 0x6c, 0x6c,
|
|
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, 0x38, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 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, 0x05,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x48,
|
|
0x69, 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, 0x66, 0x0a, 0x0c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
|
|
0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x69, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x75, 0x69, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65,
|
|
0x71, 0x75, 0x69, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x0a,
|
|
0x44, 0x42, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 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, 0x2b, 0x0a, 0x09,
|
|
0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0d, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09,
|
|
0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12,
|
|
0x28, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69,
|
|
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65,
|
|
0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xc3, 0x02, 0x0a, 0x07, 0x44, 0x42,
|
|
0x41, 0x74, 0x6c, 0x61, 0x73, 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, 0x29, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73,
|
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73,
|
|
0x2e, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x74, 0x6c,
|
|
0x61, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x44, 0x42, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x2e, 0x43, 0x6f,
|
|
0x6c, 0x6c, 0x65, 0x63, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x6c,
|
|
0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x77, 0x61,
|
|
0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a,
|
|
0x44, 0x0a, 0x0a, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a,
|
|
0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
|
|
0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x63, 0x0a, 0x0b, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
|
|
0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73,
|
|
0x63, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69,
|
|
0x76, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69,
|
|
0x76, 0x61, 0x74, 0x65, 0x22, 0x6b, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x4c, 0x69, 0x73,
|
|
0x74, 0x12, 0x20, 0x0a, 0x05, 0x64, 0x61, 0x74, 0x61, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0a, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x64, 0x61,
|
|
0x74, 0x61, 0x31, 0x12, 0x20, 0x0a, 0x05, 0x64, 0x61, 0x74, 0x61, 0x32, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05,
|
|
0x64, 0x61, 0x74, 0x61, 0x32, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
|
0x65, 0x22, 0x7f, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e,
|
|
0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x18,
|
|
0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x12,
|
|
0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69,
|
|
0x6d, 0x65, 0x22, 0x43, 0x0a, 0x0c, 0x44, 0x42, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x54, 0x61,
|
|
0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x54, 0x61, 0x73, 0x6b,
|
|
0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x63, 0x0a, 0x0a, 0x54, 0x75, 0x6a, 0x69, 0x61,
|
|
0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x63, 0x6f, 0x6e,
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72,
|
|
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x64, 0x42, 0x06, 0x5a, 0x04,
|
|
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_smithy_smithy_db_proto_rawDescOnce sync.Once
|
|
file_smithy_smithy_db_proto_rawDescData = file_smithy_smithy_db_proto_rawDesc
|
|
)
|
|
|
|
func file_smithy_smithy_db_proto_rawDescGZIP() []byte {
|
|
file_smithy_smithy_db_proto_rawDescOnce.Do(func() {
|
|
file_smithy_smithy_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_smithy_smithy_db_proto_rawDescData)
|
|
})
|
|
return file_smithy_smithy_db_proto_rawDescData
|
|
}
|
|
|
|
var file_smithy_smithy_db_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
var file_smithy_smithy_db_proto_goTypes = []interface{}{
|
|
(*Mastery)(nil), // 0: Mastery
|
|
(*DBStove)(nil), // 1: DBStove
|
|
(*CustomerInfo)(nil), // 2: CustomerInfo
|
|
(*DBCustomer)(nil), // 3: DBCustomer
|
|
(*DBAtlas)(nil), // 4: DBAtlas
|
|
(*CollectData)(nil), // 5: CollectData
|
|
(*ForgeList)(nil), // 6: ForgeList
|
|
(*ForgeData)(nil), // 7: ForgeData
|
|
(*DBTujianTask)(nil), // 8: DBTujianTask
|
|
(*TujianTask)(nil), // 9: TujianTask
|
|
nil, // 10: DBStove.DataEntry
|
|
nil, // 11: DBStove.SkillEntry
|
|
nil, // 12: DBStove.ForgeEntry
|
|
nil, // 13: DBStove.HitEntry
|
|
nil, // 14: DBAtlas.AtlasEntry
|
|
nil, // 15: DBAtlas.CollectEntry
|
|
(*ConIProgress)(nil), // 16: ConIProgress
|
|
}
|
|
var file_smithy_smithy_db_proto_depIdxs = []int32{
|
|
10, // 0: DBStove.data:type_name -> DBStove.DataEntry
|
|
11, // 1: DBStove.skill:type_name -> DBStove.SkillEntry
|
|
12, // 2: DBStove.forge:type_name -> DBStove.ForgeEntry
|
|
13, // 3: DBStove.hit:type_name -> DBStove.HitEntry
|
|
2, // 4: DBCustomer.customers:type_name -> CustomerInfo
|
|
14, // 5: DBAtlas.atlas:type_name -> DBAtlas.AtlasEntry
|
|
15, // 6: DBAtlas.collect:type_name -> DBAtlas.CollectEntry
|
|
7, // 7: ForgeList.data1:type_name -> ForgeData
|
|
7, // 8: ForgeList.data2:type_name -> ForgeData
|
|
9, // 9: DBTujianTask.tasks:type_name -> TujianTask
|
|
16, // 10: TujianTask.cond:type_name -> ConIProgress
|
|
0, // 11: DBStove.DataEntry.value:type_name -> Mastery
|
|
6, // 12: DBAtlas.AtlasEntry.value:type_name -> ForgeList
|
|
5, // 13: DBAtlas.CollectEntry.value:type_name -> CollectData
|
|
14, // [14:14] is the sub-list for method output_type
|
|
14, // [14:14] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_smithy_smithy_db_proto_init() }
|
|
func file_smithy_smithy_db_proto_init() {
|
|
if File_smithy_smithy_db_proto != nil {
|
|
return
|
|
}
|
|
file_buried_buried_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_smithy_smithy_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Mastery); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBStove); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CustomerInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBCustomer); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBAtlas); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CollectData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForgeList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForgeData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBTujianTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_smithy_smithy_db_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TujianTask); 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_smithy_smithy_db_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 16,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_smithy_smithy_db_proto_goTypes,
|
|
DependencyIndexes: file_smithy_smithy_db_proto_depIdxs,
|
|
MessageInfos: file_smithy_smithy_db_proto_msgTypes,
|
|
}.Build()
|
|
File_smithy_smithy_db_proto = out.File
|
|
file_smithy_smithy_db_proto_rawDesc = nil
|
|
file_smithy_smithy_db_proto_goTypes = nil
|
|
file_smithy_smithy_db_proto_depIdxs = nil
|
|
}
|