// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChessRogueModifierInfo.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 ChessRogueModifierInfo.proto public static partial class ChessRogueModifierInfoReflection { #region Descriptor /// File descriptor for ChessRogueModifierInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChessRogueModifierInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxDaGVzc1JvZ3VlTW9kaWZpZXJJbmZvLnByb3RvImcKFkNoZXNzUm9ndWVN", "b2RpZmllckluZm8SFgoOc2VsZWN0X2NlbGxfaWQYASABKA0SDwoHY29uZmly", "bRgCIAEoCBIkChxtb2RpZmllcl9lZmZlY3RfY2VsbF9pZF9saXN0GAogAygN", "Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueModifierInfo), global::EggLink.DanhengServer.Proto.ChessRogueModifierInfo.Parser, new[]{ "SelectCellId", "Confirm", "ModifierEffectCellIdList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChessRogueModifierInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChessRogueModifierInfo()); 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.ChessRogueModifierInfoReflection.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 ChessRogueModifierInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueModifierInfo(ChessRogueModifierInfo other) : this() { selectCellId_ = other.selectCellId_; confirm_ = other.confirm_; modifierEffectCellIdList_ = other.modifierEffectCellIdList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueModifierInfo Clone() { return new ChessRogueModifierInfo(this); } /// Field number for the "select_cell_id" field. public const int SelectCellIdFieldNumber = 1; private uint selectCellId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SelectCellId { get { return selectCellId_; } set { selectCellId_ = value; } } /// Field number for the "confirm" field. public const int ConfirmFieldNumber = 2; private bool confirm_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Confirm { get { return confirm_; } set { confirm_ = value; } } /// Field number for the "modifier_effect_cell_id_list" field. public const int ModifierEffectCellIdListFieldNumber = 10; private static readonly pb::FieldCodec _repeated_modifierEffectCellIdList_codec = pb::FieldCodec.ForUInt32(82); private readonly pbc::RepeatedField modifierEffectCellIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ModifierEffectCellIdList { get { return modifierEffectCellIdList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChessRogueModifierInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChessRogueModifierInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SelectCellId != other.SelectCellId) return false; if (Confirm != other.Confirm) return false; if(!modifierEffectCellIdList_.Equals(other.modifierEffectCellIdList_)) 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 (SelectCellId != 0) hash ^= SelectCellId.GetHashCode(); if (Confirm != false) hash ^= Confirm.GetHashCode(); hash ^= modifierEffectCellIdList_.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 (SelectCellId != 0) { output.WriteRawTag(8); output.WriteUInt32(SelectCellId); } if (Confirm != false) { output.WriteRawTag(16); output.WriteBool(Confirm); } modifierEffectCellIdList_.WriteTo(output, _repeated_modifierEffectCellIdList_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 (SelectCellId != 0) { output.WriteRawTag(8); output.WriteUInt32(SelectCellId); } if (Confirm != false) { output.WriteRawTag(16); output.WriteBool(Confirm); } modifierEffectCellIdList_.WriteTo(ref output, _repeated_modifierEffectCellIdList_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 (SelectCellId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectCellId); } if (Confirm != false) { size += 1 + 1; } size += modifierEffectCellIdList_.CalculateSize(_repeated_modifierEffectCellIdList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChessRogueModifierInfo other) { if (other == null) { return; } if (other.SelectCellId != 0) { SelectCellId = other.SelectCellId; } if (other.Confirm != false) { Confirm = other.Confirm; } modifierEffectCellIdList_.Add(other.modifierEffectCellIdList_); _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: { SelectCellId = input.ReadUInt32(); break; } case 16: { Confirm = input.ReadBool(); break; } case 82: case 80: { modifierEffectCellIdList_.AddEntriesFrom(input, _repeated_modifierEffectCellIdList_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: { SelectCellId = input.ReadUInt32(); break; } case 16: { Confirm = input.ReadBool(); break; } case 82: case 80: { modifierEffectCellIdList_.AddEntriesFrom(ref input, _repeated_modifierEffectCellIdList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code