Files
Novaria/Novaria.Common/Protos/RegionBoss.cs

701 lines
23 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RegionBoss.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 Nova.Client {
/// <summary>Holder for reflection information generated from RegionBoss.proto</summary>
public static partial class RegionBossReflection {
#region Descriptor
/// <summary>File descriptor for RegionBoss.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RegionBossReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChBSZWdpb25Cb3NzLnByb3RvIogCCgpSZWdpb25Cb3NzEgoKAmlkGAEgASgF",
"EhIKCm1vbnN0ZXJfaWQYAiABKAUSEwoLcmVnaW9uX3R5cGUYAyABKAUSDAoE",
"bmFtZRgEIAEoCRIMCgRpY29uGAUgASgJEhgKEHVubG9ja19jb25kaXRpb24Y",
"BiABKAkSFgoObmVlZF9yb2d1ZWxpa2UYByABKAUSDAoEc29ydBgIIAEoBRIQ",
"CghvcGVuX2RheRgJIAMoBRIVCg1vcGVuX2RheV9kZXNjGAogASgJEg0KBWVf",
"ZV90GAsgAygFEg8KB2VwaXNvZGUYDCABKAkSDQoFaW1hZ2UYDSABKAkSEQoJ",
"ZHJvcF9pdGVtGA4gAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBoss), global::Nova.Client.RegionBoss.Parser, new[]{ "Id", "MonsterId", "RegionType", "Name", "Icon", "UnlockCondition", "NeedRoguelike", "Sort", "OpenDay", "OpenDayDesc", "EET", "Episode", "Image", "DropItem" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegionBoss : pb::IMessage<RegionBoss>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RegionBoss> _parser = new pb::MessageParser<RegionBoss>(() => new RegionBoss());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RegionBoss> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.RegionBossReflection.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 RegionBoss() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBoss(RegionBoss other) : this() {
id_ = other.id_;
monsterId_ = other.monsterId_;
regionType_ = other.regionType_;
name_ = other.name_;
icon_ = other.icon_;
unlockCondition_ = other.unlockCondition_;
needRoguelike_ = other.needRoguelike_;
sort_ = other.sort_;
openDay_ = other.openDay_.Clone();
openDayDesc_ = other.openDayDesc_;
eET_ = other.eET_.Clone();
episode_ = other.episode_;
image_ = other.image_;
dropItem_ = other.dropItem_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBoss Clone() {
return new RegionBoss(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "monster_id" field.</summary>
public const int MonsterIdFieldNumber = 2;
private int monsterId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MonsterId {
get { return monsterId_; }
set {
monsterId_ = value;
}
}
/// <summary>Field number for the "region_type" field.</summary>
public const int RegionTypeFieldNumber = 3;
private int regionType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RegionType {
get { return regionType_; }
set {
regionType_ = value;
}
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 4;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 5;
private string icon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "unlock_condition" field.</summary>
public const int UnlockConditionFieldNumber = 6;
private string unlockCondition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UnlockCondition {
get { return unlockCondition_; }
set {
unlockCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "need_roguelike" field.</summary>
public const int NeedRoguelikeFieldNumber = 7;
private int needRoguelike_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int NeedRoguelike {
get { return needRoguelike_; }
set {
needRoguelike_ = value;
}
}
/// <summary>Field number for the "sort" field.</summary>
public const int SortFieldNumber = 8;
private int sort_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Sort {
get { return sort_; }
set {
sort_ = value;
}
}
/// <summary>Field number for the "open_day" field.</summary>
public const int OpenDayFieldNumber = 9;
private static readonly pb::FieldCodec<int> _repeated_openDay_codec
= pb::FieldCodec.ForInt32(74);
private readonly pbc::RepeatedField<int> openDay_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> OpenDay {
get { return openDay_; }
}
/// <summary>Field number for the "open_day_desc" field.</summary>
public const int OpenDayDescFieldNumber = 10;
private string openDayDesc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OpenDayDesc {
get { return openDayDesc_; }
set {
openDayDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "e_e_t" field.</summary>
public const int EETFieldNumber = 11;
private static readonly pb::FieldCodec<int> _repeated_eET_codec
= pb::FieldCodec.ForInt32(90);
private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> EET {
get { return eET_; }
}
/// <summary>Field number for the "episode" field.</summary>
public const int EpisodeFieldNumber = 12;
private string episode_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Episode {
get { return episode_; }
set {
episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "image" field.</summary>
public const int ImageFieldNumber = 13;
private string image_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Image {
get { return image_; }
set {
image_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "drop_item" field.</summary>
public const int DropItemFieldNumber = 14;
private static readonly pb::FieldCodec<int> _repeated_dropItem_codec
= pb::FieldCodec.ForInt32(114);
private readonly pbc::RepeatedField<int> dropItem_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> DropItem {
get { return dropItem_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RegionBoss);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegionBoss other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (MonsterId != other.MonsterId) return false;
if (RegionType != other.RegionType) return false;
if (Name != other.Name) return false;
if (Icon != other.Icon) return false;
if (UnlockCondition != other.UnlockCondition) return false;
if (NeedRoguelike != other.NeedRoguelike) return false;
if (Sort != other.Sort) return false;
if(!openDay_.Equals(other.openDay_)) return false;
if (OpenDayDesc != other.OpenDayDesc) return false;
if(!eET_.Equals(other.eET_)) return false;
if (Episode != other.Episode) return false;
if (Image != other.Image) return false;
if(!dropItem_.Equals(other.dropItem_)) 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 (Id != 0) hash ^= Id.GetHashCode();
if (MonsterId != 0) hash ^= MonsterId.GetHashCode();
if (RegionType != 0) hash ^= RegionType.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (UnlockCondition.Length != 0) hash ^= UnlockCondition.GetHashCode();
if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode();
if (Sort != 0) hash ^= Sort.GetHashCode();
hash ^= openDay_.GetHashCode();
if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.GetHashCode();
hash ^= eET_.GetHashCode();
if (Episode.Length != 0) hash ^= Episode.GetHashCode();
if (Image.Length != 0) hash ^= Image.GetHashCode();
hash ^= dropItem_.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (MonsterId != 0) {
output.WriteRawTag(16);
output.WriteInt32(MonsterId);
}
if (RegionType != 0) {
output.WriteRawTag(24);
output.WriteInt32(RegionType);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (Icon.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Icon);
}
if (UnlockCondition.Length != 0) {
output.WriteRawTag(50);
output.WriteString(UnlockCondition);
}
if (NeedRoguelike != 0) {
output.WriteRawTag(56);
output.WriteInt32(NeedRoguelike);
}
if (Sort != 0) {
output.WriteRawTag(64);
output.WriteInt32(Sort);
}
openDay_.WriteTo(output, _repeated_openDay_codec);
if (OpenDayDesc.Length != 0) {
output.WriteRawTag(82);
output.WriteString(OpenDayDesc);
}
eET_.WriteTo(output, _repeated_eET_codec);
if (Episode.Length != 0) {
output.WriteRawTag(98);
output.WriteString(Episode);
}
if (Image.Length != 0) {
output.WriteRawTag(106);
output.WriteString(Image);
}
dropItem_.WriteTo(output, _repeated_dropItem_codec);
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (MonsterId != 0) {
output.WriteRawTag(16);
output.WriteInt32(MonsterId);
}
if (RegionType != 0) {
output.WriteRawTag(24);
output.WriteInt32(RegionType);
}
if (Name.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Name);
}
if (Icon.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Icon);
}
if (UnlockCondition.Length != 0) {
output.WriteRawTag(50);
output.WriteString(UnlockCondition);
}
if (NeedRoguelike != 0) {
output.WriteRawTag(56);
output.WriteInt32(NeedRoguelike);
}
if (Sort != 0) {
output.WriteRawTag(64);
output.WriteInt32(Sort);
}
openDay_.WriteTo(ref output, _repeated_openDay_codec);
if (OpenDayDesc.Length != 0) {
output.WriteRawTag(82);
output.WriteString(OpenDayDesc);
}
eET_.WriteTo(ref output, _repeated_eET_codec);
if (Episode.Length != 0) {
output.WriteRawTag(98);
output.WriteString(Episode);
}
if (Image.Length != 0) {
output.WriteRawTag(106);
output.WriteString(Image);
}
dropItem_.WriteTo(ref output, _repeated_dropItem_codec);
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (MonsterId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId);
}
if (RegionType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (UnlockCondition.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockCondition);
}
if (NeedRoguelike != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike);
}
if (Sort != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort);
}
size += openDay_.CalculateSize(_repeated_openDay_codec);
if (OpenDayDesc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc);
}
size += eET_.CalculateSize(_repeated_eET_codec);
if (Episode.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode);
}
if (Image.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Image);
}
size += dropItem_.CalculateSize(_repeated_dropItem_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegionBoss other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.MonsterId != 0) {
MonsterId = other.MonsterId;
}
if (other.RegionType != 0) {
RegionType = other.RegionType;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.UnlockCondition.Length != 0) {
UnlockCondition = other.UnlockCondition;
}
if (other.NeedRoguelike != 0) {
NeedRoguelike = other.NeedRoguelike;
}
if (other.Sort != 0) {
Sort = other.Sort;
}
openDay_.Add(other.openDay_);
if (other.OpenDayDesc.Length != 0) {
OpenDayDesc = other.OpenDayDesc;
}
eET_.Add(other.eET_);
if (other.Episode.Length != 0) {
Episode = other.Episode;
}
if (other.Image.Length != 0) {
Image = other.Image;
}
dropItem_.Add(other.dropItem_);
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 16: {
MonsterId = input.ReadInt32();
break;
}
case 24: {
RegionType = input.ReadInt32();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
Icon = input.ReadString();
break;
}
case 50: {
UnlockCondition = input.ReadString();
break;
}
case 56: {
NeedRoguelike = input.ReadInt32();
break;
}
case 64: {
Sort = input.ReadInt32();
break;
}
case 74:
case 72: {
openDay_.AddEntriesFrom(input, _repeated_openDay_codec);
break;
}
case 82: {
OpenDayDesc = input.ReadString();
break;
}
case 90:
case 88: {
eET_.AddEntriesFrom(input, _repeated_eET_codec);
break;
}
case 98: {
Episode = input.ReadString();
break;
}
case 106: {
Image = input.ReadString();
break;
}
case 114:
case 112: {
dropItem_.AddEntriesFrom(input, _repeated_dropItem_codec);
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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 16: {
MonsterId = input.ReadInt32();
break;
}
case 24: {
RegionType = input.ReadInt32();
break;
}
case 34: {
Name = input.ReadString();
break;
}
case 42: {
Icon = input.ReadString();
break;
}
case 50: {
UnlockCondition = input.ReadString();
break;
}
case 56: {
NeedRoguelike = input.ReadInt32();
break;
}
case 64: {
Sort = input.ReadInt32();
break;
}
case 74:
case 72: {
openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec);
break;
}
case 82: {
OpenDayDesc = input.ReadString();
break;
}
case 90:
case 88: {
eET_.AddEntriesFrom(ref input, _repeated_eET_codec);
break;
}
case 98: {
Episode = input.ReadString();
break;
}
case 106: {
Image = input.ReadString();
break;
}
case 114:
case 112: {
dropItem_.AddEntriesFrom(ref input, _repeated_dropItem_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code