// // 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", "DRITCgtLSEtOQUNGTEpORhgDIAEoCBIUCgxkaWNlX3Nsb3RfaWQYBCABKA0S", "OwoLSEdLTE9GR01MTU4YBSADKAsyJi5CYXR0bGVSb2d1ZU1hZ2ljVW5pdC5I", "R0tMT0ZHTUxNTkVudHJ5GjIKEEhHS0xPRkdNTE1ORW50cnkSCwoDa2V5GAEg", "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", "KHKNACFLJNF", "DiceSlotId", "HGKLOFGMLMN" }, 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_; kHKNACFLJNF_ = other.kHKNACFLJNF_; diceSlotId_ = other.diceSlotId_; hGKLOFGMLMN_ = other.hGKLOFGMLMN_.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 "KHKNACFLJNF" field. public const int KHKNACFLJNFFieldNumber = 3; private bool kHKNACFLJNF_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool KHKNACFLJNF { get { return kHKNACFLJNF_; } set { kHKNACFLJNF_ = 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 "HGKLOFGMLMN" field. public const int HGKLOFGMLMNFieldNumber = 5; private static readonly pbc::MapField.Codec _map_hGKLOFGMLMN_codec = new pbc::MapField.Codec(pb::FieldCodec.ForUInt32(8, 0), pb::FieldCodec.ForUInt32(16, 0), 42); private readonly pbc::MapField hGKLOFGMLMN_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField HGKLOFGMLMN { get { return hGKLOFGMLMN_; } } [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 (KHKNACFLJNF != other.KHKNACFLJNF) return false; if (DiceSlotId != other.DiceSlotId) return false; if (!HGKLOFGMLMN.Equals(other.HGKLOFGMLMN)) 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 (KHKNACFLJNF != false) hash ^= KHKNACFLJNF.GetHashCode(); if (DiceSlotId != 0) hash ^= DiceSlotId.GetHashCode(); hash ^= HGKLOFGMLMN.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 (KHKNACFLJNF != false) { output.WriteRawTag(24); output.WriteBool(KHKNACFLJNF); } if (DiceSlotId != 0) { output.WriteRawTag(32); output.WriteUInt32(DiceSlotId); } hGKLOFGMLMN_.WriteTo(output, _map_hGKLOFGMLMN_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 (KHKNACFLJNF != false) { output.WriteRawTag(24); output.WriteBool(KHKNACFLJNF); } if (DiceSlotId != 0) { output.WriteRawTag(32); output.WriteUInt32(DiceSlotId); } hGKLOFGMLMN_.WriteTo(ref output, _map_hGKLOFGMLMN_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 (KHKNACFLJNF != false) { size += 1 + 1; } if (DiceSlotId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId); } size += hGKLOFGMLMN_.CalculateSize(_map_hGKLOFGMLMN_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.KHKNACFLJNF != false) { KHKNACFLJNF = other.KHKNACFLJNF; } if (other.DiceSlotId != 0) { DiceSlotId = other.DiceSlotId; } hGKLOFGMLMN_.MergeFrom(other.hGKLOFGMLMN_); _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: { KHKNACFLJNF = input.ReadBool(); break; } case 32: { DiceSlotId = input.ReadUInt32(); break; } case 42: { hGKLOFGMLMN_.AddEntriesFrom(input, _map_hGKLOFGMLMN_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: { KHKNACFLJNF = input.ReadBool(); break; } case 32: { DiceSlotId = input.ReadUInt32(); break; } case 42: { hGKLOFGMLMN_.AddEntriesFrom(ref input, _map_hGKLOFGMLMN_codec); break; } } } } #endif } #endregion } #endregion Designer generated code