Files
DanhengServer-OpenSource/Proto/RogueMagicAreaInfo.cs
2024-12-07 17:06:07 +08:00

508 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMagicAreaInfo.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 RogueMagicAreaInfo.proto</summary>
public static partial class RogueMagicAreaInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueMagicAreaInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMagicAreaInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhSb2d1ZU1hZ2ljQXJlYUluZm8ucHJvdG8aEU5DREZNQ0dPS0xILnByb3Rv",
"GhFMTU1LREJGRE9KRi5wcm90byLpAQoSUm9ndWVNYWdpY0FyZWFJbmZvEhMK",
"C2lzX3VubG9ja2VkGAggASgIEiYKHnVubG9ja2VkX21hZ2ljX2RpZmZpY3Vs",
"dHlfbGlzdBgNIAMoDRIhCgtyZWNvcmRfaW5mbxgCIAEoCzIMLkxNTUtEQkZE",
"T0pGEg8KB2FyZWFfaWQYBCABKA0SEwoLTEVKTk9MT0JPR0UYDCABKA0SIQoL",
"REdLQUpNT0NGSUEYAyABKAsyDC5OQ0RGTUNHT0tMSBIRCgljb21wbGV0ZWQY",
"DiABKAgSFwoPaXNfdGFrZW5fcmV3YXJkGAYgASgIQh6qAhtFZ2dMaW5rLkRh",
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NCDFMCGOKLHReflection.Descriptor, global::EggLink.DanhengServer.Proto.LMMKDBFDOJFReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicAreaInfo), global::EggLink.DanhengServer.Proto.RogueMagicAreaInfo.Parser, new[]{ "IsUnlocked", "UnlockedMagicDifficultyList", "RecordInfo", "AreaId", "LEJNOLOBOGE", "DGKAJMOCFIA", "Completed", "IsTakenReward" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMagicAreaInfo : pb::IMessage<RogueMagicAreaInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueMagicAreaInfo> _parser = new pb::MessageParser<RogueMagicAreaInfo>(() => new RogueMagicAreaInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueMagicAreaInfo> 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.RogueMagicAreaInfoReflection.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 RogueMagicAreaInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicAreaInfo(RogueMagicAreaInfo other) : this() {
isUnlocked_ = other.isUnlocked_;
unlockedMagicDifficultyList_ = other.unlockedMagicDifficultyList_.Clone();
recordInfo_ = other.recordInfo_ != null ? other.recordInfo_.Clone() : null;
areaId_ = other.areaId_;
lEJNOLOBOGE_ = other.lEJNOLOBOGE_;
dGKAJMOCFIA_ = other.dGKAJMOCFIA_ != null ? other.dGKAJMOCFIA_.Clone() : null;
completed_ = other.completed_;
isTakenReward_ = other.isTakenReward_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMagicAreaInfo Clone() {
return new RogueMagicAreaInfo(this);
}
/// <summary>Field number for the "is_unlocked" field.</summary>
public const int IsUnlockedFieldNumber = 8;
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_magic_difficulty_list" field.</summary>
public const int UnlockedMagicDifficultyListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_unlockedMagicDifficultyList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> unlockedMagicDifficultyList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> UnlockedMagicDifficultyList {
get { return unlockedMagicDifficultyList_; }
}
/// <summary>Field number for the "record_info" field.</summary>
public const int RecordInfoFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.LMMKDBFDOJF recordInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.LMMKDBFDOJF RecordInfo {
get { return recordInfo_; }
set {
recordInfo_ = value;
}
}
/// <summary>Field number for the "area_id" field.</summary>
public const int AreaIdFieldNumber = 4;
private uint areaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AreaId {
get { return areaId_; }
set {
areaId_ = value;
}
}
/// <summary>Field number for the "LEJNOLOBOGE" field.</summary>
public const int LEJNOLOBOGEFieldNumber = 12;
private uint lEJNOLOBOGE_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LEJNOLOBOGE {
get { return lEJNOLOBOGE_; }
set {
lEJNOLOBOGE_ = value;
}
}
/// <summary>Field number for the "DGKAJMOCFIA" field.</summary>
public const int DGKAJMOCFIAFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.NCDFMCGOKLH dGKAJMOCFIA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.NCDFMCGOKLH DGKAJMOCFIA {
get { return dGKAJMOCFIA_; }
set {
dGKAJMOCFIA_ = value;
}
}
/// <summary>Field number for the "completed" field.</summary>
public const int CompletedFieldNumber = 14;
private bool completed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Completed {
get { return completed_; }
set {
completed_ = value;
}
}
/// <summary>Field number for the "is_taken_reward" field.</summary>
public const int IsTakenRewardFieldNumber = 6;
private bool isTakenReward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsTakenReward {
get { return isTakenReward_; }
set {
isTakenReward_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMagicAreaInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMagicAreaInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IsUnlocked != other.IsUnlocked) return false;
if(!unlockedMagicDifficultyList_.Equals(other.unlockedMagicDifficultyList_)) return false;
if (!object.Equals(RecordInfo, other.RecordInfo)) return false;
if (AreaId != other.AreaId) return false;
if (LEJNOLOBOGE != other.LEJNOLOBOGE) return false;
if (!object.Equals(DGKAJMOCFIA, other.DGKAJMOCFIA)) return false;
if (Completed != other.Completed) return false;
if (IsTakenReward != other.IsTakenReward) 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 (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
hash ^= unlockedMagicDifficultyList_.GetHashCode();
if (recordInfo_ != null) hash ^= RecordInfo.GetHashCode();
if (AreaId != 0) hash ^= AreaId.GetHashCode();
if (LEJNOLOBOGE != 0) hash ^= LEJNOLOBOGE.GetHashCode();
if (dGKAJMOCFIA_ != null) hash ^= DGKAJMOCFIA.GetHashCode();
if (Completed != false) hash ^= Completed.GetHashCode();
if (IsTakenReward != false) hash ^= IsTakenReward.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 (recordInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(RecordInfo);
}
if (dGKAJMOCFIA_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DGKAJMOCFIA);
}
if (AreaId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(AreaId);
}
if (IsTakenReward != false) {
output.WriteRawTag(48);
output.WriteBool(IsTakenReward);
}
if (IsUnlocked != false) {
output.WriteRawTag(64);
output.WriteBool(IsUnlocked);
}
if (LEJNOLOBOGE != 0) {
output.WriteRawTag(96);
output.WriteUInt32(LEJNOLOBOGE);
}
unlockedMagicDifficultyList_.WriteTo(output, _repeated_unlockedMagicDifficultyList_codec);
if (Completed != false) {
output.WriteRawTag(112);
output.WriteBool(Completed);
}
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 (recordInfo_ != null) {
output.WriteRawTag(18);
output.WriteMessage(RecordInfo);
}
if (dGKAJMOCFIA_ != null) {
output.WriteRawTag(26);
output.WriteMessage(DGKAJMOCFIA);
}
if (AreaId != 0) {
output.WriteRawTag(32);
output.WriteUInt32(AreaId);
}
if (IsTakenReward != false) {
output.WriteRawTag(48);
output.WriteBool(IsTakenReward);
}
if (IsUnlocked != false) {
output.WriteRawTag(64);
output.WriteBool(IsUnlocked);
}
if (LEJNOLOBOGE != 0) {
output.WriteRawTag(96);
output.WriteUInt32(LEJNOLOBOGE);
}
unlockedMagicDifficultyList_.WriteTo(ref output, _repeated_unlockedMagicDifficultyList_codec);
if (Completed != false) {
output.WriteRawTag(112);
output.WriteBool(Completed);
}
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 (IsUnlocked != false) {
size += 1 + 1;
}
size += unlockedMagicDifficultyList_.CalculateSize(_repeated_unlockedMagicDifficultyList_codec);
if (recordInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecordInfo);
}
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
if (LEJNOLOBOGE != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LEJNOLOBOGE);
}
if (dGKAJMOCFIA_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DGKAJMOCFIA);
}
if (Completed != false) {
size += 1 + 1;
}
if (IsTakenReward != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMagicAreaInfo other) {
if (other == null) {
return;
}
if (other.IsUnlocked != false) {
IsUnlocked = other.IsUnlocked;
}
unlockedMagicDifficultyList_.Add(other.unlockedMagicDifficultyList_);
if (other.recordInfo_ != null) {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.LMMKDBFDOJF();
}
RecordInfo.MergeFrom(other.RecordInfo);
}
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
if (other.LEJNOLOBOGE != 0) {
LEJNOLOBOGE = other.LEJNOLOBOGE;
}
if (other.dGKAJMOCFIA_ != null) {
if (dGKAJMOCFIA_ == null) {
DGKAJMOCFIA = new global::EggLink.DanhengServer.Proto.NCDFMCGOKLH();
}
DGKAJMOCFIA.MergeFrom(other.DGKAJMOCFIA);
}
if (other.Completed != false) {
Completed = other.Completed;
}
if (other.IsTakenReward != false) {
IsTakenReward = other.IsTakenReward;
}
_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 18: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.LMMKDBFDOJF();
}
input.ReadMessage(RecordInfo);
break;
}
case 26: {
if (dGKAJMOCFIA_ == null) {
DGKAJMOCFIA = new global::EggLink.DanhengServer.Proto.NCDFMCGOKLH();
}
input.ReadMessage(DGKAJMOCFIA);
break;
}
case 32: {
AreaId = input.ReadUInt32();
break;
}
case 48: {
IsTakenReward = input.ReadBool();
break;
}
case 64: {
IsUnlocked = input.ReadBool();
break;
}
case 96: {
LEJNOLOBOGE = input.ReadUInt32();
break;
}
case 106:
case 104: {
unlockedMagicDifficultyList_.AddEntriesFrom(input, _repeated_unlockedMagicDifficultyList_codec);
break;
}
case 112: {
Completed = 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 18: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.LMMKDBFDOJF();
}
input.ReadMessage(RecordInfo);
break;
}
case 26: {
if (dGKAJMOCFIA_ == null) {
DGKAJMOCFIA = new global::EggLink.DanhengServer.Proto.NCDFMCGOKLH();
}
input.ReadMessage(DGKAJMOCFIA);
break;
}
case 32: {
AreaId = input.ReadUInt32();
break;
}
case 48: {
IsTakenReward = input.ReadBool();
break;
}
case 64: {
IsUnlocked = input.ReadBool();
break;
}
case 96: {
LEJNOLOBOGE = input.ReadUInt32();
break;
}
case 106:
case 104: {
unlockedMagicDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedMagicDifficultyList_codec);
break;
}
case 112: {
Completed = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code