// 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 MoonfantasyGetListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *MoonfantasyGetListReq) Reset() { *x = MoonfantasyGetListReq{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyGetListReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyGetListReq) ProtoMessage() {} func (x *MoonfantasyGetListReq) 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 MoonfantasyGetListReq.ProtoReflect.Descriptor instead. func (*MoonfantasyGetListReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{0} } //获取秘境列表请求 回应 type MoonfantasyGetListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields BattleNum int32 `protobuf:"varint,1,opt,name=battleNum,proto3" json:"battleNum"` //剩余挑战次数 BuyNum int32 `protobuf:"varint,2,opt,name=buyNum,proto3" json:"buyNum"` //已购买次数 Dfantasys []*DBMoonFantasy `protobuf:"bytes,3,rep,name=dfantasys,proto3" json:"dfantasys"` //秘境列表 } func (x *MoonfantasyGetListResp) Reset() { *x = MoonfantasyGetListResp{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyGetListResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyGetListResp) ProtoMessage() {} func (x *MoonfantasyGetListResp) 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 MoonfantasyGetListResp.ProtoReflect.Descriptor instead. func (*MoonfantasyGetListResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{1} } func (x *MoonfantasyGetListResp) GetBattleNum() int32 { if x != nil { return x.BattleNum } return 0 } func (x *MoonfantasyGetListResp) GetBuyNum() int32 { if x != nil { return x.BuyNum } return 0 } func (x *MoonfantasyGetListResp) GetDfantasys() []*DBMoonFantasy { if x != nil { return x.Dfantasys } return nil } ///推送触发秘境 type MoonfantasyTriggerPush 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 *MoonfantasyTriggerPush) Reset() { *x = MoonfantasyTriggerPush{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyTriggerPush) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyTriggerPush) ProtoMessage() {} func (x *MoonfantasyTriggerPush) 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 MoonfantasyTriggerPush.ProtoReflect.Descriptor instead. func (*MoonfantasyTriggerPush) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{2} } func (x *MoonfantasyTriggerPush) GetIssucc() bool { if x != nil { return x.Issucc } return false } func (x *MoonfantasyTriggerPush) GetMid() string { if x != nil { return x.Mid } return "" } func (x *MoonfantasyTriggerPush) GetMonster() string { if x != nil { return x.Monster } return "" } ///询问秘境 type MoonfantasyAskReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid"` //唯一id } func (x *MoonfantasyAskReq) Reset() { *x = MoonfantasyAskReq{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[3] 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[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 MoonfantasyAskReq.ProtoReflect.Descriptor instead. func (*MoonfantasyAskReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{3} } 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"` //是否成功 Info *DBMoonFantasy `protobuf:"bytes,2,opt,name=info,proto3" json:"info"` //秘境信息 可能为空 } func (x *MoonfantasyAskResp) Reset() { *x = MoonfantasyAskResp{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[4] 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[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 MoonfantasyAskResp.ProtoReflect.Descriptor instead. func (*MoonfantasyAskResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{4} } func (x *MoonfantasyAskResp) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_Success } func (x *MoonfantasyAskResp) GetInfo() *DBMoonFantasy { if x != nil { return x.Info } return nil } ///挑战秘境 type MoonfantasyBattleReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid"` //唯一id Battle *BattleFormation `protobuf:"bytes,2,opt,name=battle,proto3" json:"battle"` //战斗类型 } func (x *MoonfantasyBattleReq) Reset() { *x = MoonfantasyBattleReq{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[5] 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[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 MoonfantasyBattleReq.ProtoReflect.Descriptor instead. func (*MoonfantasyBattleReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{5} } func (x *MoonfantasyBattleReq) GetMid() string { if x != nil { return x.Mid } return "" } func (x *MoonfantasyBattleReq) GetBattle() *BattleFormation { if x != nil { return x.Battle } 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"` //是否成功 Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid"` //怪物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[6] 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[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 MoonfantasyBattleResp.ProtoReflect.Descriptor instead. func (*MoonfantasyBattleResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{6} } func (x *MoonfantasyBattleResp) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_Success } func (x *MoonfantasyBattleResp) GetMid() string { if x != nil { return x.Mid } 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来领取奖励 Mid string `protobuf:"bytes,3,opt,name=mid,proto3" json:"mid"` //怪物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[7] 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[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 MoonfantasyReceiveReq.ProtoReflect.Descriptor instead. func (*MoonfantasyReceiveReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{7} } func (x *MoonfantasyReceiveReq) GetBid() string { if x != nil { return x.Bid } return "" } func (x *MoonfantasyReceiveReq) GetMid() string { if x != nil { return x.Mid } 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[8] 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[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 MoonfantasyReceiveResp.ProtoReflect.Descriptor instead. func (*MoonfantasyReceiveResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{8} } func (x *MoonfantasyReceiveResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } ///购买挑战次数 type MoonfantasyBuyReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields BuyNum int32 `protobuf:"varint,1,opt,name=BuyNum,proto3" json:"BuyNum"` } func (x *MoonfantasyBuyReq) Reset() { *x = MoonfantasyBuyReq{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyBuyReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyBuyReq) ProtoMessage() {} func (x *MoonfantasyBuyReq) ProtoReflect() protoreflect.Message { mi := &file_moonfantasy_moonfantasy_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 MoonfantasyBuyReq.ProtoReflect.Descriptor instead. func (*MoonfantasyBuyReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{9} } func (x *MoonfantasyBuyReq) GetBuyNum() int32 { if x != nil { return x.BuyNum } return 0 } ///购买挑战次数 回应 type MoonfantasyBuyResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功 BattleNum int32 `protobuf:"varint,2,opt,name=BattleNum,proto3" json:"BattleNum"` //当前挑战次数 } func (x *MoonfantasyBuyResp) Reset() { *x = MoonfantasyBuyResp{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyBuyResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyBuyResp) ProtoMessage() {} func (x *MoonfantasyBuyResp) ProtoReflect() protoreflect.Message { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[10] 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 MoonfantasyBuyResp.ProtoReflect.Descriptor instead. func (*MoonfantasyBuyResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{10} } func (x *MoonfantasyBuyResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } func (x *MoonfantasyBuyResp) GetBattleNum() int32 { if x != nil { return x.BattleNum } return 0 } 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, 0x20, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x2f, 0x6d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 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, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x7c, 0x0a, 0x16, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x2c, 0x0a, 0x09, 0x64, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x6f, 0x6e, 0x46, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x52, 0x09, 0x64, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x73, 0x22, 0x5c, 0x0a, 0x16, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 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, 0x25, 0x0a, 0x11, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x41, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x22, 0x58, 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, 0x12, 0x22, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x6f, 0x6e, 0x46, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x52, 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, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x6a, 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, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 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, 0x62, 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, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 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, 0x22, 0x2b, 0x0a, 0x11, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x42, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x42, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x22, 0x4a, 0x0a, 0x12, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x42, 0x75, 0x79, 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, 0x1c, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 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, 11) var file_moonfantasy_moonfantasy_msg_proto_goTypes = []interface{}{ (*MoonfantasyGetListReq)(nil), // 0: MoonfantasyGetListReq (*MoonfantasyGetListResp)(nil), // 1: MoonfantasyGetListResp (*MoonfantasyTriggerPush)(nil), // 2: MoonfantasyTriggerPush (*MoonfantasyAskReq)(nil), // 3: MoonfantasyAskReq (*MoonfantasyAskResp)(nil), // 4: MoonfantasyAskResp (*MoonfantasyBattleReq)(nil), // 5: MoonfantasyBattleReq (*MoonfantasyBattleResp)(nil), // 6: MoonfantasyBattleResp (*MoonfantasyReceiveReq)(nil), // 7: MoonfantasyReceiveReq (*MoonfantasyReceiveResp)(nil), // 8: MoonfantasyReceiveResp (*MoonfantasyBuyReq)(nil), // 9: MoonfantasyBuyReq (*MoonfantasyBuyResp)(nil), // 10: MoonfantasyBuyResp (*DBMoonFantasy)(nil), // 11: DBMoonFantasy (ErrorCode)(0), // 12: ErrorCode (*BattleFormation)(nil), // 13: BattleFormation (*BattleInfo)(nil), // 14: BattleInfo (*BattleReport)(nil), // 15: BattleReport } var file_moonfantasy_moonfantasy_msg_proto_depIdxs = []int32{ 11, // 0: MoonfantasyGetListResp.dfantasys:type_name -> DBMoonFantasy 12, // 1: MoonfantasyAskResp.code:type_name -> ErrorCode 11, // 2: MoonfantasyAskResp.info:type_name -> DBMoonFantasy 13, // 3: MoonfantasyBattleReq.battle:type_name -> BattleFormation 12, // 4: MoonfantasyBattleResp.code:type_name -> ErrorCode 14, // 5: MoonfantasyBattleResp.info:type_name -> BattleInfo 15, // 6: MoonfantasyReceiveReq.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_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_moonfantasy_moonfantasy_db_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.(*MoonfantasyGetListReq); 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.(*MoonfantasyGetListResp); 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.(*MoonfantasyTriggerPush); 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.(*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[4].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[5].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[6].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[7].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[8].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 } } file_moonfantasy_moonfantasy_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MoonfantasyBuyReq); 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[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MoonfantasyBuyResp); 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: 11, 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 }