Files
DanhengServer-OpenSource/Proto/RogueMagicAreaInfo.cs
2024-10-07 14:59:32 +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(
"ChhSb2d1ZU1hZ2ljQXJlYUluZm8ucHJvdG8aEU1KS1BBUE1JTE1MLnByb3Rv",
"GhFOR1BQTUdLR09CSC5wcm90byLvAQoSUm9ndWVNYWdpY0FyZWFJbmZvEiYK",
"HnVubG9ja2VkX3RvdXJuX2RpZmZpY3VsdHlfbGlzdBgBIAMoDRITCgtpc191",
"bmxvY2tlZBgMIAEoCBIhCgtFQ09OSEdQTkRLSRgNIAEoCzIMLk1KS1BBUE1J",
"TE1MEhcKD2lzX3Rha2VuX3Jld2FyZBgEIAEoCBITCgtJRUtCTUpFT0lOUBgP",
"IAEoDRIXCg9pc190b3Vybl9maW5pc2gYCyABKAgSIQoLcmVjb3JkX2luZm8Y",
"AyABKAsyDC5OR1BQTUdLR09CSBIPCgdhcmVhX2lkGA4gASgNQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MJKPAPMILMLReflection.Descriptor, global::EggLink.DanhengServer.Proto.NGPPMGKGOBHReflection.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[]{ "UnlockedTournDifficultyList", "IsUnlocked", "ECONHGPNDKI", "IsTakenReward", "IEKBMJEOINP", "IsTournFinish", "RecordInfo", "AreaId" }, 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() {
unlockedTournDifficultyList_ = other.unlockedTournDifficultyList_.Clone();
isUnlocked_ = other.isUnlocked_;
eCONHGPNDKI_ = other.eCONHGPNDKI_ != null ? other.eCONHGPNDKI_.Clone() : null;
isTakenReward_ = other.isTakenReward_;
iEKBMJEOINP_ = other.iEKBMJEOINP_;
isTournFinish_ = other.isTournFinish_;
recordInfo_ = other.recordInfo_ != null ? other.recordInfo_.Clone() : null;
areaId_ = other.areaId_;
_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 "unlocked_tourn_difficulty_list" field.</summary>
public const int UnlockedTournDifficultyListFieldNumber = 1;
private static readonly pb::FieldCodec<uint> _repeated_unlockedTournDifficultyList_codec
= pb::FieldCodec.ForUInt32(10);
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 "is_unlocked" field.</summary>
public const int IsUnlockedFieldNumber = 12;
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 "ECONHGPNDKI" field.</summary>
public const int ECONHGPNDKIFieldNumber = 13;
private global::EggLink.DanhengServer.Proto.MJKPAPMILML eCONHGPNDKI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.MJKPAPMILML ECONHGPNDKI {
get { return eCONHGPNDKI_; }
set {
eCONHGPNDKI_ = value;
}
}
/// <summary>Field number for the "is_taken_reward" field.</summary>
public const int IsTakenRewardFieldNumber = 4;
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 "IEKBMJEOINP" field.</summary>
public const int IEKBMJEOINPFieldNumber = 15;
private uint iEKBMJEOINP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IEKBMJEOINP {
get { return iEKBMJEOINP_; }
set {
iEKBMJEOINP_ = value;
}
}
/// <summary>Field number for the "is_tourn_finish" field.</summary>
public const int IsTournFinishFieldNumber = 11;
private bool isTournFinish_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsTournFinish {
get { return isTournFinish_; }
set {
isTournFinish_ = value;
}
}
/// <summary>Field number for the "record_info" field.</summary>
public const int RecordInfoFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.NGPPMGKGOBH recordInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.NGPPMGKGOBH RecordInfo {
get { return recordInfo_; }
set {
recordInfo_ = value;
}
}
/// <summary>Field number for the "area_id" field.</summary>
public const int AreaIdFieldNumber = 14;
private uint areaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AreaId {
get { return areaId_; }
set {
areaId_ = 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(!unlockedTournDifficultyList_.Equals(other.unlockedTournDifficultyList_)) return false;
if (IsUnlocked != other.IsUnlocked) return false;
if (!object.Equals(ECONHGPNDKI, other.ECONHGPNDKI)) return false;
if (IsTakenReward != other.IsTakenReward) return false;
if (IEKBMJEOINP != other.IEKBMJEOINP) return false;
if (IsTournFinish != other.IsTournFinish) return false;
if (!object.Equals(RecordInfo, other.RecordInfo)) return false;
if (AreaId != other.AreaId) 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 ^= unlockedTournDifficultyList_.GetHashCode();
if (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
if (eCONHGPNDKI_ != null) hash ^= ECONHGPNDKI.GetHashCode();
if (IsTakenReward != false) hash ^= IsTakenReward.GetHashCode();
if (IEKBMJEOINP != 0) hash ^= IEKBMJEOINP.GetHashCode();
if (IsTournFinish != false) hash ^= IsTournFinish.GetHashCode();
if (recordInfo_ != null) hash ^= RecordInfo.GetHashCode();
if (AreaId != 0) hash ^= AreaId.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 (recordInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(RecordInfo);
}
if (IsTakenReward != false) {
output.WriteRawTag(32);
output.WriteBool(IsTakenReward);
}
if (IsTournFinish != false) {
output.WriteRawTag(88);
output.WriteBool(IsTournFinish);
}
if (IsUnlocked != false) {
output.WriteRawTag(96);
output.WriteBool(IsUnlocked);
}
if (eCONHGPNDKI_ != null) {
output.WriteRawTag(106);
output.WriteMessage(ECONHGPNDKI);
}
if (AreaId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(AreaId);
}
if (IEKBMJEOINP != 0) {
output.WriteRawTag(120);
output.WriteUInt32(IEKBMJEOINP);
}
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 (recordInfo_ != null) {
output.WriteRawTag(26);
output.WriteMessage(RecordInfo);
}
if (IsTakenReward != false) {
output.WriteRawTag(32);
output.WriteBool(IsTakenReward);
}
if (IsTournFinish != false) {
output.WriteRawTag(88);
output.WriteBool(IsTournFinish);
}
if (IsUnlocked != false) {
output.WriteRawTag(96);
output.WriteBool(IsUnlocked);
}
if (eCONHGPNDKI_ != null) {
output.WriteRawTag(106);
output.WriteMessage(ECONHGPNDKI);
}
if (AreaId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(AreaId);
}
if (IEKBMJEOINP != 0) {
output.WriteRawTag(120);
output.WriteUInt32(IEKBMJEOINP);
}
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 += unlockedTournDifficultyList_.CalculateSize(_repeated_unlockedTournDifficultyList_codec);
if (IsUnlocked != false) {
size += 1 + 1;
}
if (eCONHGPNDKI_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ECONHGPNDKI);
}
if (IsTakenReward != false) {
size += 1 + 1;
}
if (IEKBMJEOINP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IEKBMJEOINP);
}
if (IsTournFinish != false) {
size += 1 + 1;
}
if (recordInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecordInfo);
}
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
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;
}
unlockedTournDifficultyList_.Add(other.unlockedTournDifficultyList_);
if (other.IsUnlocked != false) {
IsUnlocked = other.IsUnlocked;
}
if (other.eCONHGPNDKI_ != null) {
if (eCONHGPNDKI_ == null) {
ECONHGPNDKI = new global::EggLink.DanhengServer.Proto.MJKPAPMILML();
}
ECONHGPNDKI.MergeFrom(other.ECONHGPNDKI);
}
if (other.IsTakenReward != false) {
IsTakenReward = other.IsTakenReward;
}
if (other.IEKBMJEOINP != 0) {
IEKBMJEOINP = other.IEKBMJEOINP;
}
if (other.IsTournFinish != false) {
IsTournFinish = other.IsTournFinish;
}
if (other.recordInfo_ != null) {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.NGPPMGKGOBH();
}
RecordInfo.MergeFrom(other.RecordInfo);
}
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
_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 10:
case 8: {
unlockedTournDifficultyList_.AddEntriesFrom(input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 26: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.NGPPMGKGOBH();
}
input.ReadMessage(RecordInfo);
break;
}
case 32: {
IsTakenReward = input.ReadBool();
break;
}
case 88: {
IsTournFinish = input.ReadBool();
break;
}
case 96: {
IsUnlocked = input.ReadBool();
break;
}
case 106: {
if (eCONHGPNDKI_ == null) {
ECONHGPNDKI = new global::EggLink.DanhengServer.Proto.MJKPAPMILML();
}
input.ReadMessage(ECONHGPNDKI);
break;
}
case 112: {
AreaId = input.ReadUInt32();
break;
}
case 120: {
IEKBMJEOINP = 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 10:
case 8: {
unlockedTournDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 26: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.NGPPMGKGOBH();
}
input.ReadMessage(RecordInfo);
break;
}
case 32: {
IsTakenReward = input.ReadBool();
break;
}
case 88: {
IsTournFinish = input.ReadBool();
break;
}
case 96: {
IsUnlocked = input.ReadBool();
break;
}
case 106: {
if (eCONHGPNDKI_ == null) {
ECONHGPNDKI = new global::EggLink.DanhengServer.Proto.MJKPAPMILML();
}
input.ReadMessage(ECONHGPNDKI);
break;
}
case 112: {
AreaId = input.ReadUInt32();
break;
}
case 120: {
IEKBMJEOINP = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code