// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. // Copyright (C) 2022 Sorapointa Team // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.14.0 // source: DoGachaRsp.proto package proto 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) ) // CmdId: 1535 // EnetChannelId: 0 // EnetIsReliable: true type DoGachaRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CurScheduleDailyGachaTimes uint32 `protobuf:"varint,155,opt,name=cur_schedule_daily_gacha_times,json=curScheduleDailyGachaTimes,proto3" json:"cur_schedule_daily_gacha_times,omitempty"` CostItemNum uint32 `protobuf:"varint,10,opt,name=cost_item_num,json=costItemNum,proto3" json:"cost_item_num,omitempty"` WishMaxProgress uint32 `protobuf:"varint,9,opt,name=wish_max_progress,json=wishMaxProgress,proto3" json:"wish_max_progress,omitempty"` WishItemId uint32 `protobuf:"varint,8,opt,name=wish_item_id,json=wishItemId,proto3" json:"wish_item_id,omitempty"` Retcode int32 `protobuf:"varint,13,opt,name=retcode,proto3" json:"retcode,omitempty"` TenCostItemNum uint32 `protobuf:"varint,3,opt,name=ten_cost_item_num,json=tenCostItemNum,proto3" json:"ten_cost_item_num,omitempty"` WishProgress uint32 `protobuf:"varint,2,opt,name=wish_progress,json=wishProgress,proto3" json:"wish_progress,omitempty"` GachaItemList []*GachaItem `protobuf:"bytes,15,rep,name=gacha_item_list,json=gachaItemList,proto3" json:"gacha_item_list,omitempty"` TenCostItemId uint32 `protobuf:"varint,7,opt,name=ten_cost_item_id,json=tenCostItemId,proto3" json:"ten_cost_item_id,omitempty"` GachaTimes uint32 `protobuf:"varint,4,opt,name=gacha_times,json=gachaTimes,proto3" json:"gacha_times,omitempty"` IsUnderMinorsRestrict bool `protobuf:"varint,1435,opt,name=is_under_minors_restrict,json=isUnderMinorsRestrict,proto3" json:"is_under_minors_restrict,omitempty"` IsUnderGeneralRestrict bool `protobuf:"varint,1868,opt,name=is_under_general_restrict,json=isUnderGeneralRestrict,proto3" json:"is_under_general_restrict,omitempty"` GachaType uint32 `protobuf:"varint,12,opt,name=gacha_type,json=gachaType,proto3" json:"gacha_type,omitempty"` GachaTimesLimit uint32 `protobuf:"varint,1,opt,name=gacha_times_limit,json=gachaTimesLimit,proto3" json:"gacha_times_limit,omitempty"` CostItemId uint32 `protobuf:"varint,14,opt,name=cost_item_id,json=costItemId,proto3" json:"cost_item_id,omitempty"` DailyGachaTimes uint32 `protobuf:"varint,1240,opt,name=daily_gacha_times,json=dailyGachaTimes,proto3" json:"daily_gacha_times,omitempty"` LeftGachaTimes uint32 `protobuf:"varint,6,opt,name=left_gacha_times,json=leftGachaTimes,proto3" json:"left_gacha_times,omitempty"` NewGachaRandom uint32 `protobuf:"varint,11,opt,name=new_gacha_random,json=newGachaRandom,proto3" json:"new_gacha_random,omitempty"` GachaScheduleId uint32 `protobuf:"varint,5,opt,name=gacha_schedule_id,json=gachaScheduleId,proto3" json:"gacha_schedule_id,omitempty"` } func (x *DoGachaRsp) Reset() { *x = DoGachaRsp{} if protoimpl.UnsafeEnabled { mi := &file_DoGachaRsp_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DoGachaRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DoGachaRsp) ProtoMessage() {} func (x *DoGachaRsp) ProtoReflect() protoreflect.Message { mi := &file_DoGachaRsp_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 DoGachaRsp.ProtoReflect.Descriptor instead. func (*DoGachaRsp) Descriptor() ([]byte, []int) { return file_DoGachaRsp_proto_rawDescGZIP(), []int{0} } func (x *DoGachaRsp) GetCurScheduleDailyGachaTimes() uint32 { if x != nil { return x.CurScheduleDailyGachaTimes } return 0 } func (x *DoGachaRsp) GetCostItemNum() uint32 { if x != nil { return x.CostItemNum } return 0 } func (x *DoGachaRsp) GetWishMaxProgress() uint32 { if x != nil { return x.WishMaxProgress } return 0 } func (x *DoGachaRsp) GetWishItemId() uint32 { if x != nil { return x.WishItemId } return 0 } func (x *DoGachaRsp) GetRetcode() int32 { if x != nil { return x.Retcode } return 0 } func (x *DoGachaRsp) GetTenCostItemNum() uint32 { if x != nil { return x.TenCostItemNum } return 0 } func (x *DoGachaRsp) GetWishProgress() uint32 { if x != nil { return x.WishProgress } return 0 } func (x *DoGachaRsp) GetGachaItemList() []*GachaItem { if x != nil { return x.GachaItemList } return nil } func (x *DoGachaRsp) GetTenCostItemId() uint32 { if x != nil { return x.TenCostItemId } return 0 } func (x *DoGachaRsp) GetGachaTimes() uint32 { if x != nil { return x.GachaTimes } return 0 } func (x *DoGachaRsp) GetIsUnderMinorsRestrict() bool { if x != nil { return x.IsUnderMinorsRestrict } return false } func (x *DoGachaRsp) GetIsUnderGeneralRestrict() bool { if x != nil { return x.IsUnderGeneralRestrict } return false } func (x *DoGachaRsp) GetGachaType() uint32 { if x != nil { return x.GachaType } return 0 } func (x *DoGachaRsp) GetGachaTimesLimit() uint32 { if x != nil { return x.GachaTimesLimit } return 0 } func (x *DoGachaRsp) GetCostItemId() uint32 { if x != nil { return x.CostItemId } return 0 } func (x *DoGachaRsp) GetDailyGachaTimes() uint32 { if x != nil { return x.DailyGachaTimes } return 0 } func (x *DoGachaRsp) GetLeftGachaTimes() uint32 { if x != nil { return x.LeftGachaTimes } return 0 } func (x *DoGachaRsp) GetNewGachaRandom() uint32 { if x != nil { return x.NewGachaRandom } return 0 } func (x *DoGachaRsp) GetGachaScheduleId() uint32 { if x != nil { return x.GachaScheduleId } return 0 } var File_DoGachaRsp_proto protoreflect.FileDescriptor var file_DoGachaRsp_proto_rawDesc = []byte{ 0x0a, 0x10, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x06, 0x0a, 0x0a, 0x44, 0x6f, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x73, 0x70, 0x12, 0x43, 0x0a, 0x1e, 0x63, 0x75, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x9b, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x1a, 0x63, 0x75, 0x72, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x77, 0x69, 0x73, 0x68, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x77, 0x69, 0x73, 0x68, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x74, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x4e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x69, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x77, 0x69, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x67, 0x61, 0x63, 0x68, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x10, 0x74, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x65, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x9b, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x69, 0x73, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x69, 0x73, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0xcc, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x69, 0x73, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0xd8, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x47, 0x61, 0x63, 0x68, 0x61, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x47, 0x61, 0x63, 0x68, 0x61, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x11, 0x67, 0x61, 0x63, 0x68, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x67, 0x61, 0x63, 0x68, 0x61, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_DoGachaRsp_proto_rawDescOnce sync.Once file_DoGachaRsp_proto_rawDescData = file_DoGachaRsp_proto_rawDesc ) func file_DoGachaRsp_proto_rawDescGZIP() []byte { file_DoGachaRsp_proto_rawDescOnce.Do(func() { file_DoGachaRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DoGachaRsp_proto_rawDescData) }) return file_DoGachaRsp_proto_rawDescData } var file_DoGachaRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_DoGachaRsp_proto_goTypes = []interface{}{ (*DoGachaRsp)(nil), // 0: proto.DoGachaRsp (*GachaItem)(nil), // 1: proto.GachaItem } var file_DoGachaRsp_proto_depIdxs = []int32{ 1, // 0: proto.DoGachaRsp.gacha_item_list:type_name -> proto.GachaItem 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_DoGachaRsp_proto_init() } func file_DoGachaRsp_proto_init() { if File_DoGachaRsp_proto != nil { return } file_GachaItem_proto_init() if !protoimpl.UnsafeEnabled { file_DoGachaRsp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DoGachaRsp); 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_DoGachaRsp_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_DoGachaRsp_proto_goTypes, DependencyIndexes: file_DoGachaRsp_proto_depIdxs, MessageInfos: file_DoGachaRsp_proto_msgTypes, }.Build() File_DoGachaRsp_proto = out.File file_DoGachaRsp_proto_rawDesc = nil file_DoGachaRsp_proto_goTypes = nil file_DoGachaRsp_proto_depIdxs = nil }