Files
DanhengServer-OpenSource/Proto/RogueAeonInfo.cs
2025-01-15 23:20:16 +08:00

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(
"ChNSb2d1ZUFlb25JbmZvLnByb3RvIngKDVJvZ3VlQWVvbkluZm8SFAoMYWVv",
"bl9pZF9saXN0GAogAygNEhMKC2lzX3VubG9ja2VkGAsgASgIEiEKGXVubG9j",
"a2VkX2Flb25fZW5oYW5jZV9udW0YASABKA0SGQoRdW5sb2NrZWRfYWVvbl9u",
"dW0YByABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
"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[]{ "AeonIdList", "IsUnlocked", "UnlockedAeonEnhanceNum", "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() {
aeonIdList_ = other.aeonIdList_.Clone();
isUnlocked_ = other.isUnlocked_;
unlockedAeonEnhanceNum_ = other.unlockedAeonEnhanceNum_;
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 "aeon_id_list" field.</summary>
public const int AeonIdListFieldNumber = 10;
private static readonly pb::FieldCodec<uint> _repeated_aeonIdList_codec
= pb::FieldCodec.ForUInt32(82);
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 "is_unlocked" field.</summary>
public const int IsUnlockedFieldNumber = 11;
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 "unlocked_aeon_enhance_num" field.</summary>
public const int UnlockedAeonEnhanceNumFieldNumber = 1;
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 "unlocked_aeon_num" field.</summary>
public const int UnlockedAeonNumFieldNumber = 7;
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(!aeonIdList_.Equals(other.aeonIdList_)) return false;
if (IsUnlocked != other.IsUnlocked) return false;
if (UnlockedAeonEnhanceNum != other.UnlockedAeonEnhanceNum) 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;
hash ^= aeonIdList_.GetHashCode();
if (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
if (UnlockedAeonEnhanceNum != 0) hash ^= UnlockedAeonEnhanceNum.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 (UnlockedAeonEnhanceNum != 0) {
output.WriteRawTag(8);
output.WriteUInt32(UnlockedAeonEnhanceNum);
}
if (UnlockedAeonNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(UnlockedAeonNum);
}
aeonIdList_.WriteTo(output, _repeated_aeonIdList_codec);
if (IsUnlocked != false) {
output.WriteRawTag(88);
output.WriteBool(IsUnlocked);
}
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 (UnlockedAeonEnhanceNum != 0) {
output.WriteRawTag(8);
output.WriteUInt32(UnlockedAeonEnhanceNum);
}
if (UnlockedAeonNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(UnlockedAeonNum);
}
aeonIdList_.WriteTo(ref output, _repeated_aeonIdList_codec);
if (IsUnlocked != false) {
output.WriteRawTag(88);
output.WriteBool(IsUnlocked);
}
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;
size += aeonIdList_.CalculateSize(_repeated_aeonIdList_codec);
if (IsUnlocked != false) {
size += 1 + 1;
}
if (UnlockedAeonEnhanceNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UnlockedAeonEnhanceNum);
}
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;
}
aeonIdList_.Add(other.aeonIdList_);
if (other.IsUnlocked != false) {
IsUnlocked = other.IsUnlocked;
}
if (other.UnlockedAeonEnhanceNum != 0) {
UnlockedAeonEnhanceNum = other.UnlockedAeonEnhanceNum;
}
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 8: {
UnlockedAeonEnhanceNum = input.ReadUInt32();
break;
}
case 56: {
UnlockedAeonNum = input.ReadUInt32();
break;
}
case 82:
case 80: {
aeonIdList_.AddEntriesFrom(input, _repeated_aeonIdList_codec);
break;
}
case 88: {
IsUnlocked = 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 8: {
UnlockedAeonEnhanceNum = input.ReadUInt32();
break;
}
case 56: {
UnlockedAeonNum = input.ReadUInt32();
break;
}
case 82:
case 80: {
aeonIdList_.AddEntriesFrom(ref input, _repeated_aeonIdList_codec);
break;
}
case 88: {
IsUnlocked = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code