Files
Novaria/Novaria.Common/Protos/RegionBossLevel.cs

1359 lines
46 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RegionBossLevel.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 RegionBossLevel.proto</summary>
public static partial class RegionBossLevelReflection {
#region Descriptor
/// <summary>File descriptor for RegionBossLevel.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RegionBossLevelReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVSZWdpb25Cb3NzTGV2ZWwucHJvdG8i6wUKD1JlZ2lvbkJvc3NMZXZlbBIK",
"CgJpZBgBIAEoBRIWCg5yZWdpb25fYm9zc19pZBgCIAEoBRISCgpkaWZmaWN1",
"bHR5GAMgASgFEhMKC3JlZ2lvbl90eXBlGAQgASgFEgwKBG5hbWUYBSABKAkS",
"DAoEZGVzYxgGIAEoCRIMCgRpY29uGAcgASgJEhcKD3N1Z2dlc3RlZF9wb3dl",
"chgIIAEoBRIUCgxwcmVfbGV2ZWxfaWQYCSABKAUSFgoOYm9zc19zaG93X3Rp",
"bWUYCiABKAUSFgoOcHJlX2xldmVsX3N0YXIYCyABKAUSGAoQbmVlZF93b3Js",
"ZF9jbGFzcxgMIAEoBRIWCg5uZWVkX3JvZ3VlbGlrZRgNIAEoBRIQCghmbG9v",
"cl9pZBgOIAEoBRIaChJvbmVfc3Rhcl9jb25kaXRpb24YDyABKAkSGgoSdHdv",
"X3N0YXJfY29uZGl0aW9uGBAgASgJEhwKFHRocmVlX3N0YXJfY29uZGl0aW9u",
"GBEgASgJEg8KB2Ryb3BfaWQYEiABKAUSFgoOZW5lcmd5X2NvbnN1bWUYEyAB",
"KAUSGgoSYmFzZV9hd2FyZF9wcmV2aWV3GBQgASgJEhcKD2VudHJ5X2dyb3Vw",
"X2lkMRgVIAEoBRIaChJlbnRyeV9ncm91cF9sZXZlbDEYFiABKAUSFwoPZW50",
"cnlfZ3JvdXBfaWQyGBcgASgFEhoKEmVudHJ5X2dyb3VwX2xldmVsMhgYIAEo",
"BRIXCg9lbnRyeV9ncm91cF9pZDMYGSABKAUSGgoSZW50cnlfZ3JvdXBfbGV2",
"ZWwzGBogASgFEhcKD2VudHJ5X2dyb3VwX2lkNBgbIAEoBRIaChJlbnRyeV9n",
"cm91cF9sZXZlbDQYHCABKAUSFwoPZW50cnlfZ3JvdXBfaWQ1GB0gASgFEhoK",
"EmVudHJ5X2dyb3VwX2xldmVsNRgeIAEoBRIaChJleHRyYV9kcm9wX3ByZXZp",
"ZXcYHyADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossLevel), global::Nova.Client.RegionBossLevel.Parser, new[]{ "Id", "RegionBossId", "Difficulty", "RegionType", "Name", "Desc", "Icon", "SuggestedPower", "PreLevelId", "BossShowTime", "PreLevelStar", "NeedWorldClass", "NeedRoguelike", "FloorId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "DropId", "EnergyConsume", "BaseAwardPreview", "EntryGroupId1", "EntryGroupLevel1", "EntryGroupId2", "EntryGroupLevel2", "EntryGroupId3", "EntryGroupLevel3", "EntryGroupId4", "EntryGroupLevel4", "EntryGroupId5", "EntryGroupLevel5", "ExtraDropPreview" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegionBossLevel : pb::IMessage<RegionBossLevel>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RegionBossLevel> _parser = new pb::MessageParser<RegionBossLevel>(() => new RegionBossLevel());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RegionBossLevel> 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.RegionBossLevelReflection.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 RegionBossLevel() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBossLevel(RegionBossLevel other) : this() {
id_ = other.id_;
regionBossId_ = other.regionBossId_;
difficulty_ = other.difficulty_;
regionType_ = other.regionType_;
name_ = other.name_;
desc_ = other.desc_;
icon_ = other.icon_;
suggestedPower_ = other.suggestedPower_;
preLevelId_ = other.preLevelId_;
bossShowTime_ = other.bossShowTime_;
preLevelStar_ = other.preLevelStar_;
needWorldClass_ = other.needWorldClass_;
needRoguelike_ = other.needRoguelike_;
floorId_ = other.floorId_;
oneStarCondition_ = other.oneStarCondition_;
twoStarCondition_ = other.twoStarCondition_;
threeStarCondition_ = other.threeStarCondition_;
dropId_ = other.dropId_;
energyConsume_ = other.energyConsume_;
baseAwardPreview_ = other.baseAwardPreview_;
entryGroupId1_ = other.entryGroupId1_;
entryGroupLevel1_ = other.entryGroupLevel1_;
entryGroupId2_ = other.entryGroupId2_;
entryGroupLevel2_ = other.entryGroupLevel2_;
entryGroupId3_ = other.entryGroupId3_;
entryGroupLevel3_ = other.entryGroupLevel3_;
entryGroupId4_ = other.entryGroupId4_;
entryGroupLevel4_ = other.entryGroupLevel4_;
entryGroupId5_ = other.entryGroupId5_;
entryGroupLevel5_ = other.entryGroupLevel5_;
extraDropPreview_ = other.extraDropPreview_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionBossLevel Clone() {
return new RegionBossLevel(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 "region_boss_id" field.</summary>
public const int RegionBossIdFieldNumber = 2;
private int regionBossId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RegionBossId {
get { return regionBossId_; }
set {
regionBossId_ = value;
}
}
/// <summary>Field number for the "difficulty" field.</summary>
public const int DifficultyFieldNumber = 3;
private int difficulty_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Difficulty {
get { return difficulty_; }
set {
difficulty_ = value;
}
}
/// <summary>Field number for the "region_type" field.</summary>
public const int RegionTypeFieldNumber = 4;
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 = 5;
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 "desc" field.</summary>
public const int DescFieldNumber = 6;
private string desc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Desc {
get { return desc_; }
set {
desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 7;
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 "suggested_power" field.</summary>
public const int SuggestedPowerFieldNumber = 8;
private int suggestedPower_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SuggestedPower {
get { return suggestedPower_; }
set {
suggestedPower_ = value;
}
}
/// <summary>Field number for the "pre_level_id" field.</summary>
public const int PreLevelIdFieldNumber = 9;
private int preLevelId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PreLevelId {
get { return preLevelId_; }
set {
preLevelId_ = value;
}
}
/// <summary>Field number for the "boss_show_time" field.</summary>
public const int BossShowTimeFieldNumber = 10;
private int bossShowTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int BossShowTime {
get { return bossShowTime_; }
set {
bossShowTime_ = value;
}
}
/// <summary>Field number for the "pre_level_star" field.</summary>
public const int PreLevelStarFieldNumber = 11;
private int preLevelStar_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int PreLevelStar {
get { return preLevelStar_; }
set {
preLevelStar_ = value;
}
}
/// <summary>Field number for the "need_world_class" field.</summary>
public const int NeedWorldClassFieldNumber = 12;
private int needWorldClass_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int NeedWorldClass {
get { return needWorldClass_; }
set {
needWorldClass_ = value;
}
}
/// <summary>Field number for the "need_roguelike" field.</summary>
public const int NeedRoguelikeFieldNumber = 13;
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 "floor_id" field.</summary>
public const int FloorIdFieldNumber = 14;
private int floorId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int FloorId {
get { return floorId_; }
set {
floorId_ = value;
}
}
/// <summary>Field number for the "one_star_condition" field.</summary>
public const int OneStarConditionFieldNumber = 15;
private string oneStarCondition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OneStarCondition {
get { return oneStarCondition_; }
set {
oneStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "two_star_condition" field.</summary>
public const int TwoStarConditionFieldNumber = 16;
private string twoStarCondition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TwoStarCondition {
get { return twoStarCondition_; }
set {
twoStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "three_star_condition" field.</summary>
public const int ThreeStarConditionFieldNumber = 17;
private string threeStarCondition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ThreeStarCondition {
get { return threeStarCondition_; }
set {
threeStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "drop_id" field.</summary>
public const int DropIdFieldNumber = 18;
private int dropId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int DropId {
get { return dropId_; }
set {
dropId_ = value;
}
}
/// <summary>Field number for the "energy_consume" field.</summary>
public const int EnergyConsumeFieldNumber = 19;
private int energyConsume_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EnergyConsume {
get { return energyConsume_; }
set {
energyConsume_ = value;
}
}
/// <summary>Field number for the "base_award_preview" field.</summary>
public const int BaseAwardPreviewFieldNumber = 20;
private string baseAwardPreview_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string BaseAwardPreview {
get { return baseAwardPreview_; }
set {
baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "entry_group_id1" field.</summary>
public const int EntryGroupId1FieldNumber = 21;
private int entryGroupId1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupId1 {
get { return entryGroupId1_; }
set {
entryGroupId1_ = value;
}
}
/// <summary>Field number for the "entry_group_level1" field.</summary>
public const int EntryGroupLevel1FieldNumber = 22;
private int entryGroupLevel1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupLevel1 {
get { return entryGroupLevel1_; }
set {
entryGroupLevel1_ = value;
}
}
/// <summary>Field number for the "entry_group_id2" field.</summary>
public const int EntryGroupId2FieldNumber = 23;
private int entryGroupId2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupId2 {
get { return entryGroupId2_; }
set {
entryGroupId2_ = value;
}
}
/// <summary>Field number for the "entry_group_level2" field.</summary>
public const int EntryGroupLevel2FieldNumber = 24;
private int entryGroupLevel2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupLevel2 {
get { return entryGroupLevel2_; }
set {
entryGroupLevel2_ = value;
}
}
/// <summary>Field number for the "entry_group_id3" field.</summary>
public const int EntryGroupId3FieldNumber = 25;
private int entryGroupId3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupId3 {
get { return entryGroupId3_; }
set {
entryGroupId3_ = value;
}
}
/// <summary>Field number for the "entry_group_level3" field.</summary>
public const int EntryGroupLevel3FieldNumber = 26;
private int entryGroupLevel3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupLevel3 {
get { return entryGroupLevel3_; }
set {
entryGroupLevel3_ = value;
}
}
/// <summary>Field number for the "entry_group_id4" field.</summary>
public const int EntryGroupId4FieldNumber = 27;
private int entryGroupId4_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupId4 {
get { return entryGroupId4_; }
set {
entryGroupId4_ = value;
}
}
/// <summary>Field number for the "entry_group_level4" field.</summary>
public const int EntryGroupLevel4FieldNumber = 28;
private int entryGroupLevel4_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupLevel4 {
get { return entryGroupLevel4_; }
set {
entryGroupLevel4_ = value;
}
}
/// <summary>Field number for the "entry_group_id5" field.</summary>
public const int EntryGroupId5FieldNumber = 29;
private int entryGroupId5_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupId5 {
get { return entryGroupId5_; }
set {
entryGroupId5_ = value;
}
}
/// <summary>Field number for the "entry_group_level5" field.</summary>
public const int EntryGroupLevel5FieldNumber = 30;
private int entryGroupLevel5_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int EntryGroupLevel5 {
get { return entryGroupLevel5_; }
set {
entryGroupLevel5_ = value;
}
}
/// <summary>Field number for the "extra_drop_preview" field.</summary>
public const int ExtraDropPreviewFieldNumber = 31;
private static readonly pb::FieldCodec<int> _repeated_extraDropPreview_codec
= pb::FieldCodec.ForInt32(250);
private readonly pbc::RepeatedField<int> extraDropPreview_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> ExtraDropPreview {
get { return extraDropPreview_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RegionBossLevel);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegionBossLevel other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (RegionBossId != other.RegionBossId) return false;
if (Difficulty != other.Difficulty) return false;
if (RegionType != other.RegionType) return false;
if (Name != other.Name) return false;
if (Desc != other.Desc) return false;
if (Icon != other.Icon) return false;
if (SuggestedPower != other.SuggestedPower) return false;
if (PreLevelId != other.PreLevelId) return false;
if (BossShowTime != other.BossShowTime) return false;
if (PreLevelStar != other.PreLevelStar) return false;
if (NeedWorldClass != other.NeedWorldClass) return false;
if (NeedRoguelike != other.NeedRoguelike) return false;
if (FloorId != other.FloorId) return false;
if (OneStarCondition != other.OneStarCondition) return false;
if (TwoStarCondition != other.TwoStarCondition) return false;
if (ThreeStarCondition != other.ThreeStarCondition) return false;
if (DropId != other.DropId) return false;
if (EnergyConsume != other.EnergyConsume) return false;
if (BaseAwardPreview != other.BaseAwardPreview) return false;
if (EntryGroupId1 != other.EntryGroupId1) return false;
if (EntryGroupLevel1 != other.EntryGroupLevel1) return false;
if (EntryGroupId2 != other.EntryGroupId2) return false;
if (EntryGroupLevel2 != other.EntryGroupLevel2) return false;
if (EntryGroupId3 != other.EntryGroupId3) return false;
if (EntryGroupLevel3 != other.EntryGroupLevel3) return false;
if (EntryGroupId4 != other.EntryGroupId4) return false;
if (EntryGroupLevel4 != other.EntryGroupLevel4) return false;
if (EntryGroupId5 != other.EntryGroupId5) return false;
if (EntryGroupLevel5 != other.EntryGroupLevel5) return false;
if(!extraDropPreview_.Equals(other.extraDropPreview_)) 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 (RegionBossId != 0) hash ^= RegionBossId.GetHashCode();
if (Difficulty != 0) hash ^= Difficulty.GetHashCode();
if (RegionType != 0) hash ^= RegionType.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Desc.Length != 0) hash ^= Desc.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode();
if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode();
if (BossShowTime != 0) hash ^= BossShowTime.GetHashCode();
if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode();
if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode();
if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode();
if (FloorId != 0) hash ^= FloorId.GetHashCode();
if (OneStarCondition.Length != 0) hash ^= OneStarCondition.GetHashCode();
if (TwoStarCondition.Length != 0) hash ^= TwoStarCondition.GetHashCode();
if (ThreeStarCondition.Length != 0) hash ^= ThreeStarCondition.GetHashCode();
if (DropId != 0) hash ^= DropId.GetHashCode();
if (EnergyConsume != 0) hash ^= EnergyConsume.GetHashCode();
if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode();
if (EntryGroupId1 != 0) hash ^= EntryGroupId1.GetHashCode();
if (EntryGroupLevel1 != 0) hash ^= EntryGroupLevel1.GetHashCode();
if (EntryGroupId2 != 0) hash ^= EntryGroupId2.GetHashCode();
if (EntryGroupLevel2 != 0) hash ^= EntryGroupLevel2.GetHashCode();
if (EntryGroupId3 != 0) hash ^= EntryGroupId3.GetHashCode();
if (EntryGroupLevel3 != 0) hash ^= EntryGroupLevel3.GetHashCode();
if (EntryGroupId4 != 0) hash ^= EntryGroupId4.GetHashCode();
if (EntryGroupLevel4 != 0) hash ^= EntryGroupLevel4.GetHashCode();
if (EntryGroupId5 != 0) hash ^= EntryGroupId5.GetHashCode();
if (EntryGroupLevel5 != 0) hash ^= EntryGroupLevel5.GetHashCode();
hash ^= extraDropPreview_.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 (RegionBossId != 0) {
output.WriteRawTag(16);
output.WriteInt32(RegionBossId);
}
if (Difficulty != 0) {
output.WriteRawTag(24);
output.WriteInt32(Difficulty);
}
if (RegionType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RegionType);
}
if (Name.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Name);
}
if (Desc.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Desc);
}
if (Icon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Icon);
}
if (SuggestedPower != 0) {
output.WriteRawTag(64);
output.WriteInt32(SuggestedPower);
}
if (PreLevelId != 0) {
output.WriteRawTag(72);
output.WriteInt32(PreLevelId);
}
if (BossShowTime != 0) {
output.WriteRawTag(80);
output.WriteInt32(BossShowTime);
}
if (PreLevelStar != 0) {
output.WriteRawTag(88);
output.WriteInt32(PreLevelStar);
}
if (NeedWorldClass != 0) {
output.WriteRawTag(96);
output.WriteInt32(NeedWorldClass);
}
if (NeedRoguelike != 0) {
output.WriteRawTag(104);
output.WriteInt32(NeedRoguelike);
}
if (FloorId != 0) {
output.WriteRawTag(112);
output.WriteInt32(FloorId);
}
if (OneStarCondition.Length != 0) {
output.WriteRawTag(122);
output.WriteString(OneStarCondition);
}
if (TwoStarCondition.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(TwoStarCondition);
}
if (ThreeStarCondition.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(ThreeStarCondition);
}
if (DropId != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(DropId);
}
if (EnergyConsume != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(EnergyConsume);
}
if (BaseAwardPreview.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(BaseAwardPreview);
}
if (EntryGroupId1 != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(EntryGroupId1);
}
if (EntryGroupLevel1 != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(EntryGroupLevel1);
}
if (EntryGroupId2 != 0) {
output.WriteRawTag(184, 1);
output.WriteInt32(EntryGroupId2);
}
if (EntryGroupLevel2 != 0) {
output.WriteRawTag(192, 1);
output.WriteInt32(EntryGroupLevel2);
}
if (EntryGroupId3 != 0) {
output.WriteRawTag(200, 1);
output.WriteInt32(EntryGroupId3);
}
if (EntryGroupLevel3 != 0) {
output.WriteRawTag(208, 1);
output.WriteInt32(EntryGroupLevel3);
}
if (EntryGroupId4 != 0) {
output.WriteRawTag(216, 1);
output.WriteInt32(EntryGroupId4);
}
if (EntryGroupLevel4 != 0) {
output.WriteRawTag(224, 1);
output.WriteInt32(EntryGroupLevel4);
}
if (EntryGroupId5 != 0) {
output.WriteRawTag(232, 1);
output.WriteInt32(EntryGroupId5);
}
if (EntryGroupLevel5 != 0) {
output.WriteRawTag(240, 1);
output.WriteInt32(EntryGroupLevel5);
}
extraDropPreview_.WriteTo(output, _repeated_extraDropPreview_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 (RegionBossId != 0) {
output.WriteRawTag(16);
output.WriteInt32(RegionBossId);
}
if (Difficulty != 0) {
output.WriteRawTag(24);
output.WriteInt32(Difficulty);
}
if (RegionType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RegionType);
}
if (Name.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Name);
}
if (Desc.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Desc);
}
if (Icon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Icon);
}
if (SuggestedPower != 0) {
output.WriteRawTag(64);
output.WriteInt32(SuggestedPower);
}
if (PreLevelId != 0) {
output.WriteRawTag(72);
output.WriteInt32(PreLevelId);
}
if (BossShowTime != 0) {
output.WriteRawTag(80);
output.WriteInt32(BossShowTime);
}
if (PreLevelStar != 0) {
output.WriteRawTag(88);
output.WriteInt32(PreLevelStar);
}
if (NeedWorldClass != 0) {
output.WriteRawTag(96);
output.WriteInt32(NeedWorldClass);
}
if (NeedRoguelike != 0) {
output.WriteRawTag(104);
output.WriteInt32(NeedRoguelike);
}
if (FloorId != 0) {
output.WriteRawTag(112);
output.WriteInt32(FloorId);
}
if (OneStarCondition.Length != 0) {
output.WriteRawTag(122);
output.WriteString(OneStarCondition);
}
if (TwoStarCondition.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(TwoStarCondition);
}
if (ThreeStarCondition.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(ThreeStarCondition);
}
if (DropId != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(DropId);
}
if (EnergyConsume != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(EnergyConsume);
}
if (BaseAwardPreview.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(BaseAwardPreview);
}
if (EntryGroupId1 != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(EntryGroupId1);
}
if (EntryGroupLevel1 != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(EntryGroupLevel1);
}
if (EntryGroupId2 != 0) {
output.WriteRawTag(184, 1);
output.WriteInt32(EntryGroupId2);
}
if (EntryGroupLevel2 != 0) {
output.WriteRawTag(192, 1);
output.WriteInt32(EntryGroupLevel2);
}
if (EntryGroupId3 != 0) {
output.WriteRawTag(200, 1);
output.WriteInt32(EntryGroupId3);
}
if (EntryGroupLevel3 != 0) {
output.WriteRawTag(208, 1);
output.WriteInt32(EntryGroupLevel3);
}
if (EntryGroupId4 != 0) {
output.WriteRawTag(216, 1);
output.WriteInt32(EntryGroupId4);
}
if (EntryGroupLevel4 != 0) {
output.WriteRawTag(224, 1);
output.WriteInt32(EntryGroupLevel4);
}
if (EntryGroupId5 != 0) {
output.WriteRawTag(232, 1);
output.WriteInt32(EntryGroupId5);
}
if (EntryGroupLevel5 != 0) {
output.WriteRawTag(240, 1);
output.WriteInt32(EntryGroupLevel5);
}
extraDropPreview_.WriteTo(ref output, _repeated_extraDropPreview_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 (RegionBossId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionBossId);
}
if (Difficulty != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty);
}
if (RegionType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Desc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (SuggestedPower != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower);
}
if (PreLevelId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId);
}
if (BossShowTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossShowTime);
}
if (PreLevelStar != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar);
}
if (NeedWorldClass != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass);
}
if (NeedRoguelike != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike);
}
if (FloorId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId);
}
if (OneStarCondition.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OneStarCondition);
}
if (TwoStarCondition.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(TwoStarCondition);
}
if (ThreeStarCondition.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(ThreeStarCondition);
}
if (DropId != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropId);
}
if (EnergyConsume != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConsume);
}
if (BaseAwardPreview.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview);
}
if (EntryGroupId1 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId1);
}
if (EntryGroupLevel1 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel1);
}
if (EntryGroupId2 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId2);
}
if (EntryGroupLevel2 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel2);
}
if (EntryGroupId3 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId3);
}
if (EntryGroupLevel3 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel3);
}
if (EntryGroupId4 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId4);
}
if (EntryGroupLevel4 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel4);
}
if (EntryGroupId5 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId5);
}
if (EntryGroupLevel5 != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel5);
}
size += extraDropPreview_.CalculateSize(_repeated_extraDropPreview_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegionBossLevel other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.RegionBossId != 0) {
RegionBossId = other.RegionBossId;
}
if (other.Difficulty != 0) {
Difficulty = other.Difficulty;
}
if (other.RegionType != 0) {
RegionType = other.RegionType;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Desc.Length != 0) {
Desc = other.Desc;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.SuggestedPower != 0) {
SuggestedPower = other.SuggestedPower;
}
if (other.PreLevelId != 0) {
PreLevelId = other.PreLevelId;
}
if (other.BossShowTime != 0) {
BossShowTime = other.BossShowTime;
}
if (other.PreLevelStar != 0) {
PreLevelStar = other.PreLevelStar;
}
if (other.NeedWorldClass != 0) {
NeedWorldClass = other.NeedWorldClass;
}
if (other.NeedRoguelike != 0) {
NeedRoguelike = other.NeedRoguelike;
}
if (other.FloorId != 0) {
FloorId = other.FloorId;
}
if (other.OneStarCondition.Length != 0) {
OneStarCondition = other.OneStarCondition;
}
if (other.TwoStarCondition.Length != 0) {
TwoStarCondition = other.TwoStarCondition;
}
if (other.ThreeStarCondition.Length != 0) {
ThreeStarCondition = other.ThreeStarCondition;
}
if (other.DropId != 0) {
DropId = other.DropId;
}
if (other.EnergyConsume != 0) {
EnergyConsume = other.EnergyConsume;
}
if (other.BaseAwardPreview.Length != 0) {
BaseAwardPreview = other.BaseAwardPreview;
}
if (other.EntryGroupId1 != 0) {
EntryGroupId1 = other.EntryGroupId1;
}
if (other.EntryGroupLevel1 != 0) {
EntryGroupLevel1 = other.EntryGroupLevel1;
}
if (other.EntryGroupId2 != 0) {
EntryGroupId2 = other.EntryGroupId2;
}
if (other.EntryGroupLevel2 != 0) {
EntryGroupLevel2 = other.EntryGroupLevel2;
}
if (other.EntryGroupId3 != 0) {
EntryGroupId3 = other.EntryGroupId3;
}
if (other.EntryGroupLevel3 != 0) {
EntryGroupLevel3 = other.EntryGroupLevel3;
}
if (other.EntryGroupId4 != 0) {
EntryGroupId4 = other.EntryGroupId4;
}
if (other.EntryGroupLevel4 != 0) {
EntryGroupLevel4 = other.EntryGroupLevel4;
}
if (other.EntryGroupId5 != 0) {
EntryGroupId5 = other.EntryGroupId5;
}
if (other.EntryGroupLevel5 != 0) {
EntryGroupLevel5 = other.EntryGroupLevel5;
}
extraDropPreview_.Add(other.extraDropPreview_);
_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: {
RegionBossId = input.ReadInt32();
break;
}
case 24: {
Difficulty = input.ReadInt32();
break;
}
case 32: {
RegionType = input.ReadInt32();
break;
}
case 42: {
Name = input.ReadString();
break;
}
case 50: {
Desc = input.ReadString();
break;
}
case 58: {
Icon = input.ReadString();
break;
}
case 64: {
SuggestedPower = input.ReadInt32();
break;
}
case 72: {
PreLevelId = input.ReadInt32();
break;
}
case 80: {
BossShowTime = input.ReadInt32();
break;
}
case 88: {
PreLevelStar = input.ReadInt32();
break;
}
case 96: {
NeedWorldClass = input.ReadInt32();
break;
}
case 104: {
NeedRoguelike = input.ReadInt32();
break;
}
case 112: {
FloorId = input.ReadInt32();
break;
}
case 122: {
OneStarCondition = input.ReadString();
break;
}
case 130: {
TwoStarCondition = input.ReadString();
break;
}
case 138: {
ThreeStarCondition = input.ReadString();
break;
}
case 144: {
DropId = input.ReadInt32();
break;
}
case 152: {
EnergyConsume = input.ReadInt32();
break;
}
case 162: {
BaseAwardPreview = input.ReadString();
break;
}
case 168: {
EntryGroupId1 = input.ReadInt32();
break;
}
case 176: {
EntryGroupLevel1 = input.ReadInt32();
break;
}
case 184: {
EntryGroupId2 = input.ReadInt32();
break;
}
case 192: {
EntryGroupLevel2 = input.ReadInt32();
break;
}
case 200: {
EntryGroupId3 = input.ReadInt32();
break;
}
case 208: {
EntryGroupLevel3 = input.ReadInt32();
break;
}
case 216: {
EntryGroupId4 = input.ReadInt32();
break;
}
case 224: {
EntryGroupLevel4 = input.ReadInt32();
break;
}
case 232: {
EntryGroupId5 = input.ReadInt32();
break;
}
case 240: {
EntryGroupLevel5 = input.ReadInt32();
break;
}
case 250:
case 248: {
extraDropPreview_.AddEntriesFrom(input, _repeated_extraDropPreview_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: {
RegionBossId = input.ReadInt32();
break;
}
case 24: {
Difficulty = input.ReadInt32();
break;
}
case 32: {
RegionType = input.ReadInt32();
break;
}
case 42: {
Name = input.ReadString();
break;
}
case 50: {
Desc = input.ReadString();
break;
}
case 58: {
Icon = input.ReadString();
break;
}
case 64: {
SuggestedPower = input.ReadInt32();
break;
}
case 72: {
PreLevelId = input.ReadInt32();
break;
}
case 80: {
BossShowTime = input.ReadInt32();
break;
}
case 88: {
PreLevelStar = input.ReadInt32();
break;
}
case 96: {
NeedWorldClass = input.ReadInt32();
break;
}
case 104: {
NeedRoguelike = input.ReadInt32();
break;
}
case 112: {
FloorId = input.ReadInt32();
break;
}
case 122: {
OneStarCondition = input.ReadString();
break;
}
case 130: {
TwoStarCondition = input.ReadString();
break;
}
case 138: {
ThreeStarCondition = input.ReadString();
break;
}
case 144: {
DropId = input.ReadInt32();
break;
}
case 152: {
EnergyConsume = input.ReadInt32();
break;
}
case 162: {
BaseAwardPreview = input.ReadString();
break;
}
case 168: {
EntryGroupId1 = input.ReadInt32();
break;
}
case 176: {
EntryGroupLevel1 = input.ReadInt32();
break;
}
case 184: {
EntryGroupId2 = input.ReadInt32();
break;
}
case 192: {
EntryGroupLevel2 = input.ReadInt32();
break;
}
case 200: {
EntryGroupId3 = input.ReadInt32();
break;
}
case 208: {
EntryGroupLevel3 = input.ReadInt32();
break;
}
case 216: {
EntryGroupId4 = input.ReadInt32();
break;
}
case 224: {
EntryGroupLevel4 = input.ReadInt32();
break;
}
case 232: {
EntryGroupId5 = input.ReadInt32();
break;
}
case 240: {
EntryGroupLevel5 = input.ReadInt32();
break;
}
case 250:
case 248: {
extraDropPreview_.AddEntriesFrom(ref input, _repeated_extraDropPreview_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code