Files
DanhengServer-OpenSource/Proto/BenefitItemConfig.cs
2025-08-23 20:26:21 +08:00

402 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BenefitItemConfig.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {
/// <summary>Holder for reflection information generated from BenefitItemConfig.proto</summary>
public static partial class BenefitItemConfigReflection {
#region Descriptor
/// <summary>File descriptor for BenefitItemConfig.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BenefitItemConfigReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdCZW5lZml0SXRlbUNvbmZpZy5wcm90bxoXQmVuZWZpdFJld2FyZEl0ZW0u",
"cHJvdG8aEUVDTUtBTEtDSkFDLnByb3RvIsMBChFCZW5lZml0SXRlbUNvbmZp",
"ZxIYChByZXZlYWxfbnVtX2xpbWl0GAsgASgNEjMKF3JvZ3VlX3Njb3JlX3Jl",
"d2FyZF9pbmZvGAcgAygLMhIuQmVuZWZpdFJld2FyZEl0ZW0SEAoIZW5kX3Rp",
"bWUYDSABKAQSEwoLcmV2ZWFsX3RpbWUYAyABKAQSJAoObHVja3lfa29pX2xp",
"c3QYAiADKAsyDC5FQ01LQUxLQ0pBQxISCgpiZWdpbl90aW1lGAUgASgEQh6q",
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BenefitRewardItemReflection.Descriptor, global::EggLink.DanhengServer.Proto.ECMKALKCJACReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BenefitItemConfig), global::EggLink.DanhengServer.Proto.BenefitItemConfig.Parser, new[]{ "RevealNumLimit", "RogueScoreRewardInfo", "EndTime", "RevealTime", "LuckyKoiList", "BeginTime" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BenefitItemConfig : pb::IMessage<BenefitItemConfig>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BenefitItemConfig> _parser = new pb::MessageParser<BenefitItemConfig>(() => new BenefitItemConfig());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BenefitItemConfig> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.BenefitItemConfigReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BenefitItemConfig() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BenefitItemConfig(BenefitItemConfig other) : this() {
revealNumLimit_ = other.revealNumLimit_;
rogueScoreRewardInfo_ = other.rogueScoreRewardInfo_.Clone();
endTime_ = other.endTime_;
revealTime_ = other.revealTime_;
luckyKoiList_ = other.luckyKoiList_.Clone();
beginTime_ = other.beginTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BenefitItemConfig Clone() {
return new BenefitItemConfig(this);
}
/// <summary>Field number for the "reveal_num_limit" field.</summary>
public const int RevealNumLimitFieldNumber = 11;
private uint revealNumLimit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RevealNumLimit {
get { return revealNumLimit_; }
set {
revealNumLimit_ = value;
}
}
/// <summary>Field number for the "rogue_score_reward_info" field.</summary>
public const int RogueScoreRewardInfoFieldNumber = 7;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BenefitRewardItem> _repeated_rogueScoreRewardInfo_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.BenefitRewardItem.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem> rogueScoreRewardInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BenefitRewardItem> RogueScoreRewardInfo {
get { return rogueScoreRewardInfo_; }
}
/// <summary>Field number for the "end_time" field.</summary>
public const int EndTimeFieldNumber = 13;
private ulong endTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong EndTime {
get { return endTime_; }
set {
endTime_ = value;
}
}
/// <summary>Field number for the "reveal_time" field.</summary>
public const int RevealTimeFieldNumber = 3;
private ulong revealTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong RevealTime {
get { return revealTime_; }
set {
revealTime_ = value;
}
}
/// <summary>Field number for the "lucky_koi_list" field.</summary>
public const int LuckyKoiListFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> _repeated_luckyKoiList_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.ECMKALKCJAC.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> luckyKoiList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ECMKALKCJAC> LuckyKoiList {
get { return luckyKoiList_; }
}
/// <summary>Field number for the "begin_time" field.</summary>
public const int BeginTimeFieldNumber = 5;
private ulong beginTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong BeginTime {
get { return beginTime_; }
set {
beginTime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BenefitItemConfig);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BenefitItemConfig other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RevealNumLimit != other.RevealNumLimit) return false;
if(!rogueScoreRewardInfo_.Equals(other.rogueScoreRewardInfo_)) return false;
if (EndTime != other.EndTime) return false;
if (RevealTime != other.RevealTime) return false;
if(!luckyKoiList_.Equals(other.luckyKoiList_)) return false;
if (BeginTime != other.BeginTime) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (RevealNumLimit != 0) hash ^= RevealNumLimit.GetHashCode();
hash ^= rogueScoreRewardInfo_.GetHashCode();
if (EndTime != 0UL) hash ^= EndTime.GetHashCode();
if (RevealTime != 0UL) hash ^= RevealTime.GetHashCode();
hash ^= luckyKoiList_.GetHashCode();
if (BeginTime != 0UL) hash ^= BeginTime.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
luckyKoiList_.WriteTo(output, _repeated_luckyKoiList_codec);
if (RevealTime != 0UL) {
output.WriteRawTag(24);
output.WriteUInt64(RevealTime);
}
if (BeginTime != 0UL) {
output.WriteRawTag(40);
output.WriteUInt64(BeginTime);
}
rogueScoreRewardInfo_.WriteTo(output, _repeated_rogueScoreRewardInfo_codec);
if (RevealNumLimit != 0) {
output.WriteRawTag(88);
output.WriteUInt32(RevealNumLimit);
}
if (EndTime != 0UL) {
output.WriteRawTag(104);
output.WriteUInt64(EndTime);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
luckyKoiList_.WriteTo(ref output, _repeated_luckyKoiList_codec);
if (RevealTime != 0UL) {
output.WriteRawTag(24);
output.WriteUInt64(RevealTime);
}
if (BeginTime != 0UL) {
output.WriteRawTag(40);
output.WriteUInt64(BeginTime);
}
rogueScoreRewardInfo_.WriteTo(ref output, _repeated_rogueScoreRewardInfo_codec);
if (RevealNumLimit != 0) {
output.WriteRawTag(88);
output.WriteUInt32(RevealNumLimit);
}
if (EndTime != 0UL) {
output.WriteRawTag(104);
output.WriteUInt64(EndTime);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (RevealNumLimit != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RevealNumLimit);
}
size += rogueScoreRewardInfo_.CalculateSize(_repeated_rogueScoreRewardInfo_codec);
if (EndTime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(EndTime);
}
if (RevealTime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(RevealTime);
}
size += luckyKoiList_.CalculateSize(_repeated_luckyKoiList_codec);
if (BeginTime != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BeginTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BenefitItemConfig other) {
if (other == null) {
return;
}
if (other.RevealNumLimit != 0) {
RevealNumLimit = other.RevealNumLimit;
}
rogueScoreRewardInfo_.Add(other.rogueScoreRewardInfo_);
if (other.EndTime != 0UL) {
EndTime = other.EndTime;
}
if (other.RevealTime != 0UL) {
RevealTime = other.RevealTime;
}
luckyKoiList_.Add(other.luckyKoiList_);
if (other.BeginTime != 0UL) {
BeginTime = other.BeginTime;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 18: {
luckyKoiList_.AddEntriesFrom(input, _repeated_luckyKoiList_codec);
break;
}
case 24: {
RevealTime = input.ReadUInt64();
break;
}
case 40: {
BeginTime = input.ReadUInt64();
break;
}
case 58: {
rogueScoreRewardInfo_.AddEntriesFrom(input, _repeated_rogueScoreRewardInfo_codec);
break;
}
case 88: {
RevealNumLimit = input.ReadUInt32();
break;
}
case 104: {
EndTime = input.ReadUInt64();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 18: {
luckyKoiList_.AddEntriesFrom(ref input, _repeated_luckyKoiList_codec);
break;
}
case 24: {
RevealTime = input.ReadUInt64();
break;
}
case 40: {
BeginTime = input.ReadUInt64();
break;
}
case 58: {
rogueScoreRewardInfo_.AddEntriesFrom(ref input, _repeated_rogueScoreRewardInfo_codec);
break;
}
case 88: {
RevealNumLimit = input.ReadUInt32();
break;
}
case 104: {
EndTime = input.ReadUInt64();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code