505 lines
17 KiB
Go
505 lines
17 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: enchant/enchant_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 DBEnchant 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"`
|
|
Uinfo *BaseUserInfo `protobuf:"bytes,3,opt,name=uinfo,proto3" json:"uinfo"` //用户基础
|
|
Boss map[int32]*DBEnchantBoos `protobuf:"bytes,4,rep,name=boss,proto3" json:"boss" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *DBEnchant) Reset() {
|
|
*x = DBEnchant{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_enchant_enchant_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBEnchant) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBEnchant) ProtoMessage() {}
|
|
|
|
func (x *DBEnchant) ProtoReflect() protoreflect.Message {
|
|
mi := &file_enchant_enchant_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 DBEnchant.ProtoReflect.Descriptor instead.
|
|
func (*DBEnchant) Descriptor() ([]byte, []int) {
|
|
return file_enchant_enchant_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBEnchant) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBEnchant) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBEnchant) GetUinfo() *BaseUserInfo {
|
|
if x != nil {
|
|
return x.Uinfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBEnchant) GetBoss() map[int32]*DBEnchantBoos {
|
|
if x != nil {
|
|
return x.Boss
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DBEnchantBoos struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Score int32 `protobuf:"varint,1,opt,name=score,proto3" json:"score"`
|
|
Grade int32 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade"`
|
|
Gradegroup int32 `protobuf:"varint,3,opt,name=gradegroup,proto3" json:"gradegroup"`
|
|
Line *LineData `protobuf:"bytes,4,opt,name=line,proto3" json:"line"`
|
|
Battletime int32 `protobuf:"varint,5,opt,name=battletime,proto3" json:"battletime"`
|
|
}
|
|
|
|
func (x *DBEnchantBoos) Reset() {
|
|
*x = DBEnchantBoos{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_enchant_enchant_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBEnchantBoos) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBEnchantBoos) ProtoMessage() {}
|
|
|
|
func (x *DBEnchantBoos) ProtoReflect() protoreflect.Message {
|
|
mi := &file_enchant_enchant_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 DBEnchantBoos.ProtoReflect.Descriptor instead.
|
|
func (*DBEnchantBoos) Descriptor() ([]byte, []int) {
|
|
return file_enchant_enchant_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBEnchantBoos) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantBoos) GetGrade() int32 {
|
|
if x != nil {
|
|
return x.Grade
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantBoos) GetGradegroup() int32 {
|
|
if x != nil {
|
|
return x.Gradegroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantBoos) GetLine() *LineData {
|
|
if x != nil {
|
|
return x.Line
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBEnchantBoos) GetBattletime() int32 {
|
|
if x != nil {
|
|
return x.Battletime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 战斗数据
|
|
type DBEnchantRecord 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
|
|
Data map[int32]*DBEnchantRank `protobuf:"bytes,3,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key boss 类型
|
|
}
|
|
|
|
func (x *DBEnchantRecord) Reset() {
|
|
*x = DBEnchantRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_enchant_enchant_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBEnchantRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBEnchantRecord) ProtoMessage() {}
|
|
|
|
func (x *DBEnchantRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_enchant_enchant_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 DBEnchantRecord.ProtoReflect.Descriptor instead.
|
|
func (*DBEnchantRecord) Descriptor() ([]byte, []int) {
|
|
return file_enchant_enchant_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBEnchantRecord) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBEnchantRecord) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBEnchantRecord) GetData() map[int32]*DBEnchantRank {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 排行榜
|
|
type DBEnchantRank struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uinfo *BaseUserInfo `protobuf:"bytes,2,opt,name=uinfo,proto3" json:"uinfo"` //用户基础
|
|
Line *LineData `protobuf:"bytes,3,opt,name=line,proto3" json:"line"` //阵容信息
|
|
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"` //积分
|
|
Grade int32 `protobuf:"varint,5,opt,name=grade,proto3" json:"grade"` //评级
|
|
Gradegroup int32 `protobuf:"varint,6,opt,name=gradegroup,proto3" json:"gradegroup"` //评分组
|
|
Battletime int32 `protobuf:"varint,7,opt,name=battletime,proto3" json:"battletime"` //战斗时长
|
|
}
|
|
|
|
func (x *DBEnchantRank) Reset() {
|
|
*x = DBEnchantRank{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_enchant_enchant_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBEnchantRank) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBEnchantRank) ProtoMessage() {}
|
|
|
|
func (x *DBEnchantRank) ProtoReflect() protoreflect.Message {
|
|
mi := &file_enchant_enchant_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 DBEnchantRank.ProtoReflect.Descriptor instead.
|
|
func (*DBEnchantRank) Descriptor() ([]byte, []int) {
|
|
return file_enchant_enchant_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetUinfo() *BaseUserInfo {
|
|
if x != nil {
|
|
return x.Uinfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetLine() *LineData {
|
|
if x != nil {
|
|
return x.Line
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetScore() int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetGrade() int32 {
|
|
if x != nil {
|
|
return x.Grade
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetGradegroup() int32 {
|
|
if x != nil {
|
|
return x.Gradegroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBEnchantRank) GetBattletime() int32 {
|
|
if x != nil {
|
|
return x.Battletime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_enchant_enchant_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_enchant_enchant_db_proto_rawDesc = []byte{
|
|
0x0a, 0x18, 0x65, 0x6e, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x65, 0x6e, 0x63, 0x68, 0x61, 0x6e,
|
|
0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62,
|
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0xc5, 0x01, 0x0a, 0x09, 0x44, 0x42, 0x45, 0x6e, 0x63, 0x68, 0x61, 0x6e, 0x74, 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,
|
|
0x23, 0x0a, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x6f, 0x73, 0x73, 0x18, 0x04, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x45, 0x6e, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x42,
|
|
0x6f, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x73, 0x73, 0x1a, 0x47,
|
|
0x0a, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44,
|
|
0x42, 0x45, 0x6e, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x42, 0x6f, 0x6f, 0x73, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x45, 0x6e,
|
|
0x63, 0x68, 0x61, 0x6e, 0x74, 0x42, 0x6f, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f,
|
|
0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
|
0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x64, 0x65, 0x67, 0x72,
|
|
0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x64, 0x65,
|
|
0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x74, 0x69,
|
|
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
0x74, 0x69, 0x6d, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x45, 0x6e, 0x63, 0x68, 0x61,
|
|
0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x45, 0x6e, 0x63,
|
|
0x68, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x47, 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, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x45, 0x6e, 0x63,
|
|
0x68, 0x61, 0x6e, 0x74, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
|
0x02, 0x38, 0x01, 0x22, 0xcf, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x45, 0x6e, 0x63, 0x68, 0x61, 0x6e,
|
|
0x74, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44,
|
|
0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f,
|
|
0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
|
0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x64, 0x65, 0x67, 0x72,
|
|
0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x64, 0x65,
|
|
0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x74,
|
|
0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_enchant_enchant_db_proto_rawDescOnce sync.Once
|
|
file_enchant_enchant_db_proto_rawDescData = file_enchant_enchant_db_proto_rawDesc
|
|
)
|
|
|
|
func file_enchant_enchant_db_proto_rawDescGZIP() []byte {
|
|
file_enchant_enchant_db_proto_rawDescOnce.Do(func() {
|
|
file_enchant_enchant_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_enchant_enchant_db_proto_rawDescData)
|
|
})
|
|
return file_enchant_enchant_db_proto_rawDescData
|
|
}
|
|
|
|
var file_enchant_enchant_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_enchant_enchant_db_proto_goTypes = []interface{}{
|
|
(*DBEnchant)(nil), // 0: DBEnchant
|
|
(*DBEnchantBoos)(nil), // 1: DBEnchantBoos
|
|
(*DBEnchantRecord)(nil), // 2: DBEnchantRecord
|
|
(*DBEnchantRank)(nil), // 3: DBEnchantRank
|
|
nil, // 4: DBEnchant.BossEntry
|
|
nil, // 5: DBEnchantRecord.DataEntry
|
|
(*BaseUserInfo)(nil), // 6: BaseUserInfo
|
|
(*LineData)(nil), // 7: LineData
|
|
}
|
|
var file_enchant_enchant_db_proto_depIdxs = []int32{
|
|
6, // 0: DBEnchant.uinfo:type_name -> BaseUserInfo
|
|
4, // 1: DBEnchant.boss:type_name -> DBEnchant.BossEntry
|
|
7, // 2: DBEnchantBoos.line:type_name -> LineData
|
|
5, // 3: DBEnchantRecord.data:type_name -> DBEnchantRecord.DataEntry
|
|
6, // 4: DBEnchantRank.uinfo:type_name -> BaseUserInfo
|
|
7, // 5: DBEnchantRank.line:type_name -> LineData
|
|
1, // 6: DBEnchant.BossEntry.value:type_name -> DBEnchantBoos
|
|
3, // 7: DBEnchantRecord.DataEntry.value:type_name -> DBEnchantRank
|
|
8, // [8:8] is the sub-list for method output_type
|
|
8, // [8:8] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_enchant_enchant_db_proto_init() }
|
|
func file_enchant_enchant_db_proto_init() {
|
|
if File_enchant_enchant_db_proto != nil {
|
|
return
|
|
}
|
|
file_comm_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_enchant_enchant_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBEnchant); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_enchant_enchant_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBEnchantBoos); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_enchant_enchant_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBEnchantRecord); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_enchant_enchant_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBEnchantRank); 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_enchant_enchant_db_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_enchant_enchant_db_proto_goTypes,
|
|
DependencyIndexes: file_enchant_enchant_db_proto_depIdxs,
|
|
MessageInfos: file_enchant_enchant_db_proto_msgTypes,
|
|
}.Build()
|
|
File_enchant_enchant_db_proto = out.File
|
|
file_enchant_enchant_db_proto_rawDesc = nil
|
|
file_enchant_enchant_db_proto_goTypes = nil
|
|
file_enchant_enchant_db_proto_depIdxs = nil
|
|
}
|