// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueMagicUnitSelectInfo.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 RogueMagicUnitSelectInfo.proto public static partial class RogueMagicUnitSelectInfoReflection { #region Descriptor /// File descriptor for RogueMagicUnitSelectInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueMagicUnitSelectInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch5Sb2d1ZU1hZ2ljVW5pdFNlbGVjdEluZm8ucHJvdG8aGFJvZ3VlTWFnaWNH", "YW1lVW5pdC5wcm90byK/AQoYUm9ndWVNYWdpY1VuaXRTZWxlY3RJbmZvEhYK", "DnNvdXJjZV9oaW50X2lkGAEgASgNEhgKEHNvdXJjZV9jdXJfY291bnQYCSAB", "KA0SLwoSc2VsZWN0X21hZ2ljX3VuaXRzGAQgAygLMhMuUm9ndWVNYWdpY0dh", "bWVVbml0EhYKDnNlbGVjdF9oaW50X2lkGAwgASgNEigKC0ZHREpBTUhPS0lG", "GAggASgLMhMuUm9ndWVNYWdpY0dhbWVVbml0Qh6qAhtFZ2dMaW5rLkRhbmhl", "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueMagicGameUnitReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMagicUnitSelectInfo), global::EggLink.DanhengServer.Proto.RogueMagicUnitSelectInfo.Parser, new[]{ "SourceHintId", "SourceCurCount", "SelectMagicUnits", "SelectHintId", "FGDJAMHOKIF" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueMagicUnitSelectInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueMagicUnitSelectInfo()); 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.RogueMagicUnitSelectInfoReflection.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 RogueMagicUnitSelectInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMagicUnitSelectInfo(RogueMagicUnitSelectInfo other) : this() { sourceHintId_ = other.sourceHintId_; sourceCurCount_ = other.sourceCurCount_; selectMagicUnits_ = other.selectMagicUnits_.Clone(); selectHintId_ = other.selectHintId_; fGDJAMHOKIF_ = other.fGDJAMHOKIF_ != null ? other.fGDJAMHOKIF_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMagicUnitSelectInfo Clone() { return new RogueMagicUnitSelectInfo(this); } /// Field number for the "source_hint_id" field. public const int SourceHintIdFieldNumber = 1; private uint sourceHintId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SourceHintId { get { return sourceHintId_; } set { sourceHintId_ = value; } } /// Field number for the "source_cur_count" field. public const int SourceCurCountFieldNumber = 9; private uint sourceCurCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SourceCurCount { get { return sourceCurCount_; } set { sourceCurCount_ = value; } } /// Field number for the "select_magic_units" field. public const int SelectMagicUnitsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_selectMagicUnits_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.RogueMagicGameUnit.Parser); private readonly pbc::RepeatedField selectMagicUnits_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField SelectMagicUnits { get { return selectMagicUnits_; } } /// Field number for the "select_hint_id" field. public const int SelectHintIdFieldNumber = 12; private uint selectHintId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SelectHintId { get { return selectHintId_; } set { selectHintId_ = value; } } /// Field number for the "FGDJAMHOKIF" field. public const int FGDJAMHOKIFFieldNumber = 8; private global::EggLink.DanhengServer.Proto.RogueMagicGameUnit fGDJAMHOKIF_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueMagicGameUnit FGDJAMHOKIF { get { return fGDJAMHOKIF_; } set { fGDJAMHOKIF_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueMagicUnitSelectInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueMagicUnitSelectInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SourceHintId != other.SourceHintId) return false; if (SourceCurCount != other.SourceCurCount) return false; if(!selectMagicUnits_.Equals(other.selectMagicUnits_)) return false; if (SelectHintId != other.SelectHintId) return false; if (!object.Equals(FGDJAMHOKIF, other.FGDJAMHOKIF)) 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 (SourceHintId != 0) hash ^= SourceHintId.GetHashCode(); if (SourceCurCount != 0) hash ^= SourceCurCount.GetHashCode(); hash ^= selectMagicUnits_.GetHashCode(); if (SelectHintId != 0) hash ^= SelectHintId.GetHashCode(); if (fGDJAMHOKIF_ != null) hash ^= FGDJAMHOKIF.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 (SourceHintId != 0) { output.WriteRawTag(8); output.WriteUInt32(SourceHintId); } selectMagicUnits_.WriteTo(output, _repeated_selectMagicUnits_codec); if (fGDJAMHOKIF_ != null) { output.WriteRawTag(66); output.WriteMessage(FGDJAMHOKIF); } if (SourceCurCount != 0) { output.WriteRawTag(72); output.WriteUInt32(SourceCurCount); } if (SelectHintId != 0) { output.WriteRawTag(96); output.WriteUInt32(SelectHintId); } 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 (SourceHintId != 0) { output.WriteRawTag(8); output.WriteUInt32(SourceHintId); } selectMagicUnits_.WriteTo(ref output, _repeated_selectMagicUnits_codec); if (fGDJAMHOKIF_ != null) { output.WriteRawTag(66); output.WriteMessage(FGDJAMHOKIF); } if (SourceCurCount != 0) { output.WriteRawTag(72); output.WriteUInt32(SourceCurCount); } if (SelectHintId != 0) { output.WriteRawTag(96); output.WriteUInt32(SelectHintId); } 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 (SourceHintId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceHintId); } if (SourceCurCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceCurCount); } size += selectMagicUnits_.CalculateSize(_repeated_selectMagicUnits_codec); if (SelectHintId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectHintId); } if (fGDJAMHOKIF_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(FGDJAMHOKIF); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueMagicUnitSelectInfo other) { if (other == null) { return; } if (other.SourceHintId != 0) { SourceHintId = other.SourceHintId; } if (other.SourceCurCount != 0) { SourceCurCount = other.SourceCurCount; } selectMagicUnits_.Add(other.selectMagicUnits_); if (other.SelectHintId != 0) { SelectHintId = other.SelectHintId; } if (other.fGDJAMHOKIF_ != null) { if (fGDJAMHOKIF_ == null) { FGDJAMHOKIF = new global::EggLink.DanhengServer.Proto.RogueMagicGameUnit(); } FGDJAMHOKIF.MergeFrom(other.FGDJAMHOKIF); } _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: { SourceHintId = input.ReadUInt32(); break; } case 34: { selectMagicUnits_.AddEntriesFrom(input, _repeated_selectMagicUnits_codec); break; } case 66: { if (fGDJAMHOKIF_ == null) { FGDJAMHOKIF = new global::EggLink.DanhengServer.Proto.RogueMagicGameUnit(); } input.ReadMessage(FGDJAMHOKIF); break; } case 72: { SourceCurCount = input.ReadUInt32(); break; } case 96: { SelectHintId = 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: { SourceHintId = input.ReadUInt32(); break; } case 34: { selectMagicUnits_.AddEntriesFrom(ref input, _repeated_selectMagicUnits_codec); break; } case 66: { if (fGDJAMHOKIF_ == null) { FGDJAMHOKIF = new global::EggLink.DanhengServer.Proto.RogueMagicGameUnit(); } input.ReadMessage(FGDJAMHOKIF); break; } case 72: { SourceCurCount = input.ReadUInt32(); break; } case 96: { SelectHintId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code