460 lines
13 KiB
Go
460 lines
13 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: atlas/atlas_msg.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 AtlasGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AtlasGetListReq) Reset() {
|
|
*x = AtlasGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasGetListReq) ProtoMessage() {}
|
|
|
|
func (x *AtlasGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*AtlasGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type AtlasGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBPandaAtlas `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *AtlasGetListResp) Reset() {
|
|
*x = AtlasGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasGetListResp) ProtoMessage() {}
|
|
|
|
func (x *AtlasGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*AtlasGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AtlasGetListResp) GetData() *DBPandaAtlas {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 图鉴激活更新
|
|
type AtlasActivateReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // 图鉴ID
|
|
}
|
|
|
|
func (x *AtlasActivateReq) Reset() {
|
|
*x = AtlasActivateReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasActivateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasActivateReq) ProtoMessage() {}
|
|
|
|
func (x *AtlasActivateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasActivateReq.ProtoReflect.Descriptor instead.
|
|
func (*AtlasActivateReq) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AtlasActivateReq) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AtlasActivateResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBPandaAtlas `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *AtlasActivateResp) Reset() {
|
|
*x = AtlasActivateResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasActivateResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasActivateResp) ProtoMessage() {}
|
|
|
|
func (x *AtlasActivateResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasActivateResp.ProtoReflect.Descriptor instead.
|
|
func (*AtlasActivateResp) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AtlasActivateResp) GetData() *DBPandaAtlas {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 图鉴信息奖励任务领取
|
|
type AtlasAwardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AtlasAwardReq) Reset() {
|
|
*x = AtlasAwardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasAwardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasAwardReq) ProtoMessage() {}
|
|
|
|
func (x *AtlasAwardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasAwardReq.ProtoReflect.Descriptor instead.
|
|
func (*AtlasAwardReq) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type AtlasAwardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBPandaAtlas `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` // 奖励信息
|
|
Res []*UserAssets `protobuf:"bytes,2,rep,name=res,proto3" json:"res"` // 获得的奖励
|
|
}
|
|
|
|
func (x *AtlasAwardResp) Reset() {
|
|
*x = AtlasAwardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_atlas_atlas_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AtlasAwardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AtlasAwardResp) ProtoMessage() {}
|
|
|
|
func (x *AtlasAwardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_atlas_atlas_msg_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 AtlasAwardResp.ProtoReflect.Descriptor instead.
|
|
func (*AtlasAwardResp) Descriptor() ([]byte, []int) {
|
|
return file_atlas_atlas_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AtlasAwardResp) GetData() *DBPandaAtlas {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AtlasAwardResp) GetRes() []*UserAssets {
|
|
if x != nil {
|
|
return x.Res
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_atlas_atlas_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_atlas_atlas_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x2f, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x5f, 0x6d, 0x73,
|
|
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x2f, 0x61,
|
|
0x74, 0x6c, 0x61, 0x73, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x74, 0x6c,
|
|
0x61, 0x73, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x35, 0x0a, 0x10,
|
|
0x41, 0x74, 0x6c, 0x61, 0x73, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
0x2e, 0x44, 0x42, 0x50, 0x61, 0x6e, 0x64, 0x61, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x04, 0x64,
|
|
0x61, 0x74, 0x61, 0x22, 0x22, 0x0a, 0x10, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x63, 0x74, 0x69,
|
|
0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x36, 0x0a, 0x11, 0x41, 0x74, 0x6c, 0x61, 0x73,
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50,
|
|
0x61, 0x6e, 0x64, 0x61, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
|
|
0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71,
|
|
0x22, 0x52, 0x0a, 0x0e, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x6e, 0x64, 0x61, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
|
|
0x03, 0x72, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_atlas_atlas_msg_proto_rawDescOnce sync.Once
|
|
file_atlas_atlas_msg_proto_rawDescData = file_atlas_atlas_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_atlas_atlas_msg_proto_rawDescGZIP() []byte {
|
|
file_atlas_atlas_msg_proto_rawDescOnce.Do(func() {
|
|
file_atlas_atlas_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_atlas_atlas_msg_proto_rawDescData)
|
|
})
|
|
return file_atlas_atlas_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_atlas_atlas_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_atlas_atlas_msg_proto_goTypes = []interface{}{
|
|
(*AtlasGetListReq)(nil), // 0: AtlasGetListReq
|
|
(*AtlasGetListResp)(nil), // 1: AtlasGetListResp
|
|
(*AtlasActivateReq)(nil), // 2: AtlasActivateReq
|
|
(*AtlasActivateResp)(nil), // 3: AtlasActivateResp
|
|
(*AtlasAwardReq)(nil), // 4: AtlasAwardReq
|
|
(*AtlasAwardResp)(nil), // 5: AtlasAwardResp
|
|
(*DBPandaAtlas)(nil), // 6: DBPandaAtlas
|
|
(*UserAssets)(nil), // 7: UserAssets
|
|
}
|
|
var file_atlas_atlas_msg_proto_depIdxs = []int32{
|
|
6, // 0: AtlasGetListResp.data:type_name -> DBPandaAtlas
|
|
6, // 1: AtlasActivateResp.data:type_name -> DBPandaAtlas
|
|
6, // 2: AtlasAwardResp.data:type_name -> DBPandaAtlas
|
|
7, // 3: AtlasAwardResp.res:type_name -> UserAssets
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_atlas_atlas_msg_proto_init() }
|
|
func file_atlas_atlas_msg_proto_init() {
|
|
if File_atlas_atlas_msg_proto != nil {
|
|
return
|
|
}
|
|
file_atlas_atlas_db_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_atlas_atlas_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_atlas_atlas_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_atlas_atlas_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasActivateReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_atlas_atlas_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasActivateResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_atlas_atlas_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasAwardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_atlas_atlas_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AtlasAwardResp); 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_atlas_atlas_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_atlas_atlas_msg_proto_goTypes,
|
|
DependencyIndexes: file_atlas_atlas_msg_proto_depIdxs,
|
|
MessageInfos: file_atlas_atlas_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_atlas_atlas_msg_proto = out.File
|
|
file_atlas_atlas_msg_proto_rawDesc = nil
|
|
file_atlas_atlas_msg_proto_goTypes = nil
|
|
file_atlas_atlas_msg_proto_depIdxs = nil
|
|
}
|