mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
463 lines
16 KiB
C#
463 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(
|
|
"ChpSb2d1ZVNjb3JlUmV3YXJkSW5mby5wcm90byLAAQoUUm9ndWVTY29yZVJl",
|
|
"d2FyZEluZm8SFgoOcG9vbF9yZWZyZXNoZWQYBiABKAgSGQoRcmV3YXJkX2Jl",
|
|
"Z2luX3RpbWUYBSABKAMSEwoLRlBHQUZOQ0JJT0cYDyADKA0SFQoNZXhwbG9y",
|
|
"ZV9zY29yZRgIIAEoDRIfChdoYXNfdGFrZW5faW5pdGlhbF9zY29yZRgKIAEo",
|
|
"CBIPCgdwb29sX2lkGAMgASgNEhcKD3Jld2FyZF9lbmRfdGltZRgLIAEoA0Ie",
|
|
"qgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
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[]{ "PoolRefreshed", "RewardBeginTime", "FPGAFNCBIOG", "ExploreScore", "HasTakenInitialScore", "PoolId", "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() {
|
|
poolRefreshed_ = other.poolRefreshed_;
|
|
rewardBeginTime_ = other.rewardBeginTime_;
|
|
fPGAFNCBIOG_ = other.fPGAFNCBIOG_.Clone();
|
|
exploreScore_ = other.exploreScore_;
|
|
hasTakenInitialScore_ = other.hasTakenInitialScore_;
|
|
poolId_ = other.poolId_;
|
|
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 "pool_refreshed" field.</summary>
|
|
public const int PoolRefreshedFieldNumber = 6;
|
|
private bool poolRefreshed_;
|
|
/// <summary>
|
|
/// 10
|
|
/// </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 "reward_begin_time" field.</summary>
|
|
public const int RewardBeginTimeFieldNumber = 5;
|
|
private long rewardBeginTime_;
|
|
/// <summary>
|
|
/// 11
|
|
/// </summary>
|
|
[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 "FPGAFNCBIOG" field.</summary>
|
|
public const int FPGAFNCBIOGFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<uint> _repeated_fPGAFNCBIOG_codec
|
|
= pb::FieldCodec.ForUInt32(122);
|
|
private readonly pbc::RepeatedField<uint> fPGAFNCBIOG_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> FPGAFNCBIOG {
|
|
get { return fPGAFNCBIOG_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "explore_score" field.</summary>
|
|
public const int ExploreScoreFieldNumber = 8;
|
|
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 = 10;
|
|
private bool hasTakenInitialScore_;
|
|
/// <summary>
|
|
/// 6
|
|
/// </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 "pool_id" field.</summary>
|
|
public const int PoolIdFieldNumber = 3;
|
|
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 "reward_end_time" field.</summary>
|
|
public const int RewardEndTimeFieldNumber = 11;
|
|
private long rewardEndTime_;
|
|
/// <summary>
|
|
/// 5
|
|
/// </summary>
|
|
[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 (PoolRefreshed != other.PoolRefreshed) return false;
|
|
if (RewardBeginTime != other.RewardBeginTime) return false;
|
|
if(!fPGAFNCBIOG_.Equals(other.fPGAFNCBIOG_)) return false;
|
|
if (ExploreScore != other.ExploreScore) return false;
|
|
if (HasTakenInitialScore != other.HasTakenInitialScore) return false;
|
|
if (PoolId != other.PoolId) 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 (PoolRefreshed != false) hash ^= PoolRefreshed.GetHashCode();
|
|
if (RewardBeginTime != 0L) hash ^= RewardBeginTime.GetHashCode();
|
|
hash ^= fPGAFNCBIOG_.GetHashCode();
|
|
if (ExploreScore != 0) hash ^= ExploreScore.GetHashCode();
|
|
if (HasTakenInitialScore != false) hash ^= HasTakenInitialScore.GetHashCode();
|
|
if (PoolId != 0) hash ^= PoolId.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
|
|
if (PoolId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(PoolId);
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(RewardBeginTime);
|
|
}
|
|
if (PoolRefreshed != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PoolRefreshed);
|
|
}
|
|
if (ExploreScore != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(ExploreScore);
|
|
}
|
|
if (HasTakenInitialScore != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(HasTakenInitialScore);
|
|
}
|
|
if (RewardEndTime != 0L) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt64(RewardEndTime);
|
|
}
|
|
fPGAFNCBIOG_.WriteTo(output, _repeated_fPGAFNCBIOG_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 (PoolId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(PoolId);
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(RewardBeginTime);
|
|
}
|
|
if (PoolRefreshed != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PoolRefreshed);
|
|
}
|
|
if (ExploreScore != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(ExploreScore);
|
|
}
|
|
if (HasTakenInitialScore != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(HasTakenInitialScore);
|
|
}
|
|
if (RewardEndTime != 0L) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt64(RewardEndTime);
|
|
}
|
|
fPGAFNCBIOG_.WriteTo(ref output, _repeated_fPGAFNCBIOG_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 (PoolRefreshed != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardBeginTime);
|
|
}
|
|
size += fPGAFNCBIOG_.CalculateSize(_repeated_fPGAFNCBIOG_codec);
|
|
if (ExploreScore != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExploreScore);
|
|
}
|
|
if (HasTakenInitialScore != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (PoolId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PoolId);
|
|
}
|
|
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.PoolRefreshed != false) {
|
|
PoolRefreshed = other.PoolRefreshed;
|
|
}
|
|
if (other.RewardBeginTime != 0L) {
|
|
RewardBeginTime = other.RewardBeginTime;
|
|
}
|
|
fPGAFNCBIOG_.Add(other.fPGAFNCBIOG_);
|
|
if (other.ExploreScore != 0) {
|
|
ExploreScore = other.ExploreScore;
|
|
}
|
|
if (other.HasTakenInitialScore != false) {
|
|
HasTakenInitialScore = other.HasTakenInitialScore;
|
|
}
|
|
if (other.PoolId != 0) {
|
|
PoolId = other.PoolId;
|
|
}
|
|
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 24: {
|
|
PoolId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardBeginTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PoolRefreshed = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ExploreScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
HasTakenInitialScore = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
RewardEndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
fPGAFNCBIOG_.AddEntriesFrom(input, _repeated_fPGAFNCBIOG_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 24: {
|
|
PoolId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardBeginTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PoolRefreshed = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
ExploreScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
HasTakenInitialScore = input.ReadBool();
|
|
break;
|
|
}
|
|
case 88: {
|
|
RewardEndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
fPGAFNCBIOG_.AddEntriesFrom(ref input, _repeated_fPGAFNCBIOG_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|