mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
452 lines
16 KiB
C#
452 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",
|
|
"d2FyZEluZm8SFQoNZXhwbG9yZV9zY29yZRgMIAEoDRIfChdoYXNfdGFrZW5f",
|
|
"aW5pdGlhbF9zY29yZRgOIAEoCBIWCg5wb29sX3JlZnJlc2hlZBgGIAEoCBIP",
|
|
"Cgdwb29sX2lkGAggASgNEhkKEXJld2FyZF9iZWdpbl90aW1lGAUgASgDEiIK",
|
|
"GnRha2VuX25vcm1hbF9mcmVlX3Jvd19saXN0GAsgAygNEhcKD3Jld2FyZF9l",
|
|
"bmRfdGltZRgEIAEoA0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"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", "PoolRefreshed", "PoolId", "RewardBeginTime", "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_;
|
|
poolRefreshed_ = other.poolRefreshed_;
|
|
poolId_ = other.poolId_;
|
|
rewardBeginTime_ = other.rewardBeginTime_;
|
|
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 = 12;
|
|
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 = 14;
|
|
private bool hasTakenInitialScore_;
|
|
[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_refreshed" field.</summary>
|
|
public const int PoolRefreshedFieldNumber = 6;
|
|
private bool poolRefreshed_;
|
|
[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 = 8;
|
|
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_begin_time" field.</summary>
|
|
public const int RewardBeginTimeFieldNumber = 5;
|
|
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 "taken_normal_free_row_list" field.</summary>
|
|
public const int TakenNormalFreeRowListFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_takenNormalFreeRowList_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
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 = 4;
|
|
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 (PoolRefreshed != other.PoolRefreshed) return false;
|
|
if (PoolId != other.PoolId) return false;
|
|
if (RewardBeginTime != other.RewardBeginTime) 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 (PoolRefreshed != false) hash ^= PoolRefreshed.GetHashCode();
|
|
if (PoolId != 0) hash ^= PoolId.GetHashCode();
|
|
if (RewardBeginTime != 0L) hash ^= RewardBeginTime.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
|
|
if (RewardEndTime != 0L) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt64(RewardEndTime);
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(RewardBeginTime);
|
|
}
|
|
if (PoolRefreshed != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PoolRefreshed);
|
|
}
|
|
if (PoolId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(PoolId);
|
|
}
|
|
takenNormalFreeRowList_.WriteTo(output, _repeated_takenNormalFreeRowList_codec);
|
|
if (ExploreScore != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(ExploreScore);
|
|
}
|
|
if (HasTakenInitialScore != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(HasTakenInitialScore);
|
|
}
|
|
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(32);
|
|
output.WriteInt64(RewardEndTime);
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(RewardBeginTime);
|
|
}
|
|
if (PoolRefreshed != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(PoolRefreshed);
|
|
}
|
|
if (PoolId != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(PoolId);
|
|
}
|
|
takenNormalFreeRowList_.WriteTo(ref output, _repeated_takenNormalFreeRowList_codec);
|
|
if (ExploreScore != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(ExploreScore);
|
|
}
|
|
if (HasTakenInitialScore != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(HasTakenInitialScore);
|
|
}
|
|
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 (PoolRefreshed != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (PoolId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PoolId);
|
|
}
|
|
if (RewardBeginTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RewardBeginTime);
|
|
}
|
|
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.PoolRefreshed != false) {
|
|
PoolRefreshed = other.PoolRefreshed;
|
|
}
|
|
if (other.PoolId != 0) {
|
|
PoolId = other.PoolId;
|
|
}
|
|
if (other.RewardBeginTime != 0L) {
|
|
RewardBeginTime = other.RewardBeginTime;
|
|
}
|
|
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 32: {
|
|
RewardEndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardBeginTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PoolRefreshed = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
PoolId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
takenNormalFreeRowList_.AddEntriesFrom(input, _repeated_takenNormalFreeRowList_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
ExploreScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
HasTakenInitialScore = input.ReadBool();
|
|
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 32: {
|
|
RewardEndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 40: {
|
|
RewardBeginTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
PoolRefreshed = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
PoolId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
takenNormalFreeRowList_.AddEntriesFrom(ref input, _repeated_takenNormalFreeRowList_codec);
|
|
break;
|
|
}
|
|
case 96: {
|
|
ExploreScore = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
HasTakenInitialScore = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|