Files
DanhengServer-OpenSource/Proto/RogueMagicAreaInfo.cs
2024-10-27 13:23:57 +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(
"ChhSb2d1ZU1hZ2ljQXJlYUluZm8ucHJvdG8aEUVJTkpPSk5IQkRPLnByb3Rv",
"GhFJUEtDREtIRElQSS5wcm90byLpAQoSUm9ndWVNYWdpY0FyZWFJbmZvEhMK",
"C2lzX3VubG9ja2VkGAkgASgIEiYKHnVubG9ja2VkX3RvdXJuX2RpZmZpY3Vs",
"dHlfbGlzdBgFIAMoDRIPCgdhcmVhX2lkGAggASgNEhMKC09MRkpGSk9KTkFQ",
"GA8gASgNEhEKCWNvbXBsZXRlZBgKIAEoCBIXCg9pc190YWtlbl9yZXdhcmQY",
"DCABKAgSIQoLcmVjb3JkX2luZm8YDiABKAsyDC5FSU5KT0pOSEJETxIhCgtE",
"SkVPSUVDT0ZKTRgHIAEoCzIMLklQS0NES0hESVBJQh6qAhtFZ2dMaW5rLkRh",
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EINJOJNHBDOReflection.Descriptor, global::EggLink.DanhengServer.Proto.IPKCDKHDIPIReflection.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", "UnlockedTournDifficultyList", "AreaId", "OLFJFJOJNAP", "Completed", "IsTakenReward", "RecordInfo", "DJEOIECOFJM" }, 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_;
unlockedTournDifficultyList_ = other.unlockedTournDifficultyList_.Clone();
areaId_ = other.areaId_;
oLFJFJOJNAP_ = other.oLFJFJOJNAP_;
completed_ = other.completed_;
isTakenReward_ = other.isTakenReward_;
recordInfo_ = other.recordInfo_ != null ? other.recordInfo_.Clone() : null;
dJEOIECOFJM_ = other.dJEOIECOFJM_ != null ? other.dJEOIECOFJM_.Clone() : null;
_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 = 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 "unlocked_tourn_difficulty_list" field.</summary>
public const int UnlockedTournDifficultyListFieldNumber = 5;
private static readonly pb::FieldCodec<uint> _repeated_unlockedTournDifficultyList_codec
= pb::FieldCodec.ForUInt32(42);
private readonly pbc::RepeatedField<uint> unlockedTournDifficultyList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> UnlockedTournDifficultyList {
get { return unlockedTournDifficultyList_; }
}
/// <summary>Field number for the "area_id" field.</summary>
public const int AreaIdFieldNumber = 8;
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 "OLFJFJOJNAP" field.</summary>
public const int OLFJFJOJNAPFieldNumber = 15;
private uint oLFJFJOJNAP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint OLFJFJOJNAP {
get { return oLFJFJOJNAP_; }
set {
oLFJFJOJNAP_ = value;
}
}
/// <summary>Field number for the "completed" field.</summary>
public const int CompletedFieldNumber = 10;
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 = 12;
private bool isTakenReward_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsTakenReward {
get { return isTakenReward_; }
set {
isTakenReward_ = value;
}
}
/// <summary>Field number for the "record_info" field.</summary>
public const int RecordInfoFieldNumber = 14;
private global::EggLink.DanhengServer.Proto.EINJOJNHBDO recordInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.EINJOJNHBDO RecordInfo {
get { return recordInfo_; }
set {
recordInfo_ = value;
}
}
/// <summary>Field number for the "DJEOIECOFJM" field.</summary>
public const int DJEOIECOFJMFieldNumber = 7;
private global::EggLink.DanhengServer.Proto.IPKCDKHDIPI dJEOIECOFJM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.IPKCDKHDIPI DJEOIECOFJM {
get { return dJEOIECOFJM_; }
set {
dJEOIECOFJM_ = 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(!unlockedTournDifficultyList_.Equals(other.unlockedTournDifficultyList_)) return false;
if (AreaId != other.AreaId) return false;
if (OLFJFJOJNAP != other.OLFJFJOJNAP) return false;
if (Completed != other.Completed) return false;
if (IsTakenReward != other.IsTakenReward) return false;
if (!object.Equals(RecordInfo, other.RecordInfo)) return false;
if (!object.Equals(DJEOIECOFJM, other.DJEOIECOFJM)) 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 ^= unlockedTournDifficultyList_.GetHashCode();
if (AreaId != 0) hash ^= AreaId.GetHashCode();
if (OLFJFJOJNAP != 0) hash ^= OLFJFJOJNAP.GetHashCode();
if (Completed != false) hash ^= Completed.GetHashCode();
if (IsTakenReward != false) hash ^= IsTakenReward.GetHashCode();
if (recordInfo_ != null) hash ^= RecordInfo.GetHashCode();
if (dJEOIECOFJM_ != null) hash ^= DJEOIECOFJM.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
unlockedTournDifficultyList_.WriteTo(output, _repeated_unlockedTournDifficultyList_codec);
if (dJEOIECOFJM_ != null) {
output.WriteRawTag(58);
output.WriteMessage(DJEOIECOFJM);
}
if (AreaId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(AreaId);
}
if (IsUnlocked != false) {
output.WriteRawTag(72);
output.WriteBool(IsUnlocked);
}
if (Completed != false) {
output.WriteRawTag(80);
output.WriteBool(Completed);
}
if (IsTakenReward != false) {
output.WriteRawTag(96);
output.WriteBool(IsTakenReward);
}
if (recordInfo_ != null) {
output.WriteRawTag(114);
output.WriteMessage(RecordInfo);
}
if (OLFJFJOJNAP != 0) {
output.WriteRawTag(120);
output.WriteUInt32(OLFJFJOJNAP);
}
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) {
unlockedTournDifficultyList_.WriteTo(ref output, _repeated_unlockedTournDifficultyList_codec);
if (dJEOIECOFJM_ != null) {
output.WriteRawTag(58);
output.WriteMessage(DJEOIECOFJM);
}
if (AreaId != 0) {
output.WriteRawTag(64);
output.WriteUInt32(AreaId);
}
if (IsUnlocked != false) {
output.WriteRawTag(72);
output.WriteBool(IsUnlocked);
}
if (Completed != false) {
output.WriteRawTag(80);
output.WriteBool(Completed);
}
if (IsTakenReward != false) {
output.WriteRawTag(96);
output.WriteBool(IsTakenReward);
}
if (recordInfo_ != null) {
output.WriteRawTag(114);
output.WriteMessage(RecordInfo);
}
if (OLFJFJOJNAP != 0) {
output.WriteRawTag(120);
output.WriteUInt32(OLFJFJOJNAP);
}
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 += unlockedTournDifficultyList_.CalculateSize(_repeated_unlockedTournDifficultyList_codec);
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
if (OLFJFJOJNAP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OLFJFJOJNAP);
}
if (Completed != false) {
size += 1 + 1;
}
if (IsTakenReward != false) {
size += 1 + 1;
}
if (recordInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecordInfo);
}
if (dJEOIECOFJM_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DJEOIECOFJM);
}
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;
}
unlockedTournDifficultyList_.Add(other.unlockedTournDifficultyList_);
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
if (other.OLFJFJOJNAP != 0) {
OLFJFJOJNAP = other.OLFJFJOJNAP;
}
if (other.Completed != false) {
Completed = other.Completed;
}
if (other.IsTakenReward != false) {
IsTakenReward = other.IsTakenReward;
}
if (other.recordInfo_ != null) {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.EINJOJNHBDO();
}
RecordInfo.MergeFrom(other.RecordInfo);
}
if (other.dJEOIECOFJM_ != null) {
if (dJEOIECOFJM_ == null) {
DJEOIECOFJM = new global::EggLink.DanhengServer.Proto.IPKCDKHDIPI();
}
DJEOIECOFJM.MergeFrom(other.DJEOIECOFJM);
}
_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 42:
case 40: {
unlockedTournDifficultyList_.AddEntriesFrom(input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 58: {
if (dJEOIECOFJM_ == null) {
DJEOIECOFJM = new global::EggLink.DanhengServer.Proto.IPKCDKHDIPI();
}
input.ReadMessage(DJEOIECOFJM);
break;
}
case 64: {
AreaId = input.ReadUInt32();
break;
}
case 72: {
IsUnlocked = input.ReadBool();
break;
}
case 80: {
Completed = input.ReadBool();
break;
}
case 96: {
IsTakenReward = input.ReadBool();
break;
}
case 114: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.EINJOJNHBDO();
}
input.ReadMessage(RecordInfo);
break;
}
case 120: {
OLFJFJOJNAP = 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 42:
case 40: {
unlockedTournDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 58: {
if (dJEOIECOFJM_ == null) {
DJEOIECOFJM = new global::EggLink.DanhengServer.Proto.IPKCDKHDIPI();
}
input.ReadMessage(DJEOIECOFJM);
break;
}
case 64: {
AreaId = input.ReadUInt32();
break;
}
case 72: {
IsUnlocked = input.ReadBool();
break;
}
case 80: {
Completed = input.ReadBool();
break;
}
case 96: {
IsTakenReward = input.ReadBool();
break;
}
case 114: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.EINJOJNHBDO();
}
input.ReadMessage(RecordInfo);
break;
}
case 120: {
OLFJFJOJNAP = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code