go_dreamfactory/pb/moonfantasy_msg.pb.go
2022-09-06 17:00:25 +08:00

717 lines
23 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: moonfantasy/moonfantasy_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 MoonfantasyTriggerReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar"` //用户头像
Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"` //用户名
Ulv int32 `protobuf:"varint,3,opt,name=ulv,proto3" json:"ulv"` //用户等级
}
func (x *MoonfantasyTriggerReq) Reset() {
*x = MoonfantasyTriggerReq{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyTriggerReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyTriggerReq) ProtoMessage() {}
func (x *MoonfantasyTriggerReq) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyTriggerReq.ProtoReflect.Descriptor instead.
func (*MoonfantasyTriggerReq) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{0}
}
func (x *MoonfantasyTriggerReq) GetAvatar() string {
if x != nil {
return x.Avatar
}
return ""
}
func (x *MoonfantasyTriggerReq) GetUname() string {
if x != nil {
return x.Uname
}
return ""
}
func (x *MoonfantasyTriggerReq) GetUlv() int32 {
if x != nil {
return x.Ulv
}
return 0
}
///触发秘境
type MoonfantasyTriggerResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功
Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid"` //唯一id //挑战时需要传递的数据
Monster string `protobuf:"bytes,3,opt,name=monster,proto3" json:"monster"` //怪物id
}
func (x *MoonfantasyTriggerResp) Reset() {
*x = MoonfantasyTriggerResp{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyTriggerResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyTriggerResp) ProtoMessage() {}
func (x *MoonfantasyTriggerResp) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyTriggerResp.ProtoReflect.Descriptor instead.
func (*MoonfantasyTriggerResp) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{1}
}
func (x *MoonfantasyTriggerResp) GetIssucc() bool {
if x != nil {
return x.Issucc
}
return false
}
func (x *MoonfantasyTriggerResp) GetMid() string {
if x != nil {
return x.Mid
}
return ""
}
func (x *MoonfantasyTriggerResp) GetMonster() string {
if x != nil {
return x.Monster
}
return ""
}
///挑战秘境
type MoonfantasyAskReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //发布者用户id
Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid"` //唯一id
}
func (x *MoonfantasyAskReq) Reset() {
*x = MoonfantasyAskReq{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyAskReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyAskReq) ProtoMessage() {}
func (x *MoonfantasyAskReq) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyAskReq.ProtoReflect.Descriptor instead.
func (*MoonfantasyAskReq) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{2}
}
func (x *MoonfantasyAskReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *MoonfantasyAskReq) GetMid() string {
if x != nil {
return x.Mid
}
return ""
}
type MoonfantasyAskResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
}
func (x *MoonfantasyAskResp) Reset() {
*x = MoonfantasyAskResp{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyAskResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyAskResp) ProtoMessage() {}
func (x *MoonfantasyAskResp) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyAskResp.ProtoReflect.Descriptor instead.
func (*MoonfantasyAskResp) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{3}
}
func (x *MoonfantasyAskResp) GetCode() ErrorCode {
if x != nil {
return x.Code
}
return ErrorCode_Success
}
///挑战秘境
type MoonfantasyBattleReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //发布者用户id
Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid"` //唯一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 *MoonfantasyBattleReq) Reset() {
*x = MoonfantasyBattleReq{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyBattleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyBattleReq) ProtoMessage() {}
func (x *MoonfantasyBattleReq) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyBattleReq.ProtoReflect.Descriptor instead.
func (*MoonfantasyBattleReq) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{4}
}
func (x *MoonfantasyBattleReq) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *MoonfantasyBattleReq) GetMid() string {
if x != nil {
return x.Mid
}
return ""
}
func (x *MoonfantasyBattleReq) GetLeadpos() int32 {
if x != nil {
return x.Leadpos
}
return 0
}
func (x *MoonfantasyBattleReq) GetTeamids() []string {
if x != nil {
return x.Teamids
}
return nil
}
type MoonfantasyBattleResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
Monster string `protobuf:"bytes,2,opt,name=monster,proto3" json:"monster"` //怪物id
Info *BattleInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"`
}
func (x *MoonfantasyBattleResp) Reset() {
*x = MoonfantasyBattleResp{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyBattleResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyBattleResp) ProtoMessage() {}
func (x *MoonfantasyBattleResp) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyBattleResp.ProtoReflect.Descriptor instead.
func (*MoonfantasyBattleResp) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{5}
}
func (x *MoonfantasyBattleResp) GetCode() ErrorCode {
if x != nil {
return x.Code
}
return ErrorCode_Success
}
func (x *MoonfantasyBattleResp) GetMonster() string {
if x != nil {
return x.Monster
}
return ""
}
func (x *MoonfantasyBattleResp) GetInfo() *BattleInfo {
if x != nil {
return x.Info
}
return nil
}
///领取战斗奖励
type MoonfantasyReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bid string `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid"` //战斗id 后续需要这个id来领取奖励
Monster string `protobuf:"bytes,3,opt,name=monster,proto3" json:"monster"` //怪物id
Report *BattleReport `protobuf:"bytes,4,opt,name=report,proto3" json:"report"` //战报
}
func (x *MoonfantasyReceiveReq) Reset() {
*x = MoonfantasyReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyReceiveReq) ProtoMessage() {}
func (x *MoonfantasyReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyReceiveReq.ProtoReflect.Descriptor instead.
func (*MoonfantasyReceiveReq) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{6}
}
func (x *MoonfantasyReceiveReq) GetBid() string {
if x != nil {
return x.Bid
}
return ""
}
func (x *MoonfantasyReceiveReq) GetMonster() string {
if x != nil {
return x.Monster
}
return ""
}
func (x *MoonfantasyReceiveReq) GetReport() *BattleReport {
if x != nil {
return x.Report
}
return nil
}
///领取战斗奖励
type MoonfantasyReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功
}
func (x *MoonfantasyReceiveResp) Reset() {
*x = MoonfantasyReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MoonfantasyReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MoonfantasyReceiveResp) ProtoMessage() {}
func (x *MoonfantasyReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_moonfantasy_moonfantasy_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 MoonfantasyReceiveResp.ProtoReflect.Descriptor instead.
func (*MoonfantasyReceiveResp) Descriptor() ([]byte, []int) {
return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{7}
}
func (x *MoonfantasyReceiveResp) GetIssucc() bool {
if x != nil {
return x.Issucc
}
return false
}
var File_moonfantasy_moonfantasy_msg_proto protoreflect.FileDescriptor
var file_moonfantasy_moonfantasy_msg_proto_rawDesc = []byte{
0x0a, 0x21, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x2f, 0x6d, 0x6f,
0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 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, 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, 0x57, 0x0a,
0x15, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x54, 0x72, 0x69, 0x67,
0x67, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14,
0x0a, 0x05, 0x75, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x03, 0x75, 0x6c, 0x76, 0x22, 0x5c, 0x0a, 0x16, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61,
0x6e, 0x74, 0x61, 0x73, 0x79, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 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, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f,
0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e,
0x73, 0x74, 0x65, 0x72, 0x22, 0x37, 0x0a, 0x11, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74,
0x61, 0x73, 0x79, 0x41, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6d,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x22, 0x34, 0x0a,
0x12, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x41, 0x73, 0x6b, 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, 0x22, 0x6e, 0x0a, 0x14, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61,
0x73, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a,
0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 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, 0x72, 0x0a, 0x15, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61,
0x73, 0x79, 0x42, 0x61, 0x74, 0x74, 0x6c, 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, 0x18, 0x0a, 0x07,
0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 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, 0x6a, 0x0a, 0x15, 0x4d, 0x6f, 0x6f, 0x6e, 0x66,
0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71,
0x12, 0x10, 0x0a, 0x03, 0x62, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62,
0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x06,
0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 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, 0x30, 0x0a, 0x16, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61,
0x73, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_moonfantasy_moonfantasy_msg_proto_rawDescOnce sync.Once
file_moonfantasy_moonfantasy_msg_proto_rawDescData = file_moonfantasy_moonfantasy_msg_proto_rawDesc
)
func file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP() []byte {
file_moonfantasy_moonfantasy_msg_proto_rawDescOnce.Do(func() {
file_moonfantasy_moonfantasy_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_moonfantasy_moonfantasy_msg_proto_rawDescData)
})
return file_moonfantasy_moonfantasy_msg_proto_rawDescData
}
var file_moonfantasy_moonfantasy_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_moonfantasy_moonfantasy_msg_proto_goTypes = []interface{}{
(*MoonfantasyTriggerReq)(nil), // 0: MoonfantasyTriggerReq
(*MoonfantasyTriggerResp)(nil), // 1: MoonfantasyTriggerResp
(*MoonfantasyAskReq)(nil), // 2: MoonfantasyAskReq
(*MoonfantasyAskResp)(nil), // 3: MoonfantasyAskResp
(*MoonfantasyBattleReq)(nil), // 4: MoonfantasyBattleReq
(*MoonfantasyBattleResp)(nil), // 5: MoonfantasyBattleResp
(*MoonfantasyReceiveReq)(nil), // 6: MoonfantasyReceiveReq
(*MoonfantasyReceiveResp)(nil), // 7: MoonfantasyReceiveResp
(ErrorCode)(0), // 8: ErrorCode
(*BattleInfo)(nil), // 9: BattleInfo
(*BattleReport)(nil), // 10: BattleReport
}
var file_moonfantasy_moonfantasy_msg_proto_depIdxs = []int32{
8, // 0: MoonfantasyAskResp.code:type_name -> ErrorCode
8, // 1: MoonfantasyBattleResp.code:type_name -> ErrorCode
9, // 2: MoonfantasyBattleResp.info:type_name -> BattleInfo
10, // 3: MoonfantasyReceiveReq.report:type_name -> BattleReport
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_moonfantasy_moonfantasy_msg_proto_init() }
func file_moonfantasy_moonfantasy_msg_proto_init() {
if File_moonfantasy_moonfantasy_msg_proto != nil {
return
}
file_errorcode_proto_init()
file_battle_battle_msg_proto_init()
if !protoimpl.UnsafeEnabled {
file_moonfantasy_moonfantasy_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyTriggerReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyTriggerResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyAskReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyAskResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyBattleReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyBattleResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_moonfantasy_moonfantasy_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MoonfantasyReceiveResp); 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_moonfantasy_moonfantasy_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_moonfantasy_moonfantasy_msg_proto_goTypes,
DependencyIndexes: file_moonfantasy_moonfantasy_msg_proto_depIdxs,
MessageInfos: file_moonfantasy_moonfantasy_msg_proto_msgTypes,
}.Build()
File_moonfantasy_moonfantasy_msg_proto = out.File
file_moonfantasy_moonfantasy_msg_proto_rawDesc = nil
file_moonfantasy_moonfantasy_msg_proto_goTypes = nil
file_moonfantasy_moonfantasy_msg_proto_depIdxs = nil
}