Files
DanhengServer-OpenSource/Proto/RogueMagicAreaInfo.cs
2025-05-04 15:28:56 +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(
"ChhSb2d1ZU1hZ2ljQXJlYUluZm8ucHJvdG8aEUtPSUlDTUlFQUVGLnByb3Rv",
"GhFPTEZHQkFNRUZKSS5wcm90byLpAQoSUm9ndWVNYWdpY0FyZWFJbmZvEiYK",
"HnVubG9ja2VkX3RvdXJuX2RpZmZpY3VsdHlfbGlzdBgGIAMoDRIhCgtDR0FJ",
"SkNDTEtCSBgBIAEoCzIMLktPSUlDTUlFQUVGEhEKCWNvbXBsZXRlZBgNIAEo",
"CBITCgtpc191bmxvY2tlZBgOIAEoCBITCgtJRlBPSUxPUEZBRxgLIAEoDRIP",
"CgdhcmVhX2lkGAIgASgNEiEKC3JlY29yZF9pbmZvGAcgASgLMgwuT0xGR0JB",
"TUVGSkkSFwoPaXNfdGFrZW5fcmV3YXJkGAMgASgIQh6qAhtFZ2dMaW5rLkRh",
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.KOIICMIEAEFReflection.Descriptor, global::EggLink.DanhengServer.Proto.OLFGBAMEFJIReflection.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", "CGAIJCCLKBH", "Completed", "IsUnlocked", "IFPOILOPFAG", "AreaId", "RecordInfo", "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() {
unlockedTournDifficultyList_ = other.unlockedTournDifficultyList_.Clone();
cGAIJCCLKBH_ = other.cGAIJCCLKBH_ != null ? other.cGAIJCCLKBH_.Clone() : null;
completed_ = other.completed_;
isUnlocked_ = other.isUnlocked_;
iFPOILOPFAG_ = other.iFPOILOPFAG_;
areaId_ = other.areaId_;
recordInfo_ = other.recordInfo_ != null ? other.recordInfo_.Clone() : null;
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 "unlocked_tourn_difficulty_list" field.</summary>
public const int UnlockedTournDifficultyListFieldNumber = 6;
private static readonly pb::FieldCodec<uint> _repeated_unlockedTournDifficultyList_codec
= pb::FieldCodec.ForUInt32(50);
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 "CGAIJCCLKBH" field.</summary>
public const int CGAIJCCLKBHFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.KOIICMIEAEF cGAIJCCLKBH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.KOIICMIEAEF CGAIJCCLKBH {
get { return cGAIJCCLKBH_; }
set {
cGAIJCCLKBH_ = value;
}
}
/// <summary>Field number for the "completed" field.</summary>
public const int CompletedFieldNumber = 13;
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_unlocked" field.</summary>
public const int IsUnlockedFieldNumber = 14;
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 "IFPOILOPFAG" field.</summary>
public const int IFPOILOPFAGFieldNumber = 11;
private uint iFPOILOPFAG_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IFPOILOPFAG {
get { return iFPOILOPFAG_; }
set {
iFPOILOPFAG_ = value;
}
}
/// <summary>Field number for the "area_id" field.</summary>
public const int AreaIdFieldNumber = 2;
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 "record_info" field.</summary>
public const int RecordInfoFieldNumber = 7;
private global::EggLink.DanhengServer.Proto.OLFGBAMEFJI recordInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.OLFGBAMEFJI RecordInfo {
get { return recordInfo_; }
set {
recordInfo_ = value;
}
}
/// <summary>Field number for the "is_taken_reward" field.</summary>
public const int IsTakenRewardFieldNumber = 3;
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(!unlockedTournDifficultyList_.Equals(other.unlockedTournDifficultyList_)) return false;
if (!object.Equals(CGAIJCCLKBH, other.CGAIJCCLKBH)) return false;
if (Completed != other.Completed) return false;
if (IsUnlocked != other.IsUnlocked) return false;
if (IFPOILOPFAG != other.IFPOILOPFAG) return false;
if (AreaId != other.AreaId) return false;
if (!object.Equals(RecordInfo, other.RecordInfo)) 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;
hash ^= unlockedTournDifficultyList_.GetHashCode();
if (cGAIJCCLKBH_ != null) hash ^= CGAIJCCLKBH.GetHashCode();
if (Completed != false) hash ^= Completed.GetHashCode();
if (IsUnlocked != false) hash ^= IsUnlocked.GetHashCode();
if (IFPOILOPFAG != 0) hash ^= IFPOILOPFAG.GetHashCode();
if (AreaId != 0) hash ^= AreaId.GetHashCode();
if (recordInfo_ != null) hash ^= RecordInfo.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 (cGAIJCCLKBH_ != null) {
output.WriteRawTag(10);
output.WriteMessage(CGAIJCCLKBH);
}
if (AreaId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AreaId);
}
if (IsTakenReward != false) {
output.WriteRawTag(24);
output.WriteBool(IsTakenReward);
}
unlockedTournDifficultyList_.WriteTo(output, _repeated_unlockedTournDifficultyList_codec);
if (recordInfo_ != null) {
output.WriteRawTag(58);
output.WriteMessage(RecordInfo);
}
if (IFPOILOPFAG != 0) {
output.WriteRawTag(88);
output.WriteUInt32(IFPOILOPFAG);
}
if (Completed != false) {
output.WriteRawTag(104);
output.WriteBool(Completed);
}
if (IsUnlocked != false) {
output.WriteRawTag(112);
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 (cGAIJCCLKBH_ != null) {
output.WriteRawTag(10);
output.WriteMessage(CGAIJCCLKBH);
}
if (AreaId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AreaId);
}
if (IsTakenReward != false) {
output.WriteRawTag(24);
output.WriteBool(IsTakenReward);
}
unlockedTournDifficultyList_.WriteTo(ref output, _repeated_unlockedTournDifficultyList_codec);
if (recordInfo_ != null) {
output.WriteRawTag(58);
output.WriteMessage(RecordInfo);
}
if (IFPOILOPFAG != 0) {
output.WriteRawTag(88);
output.WriteUInt32(IFPOILOPFAG);
}
if (Completed != false) {
output.WriteRawTag(104);
output.WriteBool(Completed);
}
if (IsUnlocked != false) {
output.WriteRawTag(112);
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 += unlockedTournDifficultyList_.CalculateSize(_repeated_unlockedTournDifficultyList_codec);
if (cGAIJCCLKBH_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CGAIJCCLKBH);
}
if (Completed != false) {
size += 1 + 1;
}
if (IsUnlocked != false) {
size += 1 + 1;
}
if (IFPOILOPFAG != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IFPOILOPFAG);
}
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
if (recordInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecordInfo);
}
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;
}
unlockedTournDifficultyList_.Add(other.unlockedTournDifficultyList_);
if (other.cGAIJCCLKBH_ != null) {
if (cGAIJCCLKBH_ == null) {
CGAIJCCLKBH = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
}
CGAIJCCLKBH.MergeFrom(other.CGAIJCCLKBH);
}
if (other.Completed != false) {
Completed = other.Completed;
}
if (other.IsUnlocked != false) {
IsUnlocked = other.IsUnlocked;
}
if (other.IFPOILOPFAG != 0) {
IFPOILOPFAG = other.IFPOILOPFAG;
}
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
if (other.recordInfo_ != null) {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
}
RecordInfo.MergeFrom(other.RecordInfo);
}
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 10: {
if (cGAIJCCLKBH_ == null) {
CGAIJCCLKBH = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
}
input.ReadMessage(CGAIJCCLKBH);
break;
}
case 16: {
AreaId = input.ReadUInt32();
break;
}
case 24: {
IsTakenReward = input.ReadBool();
break;
}
case 50:
case 48: {
unlockedTournDifficultyList_.AddEntriesFrom(input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 58: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
}
input.ReadMessage(RecordInfo);
break;
}
case 88: {
IFPOILOPFAG = input.ReadUInt32();
break;
}
case 104: {
Completed = input.ReadBool();
break;
}
case 112: {
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 10: {
if (cGAIJCCLKBH_ == null) {
CGAIJCCLKBH = new global::EggLink.DanhengServer.Proto.KOIICMIEAEF();
}
input.ReadMessage(CGAIJCCLKBH);
break;
}
case 16: {
AreaId = input.ReadUInt32();
break;
}
case 24: {
IsTakenReward = input.ReadBool();
break;
}
case 50:
case 48: {
unlockedTournDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 58: {
if (recordInfo_ == null) {
RecordInfo = new global::EggLink.DanhengServer.Proto.OLFGBAMEFJI();
}
input.ReadMessage(RecordInfo);
break;
}
case 88: {
IFPOILOPFAG = input.ReadUInt32();
break;
}
case 104: {
Completed = input.ReadBool();
break;
}
case 112: {
IsUnlocked = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code