// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: BattleRogueMagicUnit.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 BattleRogueMagicUnit.proto public static partial class BattleRogueMagicUnitReflection { #region Descriptor /// File descriptor for BattleRogueMagicUnit.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static BattleRogueMagicUnitReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpCYXR0bGVSb2d1ZU1hZ2ljVW5pdC5wcm90byLYAQoUQmF0dGxlUm9ndWVN", "YWdpY1VuaXQSFQoNbWFnaWNfdW5pdF9pZBgBIAEoDRINCgVsZXZlbBgCIAEo", "DRITCgtEQ0VETkdMQU9KSRgDIAEoCBIUCgxkaWNlX3Nsb3RfaWQYBCABKA0S", "OwoLSEdPQ01LTUZOREcYBSADKAsyJi5CYXR0bGVSb2d1ZU1hZ2ljVW5pdC5I", "R09DTUtNRk5ER0VudHJ5GjIKEEhHT0NNS01GTkRHRW50cnkSCwoDa2V5GAEg", "ASgNEg0KBXZhbHVlGAIgASgNOgI4AUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy", "dmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit), global::EggLink.DanhengServer.Proto.BattleRogueMagicUnit.Parser, new[]{ "MagicUnitId", "Level", "DCEDNGLAOJI", "DiceSlotId", "HGOCMKMFNDG" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BattleRogueMagicUnit : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattleRogueMagicUnit()); 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.BattleRogueMagicUnitReflection.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 BattleRogueMagicUnit() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRogueMagicUnit(BattleRogueMagicUnit other) : this() { magicUnitId_ = other.magicUnitId_; level_ = other.level_; dCEDNGLAOJI_ = other.dCEDNGLAOJI_; diceSlotId_ = other.diceSlotId_; hGOCMKMFNDG_ = other.hGOCMKMFNDG_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRogueMagicUnit Clone() { return new BattleRogueMagicUnit(this); } /// Field number for the "magic_unit_id" field. public const int MagicUnitIdFieldNumber = 1; private uint magicUnitId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MagicUnitId { get { return magicUnitId_; } set { magicUnitId_ = value; } } /// Field number for the "level" field. public const int LevelFieldNumber = 2; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = value; } } /// Field number for the "DCEDNGLAOJI" field. public const int DCEDNGLAOJIFieldNumber = 3; private bool dCEDNGLAOJI_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DCEDNGLAOJI { get { return dCEDNGLAOJI_; } set { dCEDNGLAOJI_ = value; } } /// Field number for the "dice_slot_id" field. public const int DiceSlotIdFieldNumber = 4; private uint diceSlotId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DiceSlotId { get { return diceSlotId_; } set { diceSlotId_ = value; } } /// Field number for the "HGOCMKMFNDG" field. public const int HGOCMKMFNDGFieldNumber = 5; private static readonly pbc::MapField.Codec _map_hGOCMKMFNDG_codec = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 42); private readonly pbc::MapField hGOCMKMFNDG_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField HGOCMKMFNDG { get { return hGOCMKMFNDG_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BattleRogueMagicUnit); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BattleRogueMagicUnit other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (MagicUnitId != other.MagicUnitId) return false; if (Level != other.Level) return false; if (DCEDNGLAOJI != other.DCEDNGLAOJI) return false; if (DiceSlotId != other.DiceSlotId) return false; if (!HGOCMKMFNDG.Equals(other.HGOCMKMFNDG)) 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 (MagicUnitId != 0) hash ^= MagicUnitId.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (DCEDNGLAOJI != false) hash ^= DCEDNGLAOJI.GetHashCode(); if (DiceSlotId != 0) hash ^= DiceSlotId.GetHashCode(); hash ^= HGOCMKMFNDG.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 (MagicUnitId != 0) { output.WriteRawTag(8); output.WriteUInt32(MagicUnitId); } if (Level != 0) { output.WriteRawTag(16); output.WriteUInt32(Level); } if (DCEDNGLAOJI != false) { output.WriteRawTag(24); output.WriteBool(DCEDNGLAOJI); } if (DiceSlotId != 0) { output.WriteRawTag(32); output.WriteUInt32(DiceSlotId); } hGOCMKMFNDG_.WriteTo(output, _map_hGOCMKMFNDG_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 (MagicUnitId != 0) { output.WriteRawTag(8); output.WriteUInt32(MagicUnitId); } if (Level != 0) { output.WriteRawTag(16); output.WriteUInt32(Level); } if (DCEDNGLAOJI != false) { output.WriteRawTag(24); output.WriteBool(DCEDNGLAOJI); } if (DiceSlotId != 0) { output.WriteRawTag(32); output.WriteUInt32(DiceSlotId); } hGOCMKMFNDG_.WriteTo(ref output, _map_hGOCMKMFNDG_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 (MagicUnitId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MagicUnitId); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (DCEDNGLAOJI != false) { size += 1 + 1; } if (DiceSlotId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId); } size += hGOCMKMFNDG_.CalculateSize(_map_hGOCMKMFNDG_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BattleRogueMagicUnit other) { if (other == null) { return; } if (other.MagicUnitId != 0) { MagicUnitId = other.MagicUnitId; } if (other.Level != 0) { Level = other.Level; } if (other.DCEDNGLAOJI != false) { DCEDNGLAOJI = other.DCEDNGLAOJI; } if (other.DiceSlotId != 0) { DiceSlotId = other.DiceSlotId; } hGOCMKMFNDG_.MergeFrom(other.hGOCMKMFNDG_); _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: { MagicUnitId = input.ReadUInt32(); break; } case 16: { Level = input.ReadUInt32(); break; } case 24: { DCEDNGLAOJI = input.ReadBool(); break; } case 32: { DiceSlotId = input.ReadUInt32(); break; } case 42: { hGOCMKMFNDG_.AddEntriesFrom(input, _map_hGOCMKMFNDG_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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { MagicUnitId = input.ReadUInt32(); break; } case 16: { Level = input.ReadUInt32(); break; } case 24: { DCEDNGLAOJI = input.ReadBool(); break; } case 32: { DiceSlotId = input.ReadUInt32(); break; } case 42: { hGOCMKMFNDG_.AddEntriesFrom(ref input, _map_hGOCMKMFNDG_codec); break; } } } } #endif } #endregion } #endregion Designer generated code