Files
DanhengServer-OpenSource/Proto/RogueScoreRewardInfo.cs
2024-10-05 22:40:41 +08:00

458 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueScoreRewardInfo.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 RogueScoreRewardInfo.proto</summary>
public static partial class RogueScoreRewardInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueScoreRewardInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueScoreRewardInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChpSb2d1ZVNjb3JlUmV3YXJkSW5mby5wcm90byLPAQoUUm9ndWVTY29yZVJl",
"d2FyZEluZm8SFQoNZXhwbG9yZV9zY29yZRgHIAEoDRIfChdoYXNfdGFrZW5f",
"aW5pdGlhbF9zY29yZRgFIAEoCBIZChFyZXdhcmRfYmVnaW5fdGltZRgMIAEo",
"AxIWCg5wb29sX3JlZnJlc2hlZBgNIAEoCBIPCgdwb29sX2lkGAQgASgNEiIK",
"GnRha2VuX25vcm1hbF9mcmVlX3Jvd19saXN0GAEgAygNEhcKD3Jld2FyZF9l",
"bmRfdGltZRgOIAEoA0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
"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[]{ "ExploreScore", "HasTakenInitialScore", "RewardBeginTime", "PoolRefreshed", "PoolId", "TakenNormalFreeRowList", "RewardEndTime" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueScoreRewardInfo : pb::IMessage<RogueScoreRewardInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueScoreRewardInfo> _parser = new pb::MessageParser<RogueScoreRewardInfo>(() => new RogueScoreRewardInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueScoreRewardInfo> 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() {
exploreScore_ = other.exploreScore_;
hasTakenInitialScore_ = other.hasTakenInitialScore_;
rewardBeginTime_ = other.rewardBeginTime_;
poolRefreshed_ = other.poolRefreshed_;
poolId_ = other.poolId_;
takenNormalFreeRowList_ = other.takenNormalFreeRowList_.Clone();
rewardEndTime_ = other.rewardEndTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueScoreRewardInfo Clone() {
return new RogueScoreRewardInfo(this);
}
/// <summary>Field number for the "explore_score" field.</summary>
public const int ExploreScoreFieldNumber = 7;
private uint exploreScore_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ExploreScore {
get { return exploreScore_; }
set {
exploreScore_ = value;
}
}
/// <summary>Field number for the "has_taken_initial_score" field.</summary>
public const int HasTakenInitialScoreFieldNumber = 5;
private bool hasTakenInitialScore_;
/// <summary>
/// 13
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasTakenInitialScore {
get { return hasTakenInitialScore_; }
set {
hasTakenInitialScore_ = value;
}
}
/// <summary>Field number for the "reward_begin_time" field.</summary>
public const int RewardBeginTimeFieldNumber = 12;
private long rewardBeginTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RewardBeginTime {
get { return rewardBeginTime_; }
set {
rewardBeginTime_ = value;
}
}
/// <summary>Field number for the "pool_refreshed" field.</summary>
public const int PoolRefreshedFieldNumber = 13;
private bool poolRefreshed_;
/// <summary>
/// 5
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool PoolRefreshed {
get { return poolRefreshed_; }
set {
poolRefreshed_ = value;
}
}
/// <summary>Field number for the "pool_id" field.</summary>
public const int PoolIdFieldNumber = 4;
private uint poolId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PoolId {
get { return poolId_; }
set {
poolId_ = value;
}
}
/// <summary>Field number for the "taken_normal_free_row_list" field.</summary>
public const int TakenNormalFreeRowListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_takenNormalFreeRowList_codec
= pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> takenNormalFreeRowList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> TakenNormalFreeRowList {
get { return takenNormalFreeRowList_; }
}
/// <summary>Field number for the "reward_end_time" field.</summary>
public const int RewardEndTimeFieldNumber = 14;
private long rewardEndTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RewardEndTime {
get { return rewardEndTime_; }
set {
rewardEndTime_ = 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 (ExploreScore != other.ExploreScore) return false;
if (HasTakenInitialScore != other.HasTakenInitialScore) return false;
if (RewardBeginTime != other.RewardBeginTime) return false;
if (PoolRefreshed != other.PoolRefreshed) return false;
if (PoolId != other.PoolId) return false;
if(!takenNormalFreeRowList_.Equals(other.takenNormalFreeRowList_)) return false;
if (RewardEndTime != other.RewardEndTime) 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 (ExploreScore != 0) hash ^= ExploreScore.GetHashCode();
if (HasTakenInitialScore != false) hash ^= HasTakenInitialScore.GetHashCode();
if (RewardBeginTime != 0L) hash ^= RewardBeginTime.GetHashCode();
if (PoolRefreshed != false) hash ^= PoolRefreshed.GetHashCode();
if (PoolId != 0) hash ^= PoolId.GetHashCode();
hash ^= takenNormalFreeRowList_.GetHashCode();
if (RewardEndTime != 0L) hash ^= RewardEndTime.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
takenNormalFreeRowList_.WriteTo(output, _repeated_takenNormalFreeRowList_codec);
if (PoolId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(PoolId);
}
if (HasTakenInitialScore != false) {
output.WriteRawTag(40);
output.WriteBool(HasTakenInitialScore);
}
if (ExploreScore != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ExploreScore);
}
if (RewardBeginTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(RewardBeginTime);
}
if (PoolRefreshed != false) {
output.WriteRawTag(104);
output.WriteBool(PoolRefreshed);
}
if (RewardEndTime != 0L) {
output.WriteRawTag(112);
output.WriteInt64(RewardEndTime);
}
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) {
takenNormalFreeRowList_.WriteTo(ref output, _repeated_takenNormalFreeRowList_codec);
if (PoolId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(PoolId);
}
if (HasTakenInitialScore != false) {
output.WriteRawTag(40);
output.WriteBool(HasTakenInitialScore);
}
if (ExploreScore != 0) {
output.WriteRawTag(56);
output.WriteUInt32(ExploreScore);
}
if (RewardBeginTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(RewardBeginTime);
}
if (PoolRefreshed != false) {
output.WriteRawTag(104);
output.WriteBool(PoolRefreshed);
}
if (RewardEndTime != 0L) {
output.WriteRawTag(112);
output.WriteInt64(RewardEndTime);
}
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 (ExploreScore != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExploreScore);
}
if (HasTakenInitialScore != false) {
size += 1 + 1;
}
if (RewardBeginTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardBeginTime);
}
if (PoolRefreshed != false) {
size += 1 + 1;
}
if (PoolId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PoolId);
}
size += takenNormalFreeRowList_.CalculateSize(_repeated_takenNormalFreeRowList_codec);
if (RewardEndTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardEndTime);
}
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.ExploreScore != 0) {
ExploreScore = other.ExploreScore;
}
if (other.HasTakenInitialScore != false) {
HasTakenInitialScore = other.HasTakenInitialScore;
}
if (other.RewardBeginTime != 0L) {
RewardBeginTime = other.RewardBeginTime;
}
if (other.PoolRefreshed != false) {
PoolRefreshed = other.PoolRefreshed;
}
if (other.PoolId != 0) {
PoolId = other.PoolId;
}
takenNormalFreeRowList_.Add(other.takenNormalFreeRowList_);
if (other.RewardEndTime != 0L) {
RewardEndTime = other.RewardEndTime;
}
_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 10:
case 8: {
takenNormalFreeRowList_.AddEntriesFrom(input, _repeated_takenNormalFreeRowList_codec);
break;
}
case 32: {
PoolId = input.ReadUInt32();
break;
}
case 40: {
HasTakenInitialScore = input.ReadBool();
break;
}
case 56: {
ExploreScore = input.ReadUInt32();
break;
}
case 96: {
RewardBeginTime = input.ReadInt64();
break;
}
case 104: {
PoolRefreshed = input.ReadBool();
break;
}
case 112: {
RewardEndTime = input.ReadInt64();
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 10:
case 8: {
takenNormalFreeRowList_.AddEntriesFrom(ref input, _repeated_takenNormalFreeRowList_codec);
break;
}
case 32: {
PoolId = input.ReadUInt32();
break;
}
case 40: {
HasTakenInitialScore = input.ReadBool();
break;
}
case 56: {
ExploreScore = input.ReadUInt32();
break;
}
case 96: {
RewardBeginTime = input.ReadInt64();
break;
}
case 104: {
PoolRefreshed = input.ReadBool();
break;
}
case 112: {
RewardEndTime = input.ReadInt64();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code