// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SceneMonsterWave.proto // #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 { /// Holder for reflection information generated from SceneMonsterWave.proto public static partial class SceneMonsterWaveReflection { #region Descriptor /// File descriptor for SceneMonsterWave.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SceneMonsterWaveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChZTY2VuZU1vbnN0ZXJXYXZlLnByb3RvGhtTY2VuZU1vbnN0ZXJXYXZlUGFy", "YW0ucHJvdG8aElNjZW5lTW9uc3Rlci5wcm90bxoOSXRlbUxpc3QucHJvdG8i", "twEKEFNjZW5lTW9uc3RlcldhdmUSIwoMbW9uc3Rlcl9saXN0GAQgAygLMg0u", "U2NlbmVNb25zdGVyEhYKDmJhdHRsZV93YXZlX2lkGAkgASgNEi0KDW1vbnN0", "ZXJfcGFyYW0YDSABKAsyFi5TY2VuZU1vbnN0ZXJXYXZlUGFyYW0SHgoLSkNE", "TEpHSEhBT0YYCyADKAsyCS5JdGVtTGlzdBIXCg9iYXR0bGVfc3RhZ2VfaWQY", "CCABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SceneMonsterWaveParamReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneMonsterWave), global::EggLink.DanhengServer.Proto.SceneMonsterWave.Parser, new[]{ "MonsterList", "BattleWaveId", "MonsterParam", "JCDLJGHHAOF", "BattleStageId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SceneMonsterWave : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SceneMonsterWave()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.SceneMonsterWaveReflection.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 SceneMonsterWave() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SceneMonsterWave(SceneMonsterWave other) : this() { monsterList_ = other.monsterList_.Clone(); battleWaveId_ = other.battleWaveId_; monsterParam_ = other.monsterParam_ != null ? other.monsterParam_.Clone() : null; jCDLJGHHAOF_ = other.jCDLJGHHAOF_.Clone(); battleStageId_ = other.battleStageId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SceneMonsterWave Clone() { return new SceneMonsterWave(this); } /// Field number for the "monster_list" field. public const int MonsterListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_monsterList_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.SceneMonster.Parser); private readonly pbc::RepeatedField monsterList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MonsterList { get { return monsterList_; } } /// Field number for the "battle_wave_id" field. public const int BattleWaveIdFieldNumber = 9; private uint battleWaveId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BattleWaveId { get { return battleWaveId_; } set { battleWaveId_ = value; } } /// Field number for the "monster_param" field. public const int MonsterParamFieldNumber = 13; private global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam monsterParam_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam MonsterParam { get { return monsterParam_; } set { monsterParam_ = value; } } /// Field number for the "JCDLJGHHAOF" field. public const int JCDLJGHHAOFFieldNumber = 11; private static readonly pb::FieldCodec _repeated_jCDLJGHHAOF_codec = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.ItemList.Parser); private readonly pbc::RepeatedField jCDLJGHHAOF_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField JCDLJGHHAOF { get { return jCDLJGHHAOF_; } } /// Field number for the "battle_stage_id" field. public const int BattleStageIdFieldNumber = 8; private uint battleStageId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BattleStageId { get { return battleStageId_; } set { battleStageId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SceneMonsterWave); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SceneMonsterWave other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!monsterList_.Equals(other.monsterList_)) return false; if (BattleWaveId != other.BattleWaveId) return false; if (!object.Equals(MonsterParam, other.MonsterParam)) return false; if(!jCDLJGHHAOF_.Equals(other.jCDLJGHHAOF_)) return false; if (BattleStageId != other.BattleStageId) 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 ^= monsterList_.GetHashCode(); if (BattleWaveId != 0) hash ^= BattleWaveId.GetHashCode(); if (monsterParam_ != null) hash ^= MonsterParam.GetHashCode(); hash ^= jCDLJGHHAOF_.GetHashCode(); if (BattleStageId != 0) hash ^= BattleStageId.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 monsterList_.WriteTo(output, _repeated_monsterList_codec); if (BattleStageId != 0) { output.WriteRawTag(64); output.WriteUInt32(BattleStageId); } if (BattleWaveId != 0) { output.WriteRawTag(72); output.WriteUInt32(BattleWaveId); } jCDLJGHHAOF_.WriteTo(output, _repeated_jCDLJGHHAOF_codec); if (monsterParam_ != null) { output.WriteRawTag(106); output.WriteMessage(MonsterParam); } 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) { monsterList_.WriteTo(ref output, _repeated_monsterList_codec); if (BattleStageId != 0) { output.WriteRawTag(64); output.WriteUInt32(BattleStageId); } if (BattleWaveId != 0) { output.WriteRawTag(72); output.WriteUInt32(BattleWaveId); } jCDLJGHHAOF_.WriteTo(ref output, _repeated_jCDLJGHHAOF_codec); if (monsterParam_ != null) { output.WriteRawTag(106); output.WriteMessage(MonsterParam); } 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 += monsterList_.CalculateSize(_repeated_monsterList_codec); if (BattleWaveId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleWaveId); } if (monsterParam_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterParam); } size += jCDLJGHHAOF_.CalculateSize(_repeated_jCDLJGHHAOF_codec); if (BattleStageId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleStageId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SceneMonsterWave other) { if (other == null) { return; } monsterList_.Add(other.monsterList_); if (other.BattleWaveId != 0) { BattleWaveId = other.BattleWaveId; } if (other.monsterParam_ != null) { if (monsterParam_ == null) { MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam(); } MonsterParam.MergeFrom(other.MonsterParam); } jCDLJGHHAOF_.Add(other.jCDLJGHHAOF_); if (other.BattleStageId != 0) { BattleStageId = other.BattleStageId; } _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 34: { monsterList_.AddEntriesFrom(input, _repeated_monsterList_codec); break; } case 64: { BattleStageId = input.ReadUInt32(); break; } case 72: { BattleWaveId = input.ReadUInt32(); break; } case 90: { jCDLJGHHAOF_.AddEntriesFrom(input, _repeated_jCDLJGHHAOF_codec); break; } case 106: { if (monsterParam_ == null) { MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam(); } input.ReadMessage(MonsterParam); 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 34: { monsterList_.AddEntriesFrom(ref input, _repeated_monsterList_codec); break; } case 64: { BattleStageId = input.ReadUInt32(); break; } case 72: { BattleWaveId = input.ReadUInt32(); break; } case 90: { jCDLJGHHAOF_.AddEntriesFrom(ref input, _repeated_jCDLJGHHAOF_codec); break; } case 106: { if (monsterParam_ == null) { MonsterParam = new global::EggLink.DanhengServer.Proto.SceneMonsterWaveParam(); } input.ReadMessage(MonsterParam); break; } } } } #endif } #endregion } #endregion Designer generated code