// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueScoreRewardInfo.proto // #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 { /// Holder for reflection information generated from RogueScoreRewardInfo.proto public static partial class RogueScoreRewardInfoReflection { #region Descriptor /// File descriptor for RogueScoreRewardInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueScoreRewardInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpSb2d1ZVNjb3JlUmV3YXJkSW5mby5wcm90byLPAQoUUm9ndWVTY29yZVJl", "d2FyZEluZm8SHwoXaGFzX3Rha2VuX2luaXRpYWxfc2NvcmUYCyABKAgSIgoa", "dGFrZW5fbm9ybWFsX2ZyZWVfcm93X2xpc3QYDCADKA0SGQoRcmV3YXJkX2Jl", "Z2luX3RpbWUYByABKAMSDwoHcG9vbF9pZBgIIAEoDRIXCg9yZXdhcmRfZW5k", "X3RpbWUYBiABKAMSFQoNZXhwbG9yZV9zY29yZRgKIAEoDRIWCg5wb29sX3Jl", "ZnJlc2hlZBgJIAEoCEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv", "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueScoreRewardInfo), global::EggLink.DanhengServer.Proto.RogueScoreRewardInfo.Parser, new[]{ "HasTakenInitialScore", "TakenNormalFreeRowList", "RewardBeginTime", "PoolId", "RewardEndTime", "ExploreScore", "PoolRefreshed" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueScoreRewardInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueScoreRewardInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.RogueScoreRewardInfoReflection.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 RogueScoreRewardInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueScoreRewardInfo(RogueScoreRewardInfo other) : this() { hasTakenInitialScore_ = other.hasTakenInitialScore_; takenNormalFreeRowList_ = other.takenNormalFreeRowList_.Clone(); rewardBeginTime_ = other.rewardBeginTime_; poolId_ = other.poolId_; rewardEndTime_ = other.rewardEndTime_; exploreScore_ = other.exploreScore_; poolRefreshed_ = other.poolRefreshed_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueScoreRewardInfo Clone() { return new RogueScoreRewardInfo(this); } /// Field number for the "has_taken_initial_score" field. public const int HasTakenInitialScoreFieldNumber = 11; private bool hasTakenInitialScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasTakenInitialScore { get { return hasTakenInitialScore_; } set { hasTakenInitialScore_ = value; } } /// Field number for the "taken_normal_free_row_list" field. public const int TakenNormalFreeRowListFieldNumber = 12; private static readonly pb::FieldCodec _repeated_takenNormalFreeRowList_codec = pb::FieldCodec.ForUInt32(98); private readonly pbc::RepeatedField takenNormalFreeRowList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TakenNormalFreeRowList { get { return takenNormalFreeRowList_; } } /// Field number for the "reward_begin_time" field. public const int RewardBeginTimeFieldNumber = 7; private long rewardBeginTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long RewardBeginTime { get { return rewardBeginTime_; } set { rewardBeginTime_ = value; } } /// Field number for the "pool_id" field. public const int PoolIdFieldNumber = 8; private uint poolId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PoolId { get { return poolId_; } set { poolId_ = value; } } /// Field number for the "reward_end_time" field. public const int RewardEndTimeFieldNumber = 6; private long rewardEndTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long RewardEndTime { get { return rewardEndTime_; } set { rewardEndTime_ = value; } } /// Field number for the "explore_score" field. public const int ExploreScoreFieldNumber = 10; private uint exploreScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ExploreScore { get { return exploreScore_; } set { exploreScore_ = value; } } /// Field number for the "pool_refreshed" field. public const int PoolRefreshedFieldNumber = 9; private bool poolRefreshed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool PoolRefreshed { get { return poolRefreshed_; } set { poolRefreshed_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueScoreRewardInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueScoreRewardInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (HasTakenInitialScore != other.HasTakenInitialScore) return false; if(!takenNormalFreeRowList_.Equals(other.takenNormalFreeRowList_)) return false; if (RewardBeginTime != other.RewardBeginTime) return false; if (PoolId != other.PoolId) return false; if (RewardEndTime != other.RewardEndTime) return false; if (ExploreScore != other.ExploreScore) return false; if (PoolRefreshed != other.PoolRefreshed) 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 (HasTakenInitialScore != false) hash ^= HasTakenInitialScore.GetHashCode(); hash ^= takenNormalFreeRowList_.GetHashCode(); if (RewardBeginTime != 0L) hash ^= RewardBeginTime.GetHashCode(); if (PoolId != 0) hash ^= PoolId.GetHashCode(); if (RewardEndTime != 0L) hash ^= RewardEndTime.GetHashCode(); if (ExploreScore != 0) hash ^= ExploreScore.GetHashCode(); if (PoolRefreshed != false) hash ^= PoolRefreshed.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 if (RewardEndTime != 0L) { output.WriteRawTag(48); output.WriteInt64(RewardEndTime); } if (RewardBeginTime != 0L) { output.WriteRawTag(56); output.WriteInt64(RewardBeginTime); } if (PoolId != 0) { output.WriteRawTag(64); output.WriteUInt32(PoolId); } if (PoolRefreshed != false) { output.WriteRawTag(72); output.WriteBool(PoolRefreshed); } if (ExploreScore != 0) { output.WriteRawTag(80); output.WriteUInt32(ExploreScore); } if (HasTakenInitialScore != false) { output.WriteRawTag(88); output.WriteBool(HasTakenInitialScore); } takenNormalFreeRowList_.WriteTo(output, _repeated_takenNormalFreeRowList_codec); 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) { if (RewardEndTime != 0L) { output.WriteRawTag(48); output.WriteInt64(RewardEndTime); } if (RewardBeginTime != 0L) { output.WriteRawTag(56); output.WriteInt64(RewardBeginTime); } if (PoolId != 0) { output.WriteRawTag(64); output.WriteUInt32(PoolId); } if (PoolRefreshed != false) { output.WriteRawTag(72); output.WriteBool(PoolRefreshed); } if (ExploreScore != 0) { output.WriteRawTag(80); output.WriteUInt32(ExploreScore); } if (HasTakenInitialScore != false) { output.WriteRawTag(88); output.WriteBool(HasTakenInitialScore); } takenNormalFreeRowList_.WriteTo(ref output, _repeated_takenNormalFreeRowList_codec); 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 (HasTakenInitialScore != false) { size += 1 + 1; } size += takenNormalFreeRowList_.CalculateSize(_repeated_takenNormalFreeRowList_codec); if (RewardBeginTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardBeginTime); } if (PoolId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PoolId); } if (RewardEndTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardEndTime); } if (ExploreScore != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExploreScore); } if (PoolRefreshed != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueScoreRewardInfo other) { if (other == null) { return; } if (other.HasTakenInitialScore != false) { HasTakenInitialScore = other.HasTakenInitialScore; } takenNormalFreeRowList_.Add(other.takenNormalFreeRowList_); if (other.RewardBeginTime != 0L) { RewardBeginTime = other.RewardBeginTime; } if (other.PoolId != 0) { PoolId = other.PoolId; } if (other.RewardEndTime != 0L) { RewardEndTime = other.RewardEndTime; } if (other.ExploreScore != 0) { ExploreScore = other.ExploreScore; } if (other.PoolRefreshed != false) { PoolRefreshed = other.PoolRefreshed; } _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 48: { RewardEndTime = input.ReadInt64(); break; } case 56: { RewardBeginTime = input.ReadInt64(); break; } case 64: { PoolId = input.ReadUInt32(); break; } case 72: { PoolRefreshed = input.ReadBool(); break; } case 80: { ExploreScore = input.ReadUInt32(); break; } case 88: { HasTakenInitialScore = input.ReadBool(); break; } case 98: case 96: { takenNormalFreeRowList_.AddEntriesFrom(input, _repeated_takenNormalFreeRowList_codec); 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 48: { RewardEndTime = input.ReadInt64(); break; } case 56: { RewardBeginTime = input.ReadInt64(); break; } case 64: { PoolId = input.ReadUInt32(); break; } case 72: { PoolRefreshed = input.ReadBool(); break; } case 80: { ExploreScore = input.ReadUInt32(); break; } case 88: { HasTakenInitialScore = input.ReadBool(); break; } case 98: case 96: { takenNormalFreeRowList_.AddEntriesFrom(ref input, _repeated_takenNormalFreeRowList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code