mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
489 lines
17 KiB
C#
489 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueTournSaveList.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 RogueTournSaveList.proto</summary>
|
|
public static partial class RogueTournSaveListReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueTournSaveList.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueTournSaveListReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhSb2d1ZVRvdXJuU2F2ZUxpc3QucHJvdG8aEUJLRkZOTkFJT0RDLnByb3Rv",
|
|
"GhdSb2d1ZVRvdXJuQ3VySW5mby5wcm90bxoaUm9ndWVUb3VyblNlYXNvbklu",
|
|
"Zm8ucHJvdG8i1QEKElJvZ3VlVG91cm5TYXZlTGlzdBIwChRyb2d1ZV90b3Vy",
|
|
"bl9jdXJfaW5mbxgDIAEoCzISLlJvZ3VlVG91cm5DdXJJbmZvEhoKBGRhdGEY",
|
|
"CSABKAsyDC5CS0ZGTk5BSU9EQxIMCgR0aW1lGAYgASgDEhAKCGVuZF90aW1l",
|
|
"GAUgASgDEgwKBG5hbWUYAiABKAkSMAoRcm9ndWVfc2Vhc29uX2luZm8YDiAB",
|
|
"KAsyFS5Sb2d1ZVRvdXJuU2Vhc29uSW5mbxIRCgltYXhfdGltZXMYASABKA1C",
|
|
"HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BKFFNNAIODCReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueTournCurInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueTournSeasonInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournSaveList), global::EggLink.DanhengServer.Proto.RogueTournSaveList.Parser, new[]{ "RogueTournCurInfo", "Data", "Time", "EndTime", "Name", "RogueSeasonInfo", "MaxTimes" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueTournSaveList : pb::IMessage<RogueTournSaveList>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueTournSaveList> _parser = new pb::MessageParser<RogueTournSaveList>(() => new RogueTournSaveList());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueTournSaveList> 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.RogueTournSaveListReflection.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 RogueTournSaveList() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueTournSaveList(RogueTournSaveList other) : this() {
|
|
rogueTournCurInfo_ = other.rogueTournCurInfo_ != null ? other.rogueTournCurInfo_.Clone() : null;
|
|
data_ = other.data_ != null ? other.data_.Clone() : null;
|
|
time_ = other.time_;
|
|
endTime_ = other.endTime_;
|
|
name_ = other.name_;
|
|
rogueSeasonInfo_ = other.rogueSeasonInfo_ != null ? other.rogueSeasonInfo_.Clone() : null;
|
|
maxTimes_ = other.maxTimes_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueTournSaveList Clone() {
|
|
return new RogueTournSaveList(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_tourn_cur_info" field.</summary>
|
|
public const int RogueTournCurInfoFieldNumber = 3;
|
|
private global::EggLink.DanhengServer.Proto.RogueTournCurInfo rogueTournCurInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueTournCurInfo RogueTournCurInfo {
|
|
get { return rogueTournCurInfo_; }
|
|
set {
|
|
rogueTournCurInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "data" field.</summary>
|
|
public const int DataFieldNumber = 9;
|
|
private global::EggLink.DanhengServer.Proto.BKFFNNAIODC data_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BKFFNNAIODC Data {
|
|
get { return data_; }
|
|
set {
|
|
data_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "time" field.</summary>
|
|
public const int TimeFieldNumber = 6;
|
|
private long time_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long Time {
|
|
get { return time_; }
|
|
set {
|
|
time_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "end_time" field.</summary>
|
|
public const int EndTimeFieldNumber = 5;
|
|
private long endTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long EndTime {
|
|
get { return endTime_; }
|
|
set {
|
|
endTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 2;
|
|
private string name_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Name {
|
|
get { return name_; }
|
|
set {
|
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_season_info" field.</summary>
|
|
public const int RogueSeasonInfoFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.RogueTournSeasonInfo rogueSeasonInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueTournSeasonInfo RogueSeasonInfo {
|
|
get { return rogueSeasonInfo_; }
|
|
set {
|
|
rogueSeasonInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "max_times" field.</summary>
|
|
public const int MaxTimesFieldNumber = 1;
|
|
private uint maxTimes_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MaxTimes {
|
|
get { return maxTimes_; }
|
|
set {
|
|
maxTimes_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RogueTournSaveList);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueTournSaveList other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RogueTournCurInfo, other.RogueTournCurInfo)) return false;
|
|
if (!object.Equals(Data, other.Data)) return false;
|
|
if (Time != other.Time) return false;
|
|
if (EndTime != other.EndTime) return false;
|
|
if (Name != other.Name) return false;
|
|
if (!object.Equals(RogueSeasonInfo, other.RogueSeasonInfo)) return false;
|
|
if (MaxTimes != other.MaxTimes) 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 (rogueTournCurInfo_ != null) hash ^= RogueTournCurInfo.GetHashCode();
|
|
if (data_ != null) hash ^= Data.GetHashCode();
|
|
if (Time != 0L) hash ^= Time.GetHashCode();
|
|
if (EndTime != 0L) hash ^= EndTime.GetHashCode();
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
if (rogueSeasonInfo_ != null) hash ^= RogueSeasonInfo.GetHashCode();
|
|
if (MaxTimes != 0) hash ^= MaxTimes.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 (MaxTimes != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MaxTimes);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
if (rogueTournCurInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(RogueTournCurInfo);
|
|
}
|
|
if (EndTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(EndTime);
|
|
}
|
|
if (Time != 0L) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt64(Time);
|
|
}
|
|
if (data_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(Data);
|
|
}
|
|
if (rogueSeasonInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(RogueSeasonInfo);
|
|
}
|
|
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 (MaxTimes != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MaxTimes);
|
|
}
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Name);
|
|
}
|
|
if (rogueTournCurInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(RogueTournCurInfo);
|
|
}
|
|
if (EndTime != 0L) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt64(EndTime);
|
|
}
|
|
if (Time != 0L) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt64(Time);
|
|
}
|
|
if (data_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(Data);
|
|
}
|
|
if (rogueSeasonInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(RogueSeasonInfo);
|
|
}
|
|
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 (rogueTournCurInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueTournCurInfo);
|
|
}
|
|
if (data_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data);
|
|
}
|
|
if (Time != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time);
|
|
}
|
|
if (EndTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime);
|
|
}
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
if (rogueSeasonInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueSeasonInfo);
|
|
}
|
|
if (MaxTimes != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTimes);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RogueTournSaveList other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.rogueTournCurInfo_ != null) {
|
|
if (rogueTournCurInfo_ == null) {
|
|
RogueTournCurInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurInfo();
|
|
}
|
|
RogueTournCurInfo.MergeFrom(other.RogueTournCurInfo);
|
|
}
|
|
if (other.data_ != null) {
|
|
if (data_ == null) {
|
|
Data = new global::EggLink.DanhengServer.Proto.BKFFNNAIODC();
|
|
}
|
|
Data.MergeFrom(other.Data);
|
|
}
|
|
if (other.Time != 0L) {
|
|
Time = other.Time;
|
|
}
|
|
if (other.EndTime != 0L) {
|
|
EndTime = other.EndTime;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
if (other.rogueSeasonInfo_ != null) {
|
|
if (rogueSeasonInfo_ == null) {
|
|
RogueSeasonInfo = new global::EggLink.DanhengServer.Proto.RogueTournSeasonInfo();
|
|
}
|
|
RogueSeasonInfo.MergeFrom(other.RogueSeasonInfo);
|
|
}
|
|
if (other.MaxTimes != 0) {
|
|
MaxTimes = other.MaxTimes;
|
|
}
|
|
_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 8: {
|
|
MaxTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (rogueTournCurInfo_ == null) {
|
|
RogueTournCurInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurInfo();
|
|
}
|
|
input.ReadMessage(RogueTournCurInfo);
|
|
break;
|
|
}
|
|
case 40: {
|
|
EndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Time = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (data_ == null) {
|
|
Data = new global::EggLink.DanhengServer.Proto.BKFFNNAIODC();
|
|
}
|
|
input.ReadMessage(Data);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (rogueSeasonInfo_ == null) {
|
|
RogueSeasonInfo = new global::EggLink.DanhengServer.Proto.RogueTournSeasonInfo();
|
|
}
|
|
input.ReadMessage(RogueSeasonInfo);
|
|
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 8: {
|
|
MaxTimes = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (rogueTournCurInfo_ == null) {
|
|
RogueTournCurInfo = new global::EggLink.DanhengServer.Proto.RogueTournCurInfo();
|
|
}
|
|
input.ReadMessage(RogueTournCurInfo);
|
|
break;
|
|
}
|
|
case 40: {
|
|
EndTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Time = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (data_ == null) {
|
|
Data = new global::EggLink.DanhengServer.Proto.BKFFNNAIODC();
|
|
}
|
|
input.ReadMessage(Data);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (rogueSeasonInfo_ == null) {
|
|
RogueSeasonInfo = new global::EggLink.DanhengServer.Proto.RogueTournSeasonInfo();
|
|
}
|
|
input.ReadMessage(RogueSeasonInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|