// 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 int32 `protobuf:"varint,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() int32 { if x != nil { return x.Monster } return 0 } ///挑战秘境 type MoonfantasyDareReq 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 *MoonfantasyDareReq) Reset() { *x = MoonfantasyDareReq{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyDareReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyDareReq) ProtoMessage() {} func (x *MoonfantasyDareReq) 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 MoonfantasyDareReq.ProtoReflect.Descriptor instead. func (*MoonfantasyDareReq) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{2} } func (x *MoonfantasyDareReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *MoonfantasyDareReq) GetMid() string { if x != nil { return x.Mid } return "" } type MoonfantasyDareResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功 } func (x *MoonfantasyDareResp) Reset() { *x = MoonfantasyDareResp{} if protoimpl.UnsafeEnabled { mi := &file_moonfantasy_moonfantasy_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MoonfantasyDareResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoonfantasyDareResp) ProtoMessage() {} func (x *MoonfantasyDareResp) 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 MoonfantasyDareResp.ProtoReflect.Descriptor instead. func (*MoonfantasyDareResp) Descriptor() ([]byte, []int) { return file_moonfantasy_moonfantasy_msg_proto_rawDescGZIP(), []int{3} } func (x *MoonfantasyDareResp) 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, 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, 0x05, 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x12, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x44, 0x61, 0x72, 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, 0x22, 0x2d, 0x0a, 0x13, 0x4d, 0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x44, 0x61, 0x72, 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, 4) var file_moonfantasy_moonfantasy_msg_proto_goTypes = []interface{}{ (*MoonfantasyTriggerReq)(nil), // 0: MoonfantasyTriggerReq (*MoonfantasyTriggerResp)(nil), // 1: MoonfantasyTriggerResp (*MoonfantasyDareReq)(nil), // 2: MoonfantasyDareReq (*MoonfantasyDareResp)(nil), // 3: MoonfantasyDareResp } var file_moonfantasy_moonfantasy_msg_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] 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 } 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.(*MoonfantasyDareReq); 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.(*MoonfantasyDareResp); 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: 4, 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 }