mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
339 lines
12 KiB
C#
339 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueAeonInfo.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 RogueAeonInfo.proto</summary>
|
|
public static partial class RogueAeonInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueAeonInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueAeonInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChNSb2d1ZUFlb25JbmZvLnByb3RvIngKDVJvZ3VlQWVvbkluZm8SIQoZdW5s",
|
|
"b2NrZWRfYWVvbl9lbmhhbmNlX251bRgPIAEoDRITCgtpc191bmxvY2tlZBgJ",
|
|
"IAEoCBIUCgxhZW9uX2lkX2xpc3QYDSADKA0SGQoRdW5sb2NrZWRfYWVvbl9u",
|
|
"dW0YCiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueAeonInfo), global::EggLink.DanhengServer.Proto.RogueAeonInfo.Parser, new[]{ "UnlockedAeonEnhanceNum", "IsUnlocked", "AeonIdList", "UnlockedAeonNum" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueAeonInfo : pb::IMessage<RogueAeonInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueAeonInfo> _parser = new pb::MessageParser<RogueAeonInfo>(() => new RogueAeonInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueAeonInfo> 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.RogueAeonInfoReflection.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 RogueAeonInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueAeonInfo(RogueAeonInfo other) : this() {
|
|
unlockedAeonEnhanceNum_ = other.unlockedAeonEnhanceNum_;
|
|
isUnlocked_ = other.isUnlocked_;
|
|
aeonIdList_ = other.aeonIdList_.Clone();
|
|
unlockedAeonNum_ = other.unlockedAeonNum_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueAeonInfo Clone() {
|
|
return new RogueAeonInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "unlocked_aeon_enhance_num" field.</summary>
|
|
public const int UnlockedAeonEnhanceNumFieldNumber = 15;
|
|
private uint unlockedAeonEnhanceNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint UnlockedAeonEnhanceNum {
|
|
get { return unlockedAeonEnhanceNum_; }
|
|
set {
|
|
unlockedAeonEnhanceNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_unlocked" field.</summary>
|
|
public const int IsUnlockedFieldNumber = 9;
|
|
private bool isUnlocked_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsUnlocked {
|
|
get { return isUnlocked_; }
|
|
set {
|
|
isUnlocked_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "aeon_id_list" field.</summary>
|
|
public const int AeonIdListFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<uint> _repeated_aeonIdList_codec
|
|
= pb::FieldCodec.ForUInt32(106);
|
|
private readonly pbc::RepeatedField<uint> aeonIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> AeonIdList {
|
|
get { return aeonIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "unlocked_aeon_num" field.</summary>
|
|
public const int UnlockedAeonNumFieldNumber = 10;
|
|
private uint unlockedAeonNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint UnlockedAeonNum {
|
|
get { return unlockedAeonNum_; }
|
|
set {
|
|
unlockedAeonNum_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RogueAeonInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RogueAeonInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (UnlockedAeonEnhanceNum != other.UnlockedAeonEnhanceNum) return false;
|
|
if (IsUnlocked != other.IsUnlocked) return false;
|
|
if(!aeonIdList_.Equals(other.aeonIdList_)) return false;
|
|
if (UnlockedAeonNum != other.UnlockedAeonNum) 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 (UnlockedAeonEnhanceNum != 0) hash ^= UnlockedAeonEnhanceNum.GetHashCode();
|
|
if (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
|
|
hash ^= aeonIdList_.GetHashCode();
|
|
if (UnlockedAeonNum != 0) hash ^= UnlockedAeonNum.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 (IsUnlocked != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (UnlockedAeonNum != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(UnlockedAeonNum);
|
|
}
|
|
aeonIdList_.WriteTo(output, _repeated_aeonIdList_codec);
|
|
if (UnlockedAeonEnhanceNum != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(UnlockedAeonEnhanceNum);
|
|
}
|
|
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 (IsUnlocked != false) {
|
|
output.WriteRawTag(72);
|
|
output.WriteBool(IsUnlocked);
|
|
}
|
|
if (UnlockedAeonNum != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(UnlockedAeonNum);
|
|
}
|
|
aeonIdList_.WriteTo(ref output, _repeated_aeonIdList_codec);
|
|
if (UnlockedAeonEnhanceNum != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(UnlockedAeonEnhanceNum);
|
|
}
|
|
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 (UnlockedAeonEnhanceNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockedAeonEnhanceNum);
|
|
}
|
|
if (IsUnlocked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += aeonIdList_.CalculateSize(_repeated_aeonIdList_codec);
|
|
if (UnlockedAeonNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockedAeonNum);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RogueAeonInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.UnlockedAeonEnhanceNum != 0) {
|
|
UnlockedAeonEnhanceNum = other.UnlockedAeonEnhanceNum;
|
|
}
|
|
if (other.IsUnlocked != false) {
|
|
IsUnlocked = other.IsUnlocked;
|
|
}
|
|
aeonIdList_.Add(other.aeonIdList_);
|
|
if (other.UnlockedAeonNum != 0) {
|
|
UnlockedAeonNum = other.UnlockedAeonNum;
|
|
}
|
|
_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 72: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
UnlockedAeonNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
aeonIdList_.AddEntriesFrom(input, _repeated_aeonIdList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
UnlockedAeonEnhanceNum = input.ReadUInt32();
|
|
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 72: {
|
|
IsUnlocked = input.ReadBool();
|
|
break;
|
|
}
|
|
case 80: {
|
|
UnlockedAeonNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106:
|
|
case 104: {
|
|
aeonIdList_.AddEntriesFrom(ref input, _repeated_aeonIdList_codec);
|
|
break;
|
|
}
|
|
case 120: {
|
|
UnlockedAeonEnhanceNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|