Files
Novaria/Novaria.Common/Protos/StarTowerFloorSet.cs

609 lines
21 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StarTowerFloorSet.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 StarTowerFloorSet.proto</summary>
public static partial class StarTowerFloorSetReflection {
#region Descriptor
/// <summary>File descriptor for StarTowerFloorSet.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StarTowerFloorSetReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdTdGFyVG93ZXJGbG9vclNldC5wcm90byKEAgoRU3RhclRvd2VyRmxvb3JT",
"ZXQSCgoCaWQYASABKAUSEgoKYmF0dGxlX2x2cxgCIAEoBRINCgVzdGFnZRgD",
"IAMoBRIRCglyb29tX3R5cGUYBCABKAUSDwoHbWFwX2lfZBgFIAMoBRIRCglm",
"bG9vcl9pX2QYBiADKAUSEgoKbW9uc3Rlcl9sdhgHIAEoBRIWCg50aGVtZV9z",
"a2lsbF9sdhgIIAEoBRIOCgZ3ZWlnaHQYCSABKAUSEwoLbXV0ZXhfZ3JvdXAY",
"CiADKAUSFwoPc3BlY2lhbF9tb2RlX2lkGAsgASgFEh8KF21vbnN0ZXJfZ3Jv",
"dXBfYmxhY2tsaXN0GAwgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorSet), global::Nova.Client.StarTowerFloorSet.Parser, new[]{ "Id", "BattleLvs", "Stage", "RoomType", "MapID", "FloorID", "MonsterLv", "ThemeSkillLv", "Weight", "MutexGroup", "SpecialModeId", "MonsterGroupBlacklist" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StarTowerFloorSet : pb::IMessage<StarTowerFloorSet>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StarTowerFloorSet> _parser = new pb::MessageParser<StarTowerFloorSet>(() => new StarTowerFloorSet());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StarTowerFloorSet> 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.StarTowerFloorSetReflection.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 StarTowerFloorSet() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerFloorSet(StarTowerFloorSet other) : this() {
id_ = other.id_;
battleLvs_ = other.battleLvs_;
stage_ = other.stage_.Clone();
roomType_ = other.roomType_;
mapID_ = other.mapID_.Clone();
floorID_ = other.floorID_.Clone();
monsterLv_ = other.monsterLv_;
themeSkillLv_ = other.themeSkillLv_;
weight_ = other.weight_;
mutexGroup_ = other.mutexGroup_.Clone();
specialModeId_ = other.specialModeId_;
monsterGroupBlacklist_ = other.monsterGroupBlacklist_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerFloorSet Clone() {
return new StarTowerFloorSet(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 "battle_lvs" field.</summary>
public const int BattleLvsFieldNumber = 2;
private int battleLvs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int BattleLvs {
get { return battleLvs_; }
set {
battleLvs_ = value;
}
}
/// <summary>Field number for the "stage" field.</summary>
public const int StageFieldNumber = 3;
private static readonly pb::FieldCodec<int> _repeated_stage_codec
= pb::FieldCodec.ForInt32(26);
private readonly pbc::RepeatedField<int> stage_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> Stage {
get { return stage_; }
}
/// <summary>Field number for the "room_type" field.</summary>
public const int RoomTypeFieldNumber = 4;
private int roomType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RoomType {
get { return roomType_; }
set {
roomType_ = value;
}
}
/// <summary>Field number for the "map_i_d" field.</summary>
public const int MapIDFieldNumber = 5;
private static readonly pb::FieldCodec<int> _repeated_mapID_codec
= pb::FieldCodec.ForInt32(42);
private readonly pbc::RepeatedField<int> mapID_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> MapID {
get { return mapID_; }
}
/// <summary>Field number for the "floor_i_d" field.</summary>
public const int FloorIDFieldNumber = 6;
private static readonly pb::FieldCodec<int> _repeated_floorID_codec
= pb::FieldCodec.ForInt32(50);
private readonly pbc::RepeatedField<int> floorID_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> FloorID {
get { return floorID_; }
}
/// <summary>Field number for the "monster_lv" field.</summary>
public const int MonsterLvFieldNumber = 7;
private int monsterLv_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MonsterLv {
get { return monsterLv_; }
set {
monsterLv_ = value;
}
}
/// <summary>Field number for the "theme_skill_lv" field.</summary>
public const int ThemeSkillLvFieldNumber = 8;
private int themeSkillLv_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ThemeSkillLv {
get { return themeSkillLv_; }
set {
themeSkillLv_ = value;
}
}
/// <summary>Field number for the "weight" field.</summary>
public const int WeightFieldNumber = 9;
private int weight_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Weight {
get { return weight_; }
set {
weight_ = value;
}
}
/// <summary>Field number for the "mutex_group" field.</summary>
public const int MutexGroupFieldNumber = 10;
private static readonly pb::FieldCodec<int> _repeated_mutexGroup_codec
= pb::FieldCodec.ForInt32(82);
private readonly pbc::RepeatedField<int> mutexGroup_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> MutexGroup {
get { return mutexGroup_; }
}
/// <summary>Field number for the "special_mode_id" field.</summary>
public const int SpecialModeIdFieldNumber = 11;
private int specialModeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SpecialModeId {
get { return specialModeId_; }
set {
specialModeId_ = value;
}
}
/// <summary>Field number for the "monster_group_blacklist" field.</summary>
public const int MonsterGroupBlacklistFieldNumber = 12;
private static readonly pb::FieldCodec<int> _repeated_monsterGroupBlacklist_codec
= pb::FieldCodec.ForInt32(98);
private readonly pbc::RepeatedField<int> monsterGroupBlacklist_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> MonsterGroupBlacklist {
get { return monsterGroupBlacklist_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StarTowerFloorSet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StarTowerFloorSet other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (BattleLvs != other.BattleLvs) return false;
if(!stage_.Equals(other.stage_)) return false;
if (RoomType != other.RoomType) return false;
if(!mapID_.Equals(other.mapID_)) return false;
if(!floorID_.Equals(other.floorID_)) return false;
if (MonsterLv != other.MonsterLv) return false;
if (ThemeSkillLv != other.ThemeSkillLv) return false;
if (Weight != other.Weight) return false;
if(!mutexGroup_.Equals(other.mutexGroup_)) return false;
if (SpecialModeId != other.SpecialModeId) return false;
if(!monsterGroupBlacklist_.Equals(other.monsterGroupBlacklist_)) 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 (BattleLvs != 0) hash ^= BattleLvs.GetHashCode();
hash ^= stage_.GetHashCode();
if (RoomType != 0) hash ^= RoomType.GetHashCode();
hash ^= mapID_.GetHashCode();
hash ^= floorID_.GetHashCode();
if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode();
if (ThemeSkillLv != 0) hash ^= ThemeSkillLv.GetHashCode();
if (Weight != 0) hash ^= Weight.GetHashCode();
hash ^= mutexGroup_.GetHashCode();
if (SpecialModeId != 0) hash ^= SpecialModeId.GetHashCode();
hash ^= monsterGroupBlacklist_.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 (BattleLvs != 0) {
output.WriteRawTag(16);
output.WriteInt32(BattleLvs);
}
stage_.WriteTo(output, _repeated_stage_codec);
if (RoomType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RoomType);
}
mapID_.WriteTo(output, _repeated_mapID_codec);
floorID_.WriteTo(output, _repeated_floorID_codec);
if (MonsterLv != 0) {
output.WriteRawTag(56);
output.WriteInt32(MonsterLv);
}
if (ThemeSkillLv != 0) {
output.WriteRawTag(64);
output.WriteInt32(ThemeSkillLv);
}
if (Weight != 0) {
output.WriteRawTag(72);
output.WriteInt32(Weight);
}
mutexGroup_.WriteTo(output, _repeated_mutexGroup_codec);
if (SpecialModeId != 0) {
output.WriteRawTag(88);
output.WriteInt32(SpecialModeId);
}
monsterGroupBlacklist_.WriteTo(output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) {
output.WriteRawTag(16);
output.WriteInt32(BattleLvs);
}
stage_.WriteTo(ref output, _repeated_stage_codec);
if (RoomType != 0) {
output.WriteRawTag(32);
output.WriteInt32(RoomType);
}
mapID_.WriteTo(ref output, _repeated_mapID_codec);
floorID_.WriteTo(ref output, _repeated_floorID_codec);
if (MonsterLv != 0) {
output.WriteRawTag(56);
output.WriteInt32(MonsterLv);
}
if (ThemeSkillLv != 0) {
output.WriteRawTag(64);
output.WriteInt32(ThemeSkillLv);
}
if (Weight != 0) {
output.WriteRawTag(72);
output.WriteInt32(Weight);
}
mutexGroup_.WriteTo(ref output, _repeated_mutexGroup_codec);
if (SpecialModeId != 0) {
output.WriteRawTag(88);
output.WriteInt32(SpecialModeId);
}
monsterGroupBlacklist_.WriteTo(ref output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleLvs);
}
size += stage_.CalculateSize(_repeated_stage_codec);
if (RoomType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType);
}
size += mapID_.CalculateSize(_repeated_mapID_codec);
size += floorID_.CalculateSize(_repeated_floorID_codec);
if (MonsterLv != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv);
}
if (ThemeSkillLv != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThemeSkillLv);
}
if (Weight != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight);
}
size += mutexGroup_.CalculateSize(_repeated_mutexGroup_codec);
if (SpecialModeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpecialModeId);
}
size += monsterGroupBlacklist_.CalculateSize(_repeated_monsterGroupBlacklist_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StarTowerFloorSet other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.BattleLvs != 0) {
BattleLvs = other.BattleLvs;
}
stage_.Add(other.stage_);
if (other.RoomType != 0) {
RoomType = other.RoomType;
}
mapID_.Add(other.mapID_);
floorID_.Add(other.floorID_);
if (other.MonsterLv != 0) {
MonsterLv = other.MonsterLv;
}
if (other.ThemeSkillLv != 0) {
ThemeSkillLv = other.ThemeSkillLv;
}
if (other.Weight != 0) {
Weight = other.Weight;
}
mutexGroup_.Add(other.mutexGroup_);
if (other.SpecialModeId != 0) {
SpecialModeId = other.SpecialModeId;
}
monsterGroupBlacklist_.Add(other.monsterGroupBlacklist_);
_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: {
BattleLvs = input.ReadInt32();
break;
}
case 26:
case 24: {
stage_.AddEntriesFrom(input, _repeated_stage_codec);
break;
}
case 32: {
RoomType = input.ReadInt32();
break;
}
case 42:
case 40: {
mapID_.AddEntriesFrom(input, _repeated_mapID_codec);
break;
}
case 50:
case 48: {
floorID_.AddEntriesFrom(input, _repeated_floorID_codec);
break;
}
case 56: {
MonsterLv = input.ReadInt32();
break;
}
case 64: {
ThemeSkillLv = input.ReadInt32();
break;
}
case 72: {
Weight = input.ReadInt32();
break;
}
case 82:
case 80: {
mutexGroup_.AddEntriesFrom(input, _repeated_mutexGroup_codec);
break;
}
case 88: {
SpecialModeId = input.ReadInt32();
break;
}
case 98:
case 96: {
monsterGroupBlacklist_.AddEntriesFrom(input, _repeated_monsterGroupBlacklist_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: {
BattleLvs = input.ReadInt32();
break;
}
case 26:
case 24: {
stage_.AddEntriesFrom(ref input, _repeated_stage_codec);
break;
}
case 32: {
RoomType = input.ReadInt32();
break;
}
case 42:
case 40: {
mapID_.AddEntriesFrom(ref input, _repeated_mapID_codec);
break;
}
case 50:
case 48: {
floorID_.AddEntriesFrom(ref input, _repeated_floorID_codec);
break;
}
case 56: {
MonsterLv = input.ReadInt32();
break;
}
case 64: {
ThemeSkillLv = input.ReadInt32();
break;
}
case 72: {
Weight = input.ReadInt32();
break;
}
case 82:
case 80: {
mutexGroup_.AddEntriesFrom(ref input, _repeated_mutexGroup_codec);
break;
}
case 88: {
SpecialModeId = input.ReadInt32();
break;
}
case 98:
case 96: {
monsterGroupBlacklist_.AddEntriesFrom(ref input, _repeated_monsterGroupBlacklist_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code