// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: AetherDivideBattleInfo.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 AetherDivideBattleInfo.proto public static partial class AetherDivideBattleInfoReflection { #region Descriptor /// File descriptor for AetherDivideBattleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static AetherDivideBattleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxBZXRoZXJEaXZpZGVCYXR0bGVJbmZvLnByb3RvGhZBZXRoZXJBdmF0YXJJ", "bmZvLnByb3RvGhBCYXR0bGVCdWZmLnByb3RvGhZTY2VuZU1vbnN0ZXJXYXZl", "LnByb3RvIuoBChZBZXRoZXJEaXZpZGVCYXR0bGVJbmZvEhEKCWJhdHRsZV9p", "ZBgPIAEoDRItChJiYXR0bGVfYXZhdGFyX2xpc3QYCCADKAsyES5BZXRoZXJB", "dmF0YXJJbmZvEh4KCWJ1ZmZfbGlzdBgJIAMoCzILLkJhdHRsZUJ1ZmYSGQoR", "bG9naWNfcmFuZG9tX3NlZWQYASABKA0SEAoIc3RhZ2VfaWQYDiABKA0SEwoL", "TkJDS0ZER01GREIYAyABKAgSLAoRbW9uc3Rlcl93YXZlX2xpc3QYBiADKAsy", "ES5TY2VuZU1vbnN0ZXJXYXZlQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu", "UHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AetherAvatarInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleBuffReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneMonsterWaveReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherDivideBattleInfo), global::EggLink.DanhengServer.Proto.AetherDivideBattleInfo.Parser, new[]{ "BattleId", "BattleAvatarList", "BuffList", "LogicRandomSeed", "StageId", "NBCKFDGMFDB", "MonsterWaveList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class AetherDivideBattleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AetherDivideBattleInfo()); 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.AetherDivideBattleInfoReflection.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 AetherDivideBattleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AetherDivideBattleInfo(AetherDivideBattleInfo other) : this() { battleId_ = other.battleId_; battleAvatarList_ = other.battleAvatarList_.Clone(); buffList_ = other.buffList_.Clone(); logicRandomSeed_ = other.logicRandomSeed_; stageId_ = other.stageId_; nBCKFDGMFDB_ = other.nBCKFDGMFDB_; monsterWaveList_ = other.monsterWaveList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AetherDivideBattleInfo Clone() { return new AetherDivideBattleInfo(this); } /// Field number for the "battle_id" field. public const int BattleIdFieldNumber = 15; private uint battleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BattleId { get { return battleId_; } set { battleId_ = value; } } /// Field number for the "battle_avatar_list" field. public const int BattleAvatarListFieldNumber = 8; private static readonly pb::FieldCodec _repeated_battleAvatarList_codec = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.AetherAvatarInfo.Parser); private readonly pbc::RepeatedField battleAvatarList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BattleAvatarList { get { return battleAvatarList_; } } /// Field number for the "buff_list" field. public const int BuffListFieldNumber = 9; private static readonly pb::FieldCodec _repeated_buffList_codec = pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.BattleBuff.Parser); private readonly pbc::RepeatedField buffList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BuffList { get { return buffList_; } } /// Field number for the "logic_random_seed" field. public const int LogicRandomSeedFieldNumber = 1; private uint logicRandomSeed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LogicRandomSeed { get { return logicRandomSeed_; } set { logicRandomSeed_ = value; } } /// Field number for the "stage_id" field. public const int StageIdFieldNumber = 14; private uint stageId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint StageId { get { return stageId_; } set { stageId_ = value; } } /// Field number for the "NBCKFDGMFDB" field. public const int NBCKFDGMFDBFieldNumber = 3; private bool nBCKFDGMFDB_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool NBCKFDGMFDB { get { return nBCKFDGMFDB_; } set { nBCKFDGMFDB_ = value; } } /// Field number for the "monster_wave_list" field. public const int MonsterWaveListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_monsterWaveList_codec = pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.SceneMonsterWave.Parser); private readonly pbc::RepeatedField monsterWaveList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MonsterWaveList { get { return monsterWaveList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AetherDivideBattleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AetherDivideBattleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (BattleId != other.BattleId) return false; if(!battleAvatarList_.Equals(other.battleAvatarList_)) return false; if(!buffList_.Equals(other.buffList_)) return false; if (LogicRandomSeed != other.LogicRandomSeed) return false; if (StageId != other.StageId) return false; if (NBCKFDGMFDB != other.NBCKFDGMFDB) return false; if(!monsterWaveList_.Equals(other.monsterWaveList_)) 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 (BattleId != 0) hash ^= BattleId.GetHashCode(); hash ^= battleAvatarList_.GetHashCode(); hash ^= buffList_.GetHashCode(); if (LogicRandomSeed != 0) hash ^= LogicRandomSeed.GetHashCode(); if (StageId != 0) hash ^= StageId.GetHashCode(); if (NBCKFDGMFDB != false) hash ^= NBCKFDGMFDB.GetHashCode(); hash ^= monsterWaveList_.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 (LogicRandomSeed != 0) { output.WriteRawTag(8); output.WriteUInt32(LogicRandomSeed); } if (NBCKFDGMFDB != false) { output.WriteRawTag(24); output.WriteBool(NBCKFDGMFDB); } monsterWaveList_.WriteTo(output, _repeated_monsterWaveList_codec); battleAvatarList_.WriteTo(output, _repeated_battleAvatarList_codec); buffList_.WriteTo(output, _repeated_buffList_codec); if (StageId != 0) { output.WriteRawTag(112); output.WriteUInt32(StageId); } if (BattleId != 0) { output.WriteRawTag(120); output.WriteUInt32(BattleId); } 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 (LogicRandomSeed != 0) { output.WriteRawTag(8); output.WriteUInt32(LogicRandomSeed); } if (NBCKFDGMFDB != false) { output.WriteRawTag(24); output.WriteBool(NBCKFDGMFDB); } monsterWaveList_.WriteTo(ref output, _repeated_monsterWaveList_codec); battleAvatarList_.WriteTo(ref output, _repeated_battleAvatarList_codec); buffList_.WriteTo(ref output, _repeated_buffList_codec); if (StageId != 0) { output.WriteRawTag(112); output.WriteUInt32(StageId); } if (BattleId != 0) { output.WriteRawTag(120); output.WriteUInt32(BattleId); } 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 (BattleId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleId); } size += battleAvatarList_.CalculateSize(_repeated_battleAvatarList_codec); size += buffList_.CalculateSize(_repeated_buffList_codec); if (LogicRandomSeed != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LogicRandomSeed); } if (StageId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StageId); } if (NBCKFDGMFDB != false) { size += 1 + 1; } size += monsterWaveList_.CalculateSize(_repeated_monsterWaveList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AetherDivideBattleInfo other) { if (other == null) { return; } if (other.BattleId != 0) { BattleId = other.BattleId; } battleAvatarList_.Add(other.battleAvatarList_); buffList_.Add(other.buffList_); if (other.LogicRandomSeed != 0) { LogicRandomSeed = other.LogicRandomSeed; } if (other.StageId != 0) { StageId = other.StageId; } if (other.NBCKFDGMFDB != false) { NBCKFDGMFDB = other.NBCKFDGMFDB; } monsterWaveList_.Add(other.monsterWaveList_); _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 8: { LogicRandomSeed = input.ReadUInt32(); break; } case 24: { NBCKFDGMFDB = input.ReadBool(); break; } case 50: { monsterWaveList_.AddEntriesFrom(input, _repeated_monsterWaveList_codec); break; } case 66: { battleAvatarList_.AddEntriesFrom(input, _repeated_battleAvatarList_codec); break; } case 74: { buffList_.AddEntriesFrom(input, _repeated_buffList_codec); break; } case 112: { StageId = input.ReadUInt32(); break; } case 120: { BattleId = input.ReadUInt32(); 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 8: { LogicRandomSeed = input.ReadUInt32(); break; } case 24: { NBCKFDGMFDB = input.ReadBool(); break; } case 50: { monsterWaveList_.AddEntriesFrom(ref input, _repeated_monsterWaveList_codec); break; } case 66: { battleAvatarList_.AddEntriesFrom(ref input, _repeated_battleAvatarList_codec); break; } case 74: { buffList_.AddEntriesFrom(ref input, _repeated_buffList_codec); break; } case 112: { StageId = input.ReadUInt32(); break; } case 120: { BattleId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code