793 lines
24 KiB
Go
793 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: academy/academy_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 AcademyInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AcademyInfoReq) Reset() {
|
|
*x = AcademyInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyInfoReq) ProtoMessage() {}
|
|
|
|
func (x *AcademyInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*AcademyInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type AcademyInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *DBAcademy `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *AcademyInfoResp) Reset() {
|
|
*x = AcademyInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyInfoResp) ProtoMessage() {}
|
|
|
|
func (x *AcademyInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*AcademyInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AcademyInfoResp) GetInfo() *DBAcademy {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//挑战
|
|
type AcademyChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
|
|
}
|
|
|
|
func (x *AcademyChallengeReq) Reset() {
|
|
*x = AcademyChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyChallengeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyChallengeReq) ProtoMessage() {}
|
|
|
|
func (x *AcademyChallengeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*AcademyChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AcademyChallengeReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AcademyChallengeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"`
|
|
Info *BattleInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *AcademyChallengeResp) Reset() {
|
|
*x = AcademyChallengeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyChallengeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyChallengeResp) ProtoMessage() {}
|
|
|
|
func (x *AcademyChallengeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*AcademyChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AcademyChallengeResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *AcademyChallengeResp) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AcademyChallengeResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//领取
|
|
type AcademyReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
|
|
Group int32 `protobuf:"varint,2,opt,name=group,proto3" json:"group"`
|
|
Report *BattleReport `protobuf:"bytes,3,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *AcademyReceiveReq) Reset() {
|
|
*x = AcademyReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *AcademyReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*AcademyReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AcademyReceiveReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AcademyReceiveReq) GetGroup() int32 {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AcademyReceiveReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AcademyReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *AcademyReceiveResp) Reset() {
|
|
*x = AcademyReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *AcademyReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*AcademyReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AcademyReceiveResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//教学请求
|
|
type AcademyTeachingReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId"`
|
|
}
|
|
|
|
func (x *AcademyTeachingReq) Reset() {
|
|
*x = AcademyTeachingReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyTeachingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyTeachingReq) ProtoMessage() {}
|
|
|
|
func (x *AcademyTeachingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyTeachingReq.ProtoReflect.Descriptor instead.
|
|
func (*AcademyTeachingReq) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *AcademyTeachingReq) GetHeroId() string {
|
|
if x != nil {
|
|
return x.HeroId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AcademyTeachingResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
HeroId string `protobuf:"bytes,2,opt,name=heroId,proto3" json:"heroId"`
|
|
Info *BattleInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *AcademyTeachingResp) Reset() {
|
|
*x = AcademyTeachingResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyTeachingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyTeachingResp) ProtoMessage() {}
|
|
|
|
func (x *AcademyTeachingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyTeachingResp.ProtoReflect.Descriptor instead.
|
|
func (*AcademyTeachingResp) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *AcademyTeachingResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *AcademyTeachingResp) GetHeroId() string {
|
|
if x != nil {
|
|
return x.HeroId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AcademyTeachingResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//领取教学奖励
|
|
type AcademyTeachingReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId"`
|
|
Report *BattleReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveReq) Reset() {
|
|
*x = AcademyTeachingReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyTeachingReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *AcademyTeachingReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_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 AcademyTeachingReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*AcademyTeachingReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveReq) GetHeroId() string {
|
|
if x != nil {
|
|
return x.HeroId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AcademyTeachingReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveResp) Reset() {
|
|
*x = AcademyTeachingReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_academy_academy_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AcademyTeachingReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *AcademyTeachingReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_academy_academy_msg_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 AcademyTeachingReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*AcademyTeachingReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_academy_academy_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *AcademyTeachingReceiveResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_academy_academy_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_academy_academy_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x19, 0x61, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x2f, 0x61, 0x63, 0x61, 0x64, 0x65, 0x6d,
|
|
0x79, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x61, 0x63, 0x61,
|
|
0x64, 0x65, 0x6d, 0x79, 0x2f, 0x61, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 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, 0x1a, 0x0f,
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0x10, 0x0a, 0x0e, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
0x71, 0x22, 0x31, 0x0a, 0x0f, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x52, 0x04,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x22, 0x2b, 0x0a, 0x13, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x43,
|
|
0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c,
|
|
0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65,
|
|
0x6c, 0x22, 0x6d, 0x0a, 0x14, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x43, 0x68, 0x61, 0x6c,
|
|
0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43,
|
|
0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12,
|
|
0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x22, 0x66, 0x0a, 0x11, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69,
|
|
0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75,
|
|
0x70, 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, 0x2c, 0x0a, 0x12, 0x41, 0x63, 0x61, 0x64,
|
|
0x65, 0x6d, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16,
|
|
0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
|
|
0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x2c, 0x0a, 0x12, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d,
|
|
0x79, 0x54, 0x65, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
|
|
0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65,
|
|
0x72, 0x6f, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x13, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x54,
|
|
0x65, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63,
|
|
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f,
|
|
0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68,
|
|
0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72,
|
|
0x6f, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x22, 0x5a, 0x0a, 0x19, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x54,
|
|
0x65, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65,
|
|
0x71, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70,
|
|
0x6f, 0x72, 0x74, 0x18, 0x02, 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, 0x34, 0x0a, 0x1a, 0x41, 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x54, 0x65, 0x61, 0x63, 0x68,
|
|
0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16,
|
|
0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
|
|
0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_academy_academy_msg_proto_rawDescOnce sync.Once
|
|
file_academy_academy_msg_proto_rawDescData = file_academy_academy_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_academy_academy_msg_proto_rawDescGZIP() []byte {
|
|
file_academy_academy_msg_proto_rawDescOnce.Do(func() {
|
|
file_academy_academy_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_academy_academy_msg_proto_rawDescData)
|
|
})
|
|
return file_academy_academy_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_academy_academy_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_academy_academy_msg_proto_goTypes = []interface{}{
|
|
(*AcademyInfoReq)(nil), // 0: AcademyInfoReq
|
|
(*AcademyInfoResp)(nil), // 1: AcademyInfoResp
|
|
(*AcademyChallengeReq)(nil), // 2: AcademyChallengeReq
|
|
(*AcademyChallengeResp)(nil), // 3: AcademyChallengeResp
|
|
(*AcademyReceiveReq)(nil), // 4: AcademyReceiveReq
|
|
(*AcademyReceiveResp)(nil), // 5: AcademyReceiveResp
|
|
(*AcademyTeachingReq)(nil), // 6: AcademyTeachingReq
|
|
(*AcademyTeachingResp)(nil), // 7: AcademyTeachingResp
|
|
(*AcademyTeachingReceiveReq)(nil), // 8: AcademyTeachingReceiveReq
|
|
(*AcademyTeachingReceiveResp)(nil), // 9: AcademyTeachingReceiveResp
|
|
(*DBAcademy)(nil), // 10: DBAcademy
|
|
(ErrorCode)(0), // 11: ErrorCode
|
|
(*BattleInfo)(nil), // 12: BattleInfo
|
|
(*BattleReport)(nil), // 13: BattleReport
|
|
}
|
|
var file_academy_academy_msg_proto_depIdxs = []int32{
|
|
10, // 0: AcademyInfoResp.info:type_name -> DBAcademy
|
|
11, // 1: AcademyChallengeResp.code:type_name -> ErrorCode
|
|
12, // 2: AcademyChallengeResp.info:type_name -> BattleInfo
|
|
13, // 3: AcademyReceiveReq.report:type_name -> BattleReport
|
|
11, // 4: AcademyTeachingResp.code:type_name -> ErrorCode
|
|
12, // 5: AcademyTeachingResp.info:type_name -> BattleInfo
|
|
13, // 6: AcademyTeachingReceiveReq.report:type_name -> BattleReport
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_academy_academy_msg_proto_init() }
|
|
func file_academy_academy_msg_proto_init() {
|
|
if File_academy_academy_msg_proto != nil {
|
|
return
|
|
}
|
|
file_academy_academy_db_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
file_errorcode_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_academy_academy_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyChallengeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyChallengeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyTeachingReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyTeachingResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyTeachingReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_academy_academy_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AcademyTeachingReceiveResp); 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_academy_academy_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_academy_academy_msg_proto_goTypes,
|
|
DependencyIndexes: file_academy_academy_msg_proto_depIdxs,
|
|
MessageInfos: file_academy_academy_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_academy_academy_msg_proto = out.File
|
|
file_academy_academy_msg_proto_rawDesc = nil
|
|
file_academy_academy_msg_proto_goTypes = nil
|
|
file_academy_academy_msg_proto_depIdxs = nil
|
|
}
|