Files
DanhengServer-OpenSource/Proto/RogueTournAreaInfo.cs
2025-04-15 16:44:46 +08:00

414 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueTournAreaInfo.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 RogueTournAreaInfo.proto</summary>
public static partial class RogueTournAreaInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueTournAreaInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueTournAreaInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhSb2d1ZVRvdXJuQXJlYUluZm8ucHJvdG8iowEKElJvZ3VlVG91cm5BcmVh",
"SW5mbxIXCg9pc190YWtlbl9yZXdhcmQYBSABKAgSEwoLR01PUExKSkdCUE8Y",
"DiABKAgSDwoHYXJlYV9pZBgCIAEoDRIRCgljb21wbGV0ZWQYByABKAgSJgoe",
"dW5sb2NrZWRfdG91cm5fZGlmZmljdWx0eV9saXN0GAYgAygNEhMKC2lzX3Vu",
"bG9ja2VkGAMgASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournAreaInfo), global::EggLink.DanhengServer.Proto.RogueTournAreaInfo.Parser, new[]{ "IsTakenReward", "GMOPLJJGBPO", "AreaId", "Completed", "UnlockedTournDifficultyList", "IsUnlocked" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueTournAreaInfo : pb::IMessage<RogueTournAreaInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueTournAreaInfo> _parser = new pb::MessageParser<RogueTournAreaInfo>(() => new RogueTournAreaInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueTournAreaInfo> 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.RogueTournAreaInfoReflection.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 RogueTournAreaInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournAreaInfo(RogueTournAreaInfo other) : this() {
isTakenReward_ = other.isTakenReward_;
gMOPLJJGBPO_ = other.gMOPLJJGBPO_;
areaId_ = other.areaId_;
completed_ = other.completed_;
unlockedTournDifficultyList_ = other.unlockedTournDifficultyList_.Clone();
isUnlocked_ = other.isUnlocked_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournAreaInfo Clone() {
return new RogueTournAreaInfo(this);
}
/// <summary>Field number for the "is_taken_reward" field.</summary>
public const int IsTakenRewardFieldNumber = 5;
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 "GMOPLJJGBPO" field.</summary>
public const int GMOPLJJGBPOFieldNumber = 14;
private bool gMOPLJJGBPO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool GMOPLJJGBPO {
get { return gMOPLJJGBPO_; }
set {
gMOPLJJGBPO_ = 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 "completed" field.</summary>
public const int CompletedFieldNumber = 7;
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 "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 "is_unlocked" field.</summary>
public const int IsUnlockedFieldNumber = 3;
private bool isUnlocked_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsUnlocked {
get { return isUnlocked_; }
set {
isUnlocked_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueTournAreaInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueTournAreaInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IsTakenReward != other.IsTakenReward) return false;
if (GMOPLJJGBPO != other.GMOPLJJGBPO) return false;
if (AreaId != other.AreaId) return false;
if (Completed != other.Completed) return false;
if(!unlockedTournDifficultyList_.Equals(other.unlockedTournDifficultyList_)) return false;
if (IsUnlocked != other.IsUnlocked) 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 (IsTakenReward != false) hash ^= IsTakenReward.GetHashCode();
if (GMOPLJJGBPO != false) hash ^= GMOPLJJGBPO.GetHashCode();
if (AreaId != 0) hash ^= AreaId.GetHashCode();
if (Completed != false) hash ^= Completed.GetHashCode();
hash ^= unlockedTournDifficultyList_.GetHashCode();
if (IsUnlocked != false) hash ^= IsUnlocked.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 (AreaId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AreaId);
}
if (IsUnlocked != false) {
output.WriteRawTag(24);
output.WriteBool(IsUnlocked);
}
if (IsTakenReward != false) {
output.WriteRawTag(40);
output.WriteBool(IsTakenReward);
}
unlockedTournDifficultyList_.WriteTo(output, _repeated_unlockedTournDifficultyList_codec);
if (Completed != false) {
output.WriteRawTag(56);
output.WriteBool(Completed);
}
if (GMOPLJJGBPO != false) {
output.WriteRawTag(112);
output.WriteBool(GMOPLJJGBPO);
}
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 (AreaId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AreaId);
}
if (IsUnlocked != false) {
output.WriteRawTag(24);
output.WriteBool(IsUnlocked);
}
if (IsTakenReward != false) {
output.WriteRawTag(40);
output.WriteBool(IsTakenReward);
}
unlockedTournDifficultyList_.WriteTo(ref output, _repeated_unlockedTournDifficultyList_codec);
if (Completed != false) {
output.WriteRawTag(56);
output.WriteBool(Completed);
}
if (GMOPLJJGBPO != false) {
output.WriteRawTag(112);
output.WriteBool(GMOPLJJGBPO);
}
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 (IsTakenReward != false) {
size += 1 + 1;
}
if (GMOPLJJGBPO != false) {
size += 1 + 1;
}
if (AreaId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AreaId);
}
if (Completed != false) {
size += 1 + 1;
}
size += unlockedTournDifficultyList_.CalculateSize(_repeated_unlockedTournDifficultyList_codec);
if (IsUnlocked != 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(RogueTournAreaInfo other) {
if (other == null) {
return;
}
if (other.IsTakenReward != false) {
IsTakenReward = other.IsTakenReward;
}
if (other.GMOPLJJGBPO != false) {
GMOPLJJGBPO = other.GMOPLJJGBPO;
}
if (other.AreaId != 0) {
AreaId = other.AreaId;
}
if (other.Completed != false) {
Completed = other.Completed;
}
unlockedTournDifficultyList_.Add(other.unlockedTournDifficultyList_);
if (other.IsUnlocked != false) {
IsUnlocked = other.IsUnlocked;
}
_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 16: {
AreaId = input.ReadUInt32();
break;
}
case 24: {
IsUnlocked = input.ReadBool();
break;
}
case 40: {
IsTakenReward = input.ReadBool();
break;
}
case 50:
case 48: {
unlockedTournDifficultyList_.AddEntriesFrom(input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 56: {
Completed = input.ReadBool();
break;
}
case 112: {
GMOPLJJGBPO = 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 16: {
AreaId = input.ReadUInt32();
break;
}
case 24: {
IsUnlocked = input.ReadBool();
break;
}
case 40: {
IsTakenReward = input.ReadBool();
break;
}
case 50:
case 48: {
unlockedTournDifficultyList_.AddEntriesFrom(ref input, _repeated_unlockedTournDifficultyList_codec);
break;
}
case 56: {
Completed = input.ReadBool();
break;
}
case 112: {
GMOPLJJGBPO = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code