751 lines
24 KiB
Go
751 lines
24 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: mainline/mainline_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 MainlineGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MainlineGetListReq) Reset() {
|
|
*x = MainlineGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineGetListReq) ProtoMessage() {}
|
|
|
|
func (x *MainlineGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*MainlineGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 返回进度信息
|
|
type MainlineGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data []*DBMainline `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *MainlineGetListResp) Reset() {
|
|
*x = MainlineGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineGetListResp) ProtoMessage() {}
|
|
|
|
func (x *MainlineGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*MainlineGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *MainlineGetListResp) GetData() []*DBMainline {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 领取关卡宝箱
|
|
type MainlineGetRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChapterObj string `protobuf:"bytes,1,opt,name=chapterObj,proto3" json:"chapterObj"` // 章节唯一对象id
|
|
}
|
|
|
|
func (x *MainlineGetRewardReq) Reset() {
|
|
*x = MainlineGetRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineGetRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineGetRewardReq) ProtoMessage() {}
|
|
|
|
func (x *MainlineGetRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineGetRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*MainlineGetRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *MainlineGetRewardReq) GetChapterObj() string {
|
|
if x != nil {
|
|
return x.ChapterObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MainlineGetRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBMainline `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` //当前章节信息
|
|
}
|
|
|
|
func (x *MainlineGetRewardResp) Reset() {
|
|
*x = MainlineGetRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineGetRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineGetRewardResp) ProtoMessage() {}
|
|
|
|
func (x *MainlineGetRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineGetRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*MainlineGetRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *MainlineGetRewardResp) GetData() *DBMainline {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 挑战关卡
|
|
type MainlineChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChapterObj string `protobuf:"bytes,1,opt,name=chapterObj,proto3" json:"chapterObj"` // 章节唯一对象id
|
|
MainlineId uint32 `protobuf:"varint,2,opt,name=mainlineId,proto3" json:"mainlineId"` // 小关ID
|
|
Leadpos int32 `protobuf:"varint,3,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
|
|
Teamids []string `protobuf:"bytes,4,rep,name=teamids,proto3" json:"teamids"` //阵容信息
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) Reset() {
|
|
*x = MainlineChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineChallengeReq) ProtoMessage() {}
|
|
|
|
func (x *MainlineChallengeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*MainlineChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) GetChapterObj() string {
|
|
if x != nil {
|
|
return x.ChapterObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) GetMainlineId() uint32 {
|
|
if x != nil {
|
|
return x.MainlineId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) GetLeadpos() int32 {
|
|
if x != nil {
|
|
return x.Leadpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MainlineChallengeReq) GetTeamids() []string {
|
|
if x != nil {
|
|
return x.Teamids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MainlineChallengeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
ChapterObj string `protobuf:"bytes,2,opt,name=chapterObj,proto3" json:"chapterObj"` // 章节唯一对象id
|
|
MainlineId uint32 `protobuf:"varint,3,opt,name=mainlineId,proto3" json:"mainlineId"` // 小关ID
|
|
}
|
|
|
|
func (x *MainlineChallengeResp) Reset() {
|
|
*x = MainlineChallengeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineChallengeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineChallengeResp) ProtoMessage() {}
|
|
|
|
func (x *MainlineChallengeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_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 MainlineChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*MainlineChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *MainlineChallengeResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MainlineChallengeResp) GetChapterObj() string {
|
|
if x != nil {
|
|
return x.ChapterObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MainlineChallengeResp) GetMainlineId() uint32 {
|
|
if x != nil {
|
|
return x.MainlineId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 客户端通知服务器打赢了
|
|
type MainlineChallengeOverReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChapterObj string `protobuf:"bytes,1,opt,name=chapterObj,proto3" json:"chapterObj"` // 章节唯一对象id
|
|
MainlineId uint32 `protobuf:"varint,2,opt,name=mainlineId,proto3" json:"mainlineId"` // 小关ID
|
|
Report *BattleReport `protobuf:"bytes,3,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *MainlineChallengeOverReq) Reset() {
|
|
*x = MainlineChallengeOverReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineChallengeOverReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineChallengeOverReq) ProtoMessage() {}
|
|
|
|
func (x *MainlineChallengeOverReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_msg_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 MainlineChallengeOverReq.ProtoReflect.Descriptor instead.
|
|
func (*MainlineChallengeOverReq) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MainlineChallengeOverReq) GetChapterObj() string {
|
|
if x != nil {
|
|
return x.ChapterObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MainlineChallengeOverReq) GetMainlineId() uint32 {
|
|
if x != nil {
|
|
return x.MainlineId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MainlineChallengeOverReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MainlineChallengeOverResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBMainline `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` //当前章节信息
|
|
Newheros []string `protobuf:"bytes,2,rep,name=newheros,proto3" json:"newheros"` //获得的新英雄
|
|
Olv int32 `protobuf:"varint,3,opt,name=olv,proto3" json:"olv"` //以前的等级
|
|
}
|
|
|
|
func (x *MainlineChallengeOverResp) Reset() {
|
|
*x = MainlineChallengeOverResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineChallengeOverResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineChallengeOverResp) ProtoMessage() {}
|
|
|
|
func (x *MainlineChallengeOverResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_msg_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 MainlineChallengeOverResp.ProtoReflect.Descriptor instead.
|
|
func (*MainlineChallengeOverResp) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *MainlineChallengeOverResp) GetData() *DBMainline {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MainlineChallengeOverResp) GetNewheros() []string {
|
|
if x != nil {
|
|
return x.Newheros
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MainlineChallengeOverResp) GetOlv() int32 {
|
|
if x != nil {
|
|
return x.Olv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 推送新章节
|
|
type MainlineNewChapterPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBMainline `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *MainlineNewChapterPush) Reset() {
|
|
*x = MainlineNewChapterPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_mainline_mainline_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MainlineNewChapterPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MainlineNewChapterPush) ProtoMessage() {}
|
|
|
|
func (x *MainlineNewChapterPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mainline_mainline_msg_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 MainlineNewChapterPush.ProtoReflect.Descriptor instead.
|
|
func (*MainlineNewChapterPush) Descriptor() ([]byte, []int) {
|
|
return file_mainline_mainline_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MainlineNewChapterPush) GetData() *DBMainline {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_mainline_mainline_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_mainline_mainline_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1b, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x6c,
|
|
0x69, 0x6e, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6d,
|
|
0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
|
|
0x5f, 0x64, 0x62, 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, 0x14, 0x0a, 0x12, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x47, 0x65,
|
|
0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x13, 0x4d, 0x61, 0x69, 0x6e,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
0x44, 0x42, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x22, 0x36, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x47, 0x65, 0x74, 0x52,
|
|
0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70,
|
|
0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68,
|
|
0x61, 0x70, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x22, 0x38, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43,
|
|
0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
|
|
0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x12, 0x1e, 0x0a, 0x0a, 0x6d,
|
|
0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6c,
|
|
0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65,
|
|
0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64, 0x73,
|
|
0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64, 0x73, 0x22,
|
|
0x78, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c,
|
|
0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61,
|
|
0x70, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
|
|
0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69,
|
|
0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d,
|
|
0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x4d, 0x61,
|
|
0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4f,
|
|
0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65,
|
|
0x72, 0x4f, 0x62, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x70,
|
|
0x74, 0x65, 0x72, 0x4f, 0x62, 0x6a, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69,
|
|
0x6e, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e,
|
|
0x6c, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52,
|
|
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x6a, 0x0a,
|
|
0x19, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
|
|
0x67, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61,
|
|
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69,
|
|
0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
|
|
0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e,
|
|
0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x6c, 0x76, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6f, 0x6c, 0x76, 0x22, 0x39, 0x0a, 0x16, 0x4d, 0x61, 0x69,
|
|
0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x4e, 0x65, 0x77, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x50,
|
|
0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_mainline_mainline_msg_proto_rawDescOnce sync.Once
|
|
file_mainline_mainline_msg_proto_rawDescData = file_mainline_mainline_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_mainline_mainline_msg_proto_rawDescGZIP() []byte {
|
|
file_mainline_mainline_msg_proto_rawDescOnce.Do(func() {
|
|
file_mainline_mainline_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_mainline_mainline_msg_proto_rawDescData)
|
|
})
|
|
return file_mainline_mainline_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_mainline_mainline_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_mainline_mainline_msg_proto_goTypes = []interface{}{
|
|
(*MainlineGetListReq)(nil), // 0: MainlineGetListReq
|
|
(*MainlineGetListResp)(nil), // 1: MainlineGetListResp
|
|
(*MainlineGetRewardReq)(nil), // 2: MainlineGetRewardReq
|
|
(*MainlineGetRewardResp)(nil), // 3: MainlineGetRewardResp
|
|
(*MainlineChallengeReq)(nil), // 4: MainlineChallengeReq
|
|
(*MainlineChallengeResp)(nil), // 5: MainlineChallengeResp
|
|
(*MainlineChallengeOverReq)(nil), // 6: MainlineChallengeOverReq
|
|
(*MainlineChallengeOverResp)(nil), // 7: MainlineChallengeOverResp
|
|
(*MainlineNewChapterPush)(nil), // 8: MainlineNewChapterPush
|
|
(*DBMainline)(nil), // 9: DBMainline
|
|
(*BattleInfo)(nil), // 10: BattleInfo
|
|
(*BattleReport)(nil), // 11: BattleReport
|
|
}
|
|
var file_mainline_mainline_msg_proto_depIdxs = []int32{
|
|
9, // 0: MainlineGetListResp.data:type_name -> DBMainline
|
|
9, // 1: MainlineGetRewardResp.data:type_name -> DBMainline
|
|
10, // 2: MainlineChallengeResp.info:type_name -> BattleInfo
|
|
11, // 3: MainlineChallengeOverReq.report:type_name -> BattleReport
|
|
9, // 4: MainlineChallengeOverResp.data:type_name -> DBMainline
|
|
9, // 5: MainlineNewChapterPush.data:type_name -> DBMainline
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_mainline_mainline_msg_proto_init() }
|
|
func file_mainline_mainline_msg_proto_init() {
|
|
if File_mainline_mainline_msg_proto != nil {
|
|
return
|
|
}
|
|
file_mainline_mainline_db_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_mainline_mainline_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineGetRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineGetRewardResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineChallengeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineChallengeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineChallengeOverReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineChallengeOverResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_mainline_mainline_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MainlineNewChapterPush); 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_mainline_mainline_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_mainline_mainline_msg_proto_goTypes,
|
|
DependencyIndexes: file_mainline_mainline_msg_proto_depIdxs,
|
|
MessageInfos: file_mainline_mainline_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_mainline_mainline_msg_proto = out.File
|
|
file_mainline_mainline_msg_proto_rawDesc = nil
|
|
file_mainline_mainline_msg_proto_goTypes = nil
|
|
file_mainline_mainline_msg_proto_depIdxs = nil
|
|
}
|