< Summary

Class:DCL.ECSComponents.PointerHoverFeedbackReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PointerHoverFeedback.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:855
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PointerHoverFeedbackReflection()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PointerHoverFeedback.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/pointer_hover_feedback.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/pointer_hover_feedback.proto
 15  public static partial class PointerHoverFeedbackReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/pointer_hover_feedback.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static PointerHoverFeedbackReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjhkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvcG9pbnRlcl9ob3Zlcl9m",
 28            "ZWVkYmFjay5wcm90bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzGjVk",
 29            "ZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvY29tbW9uL2lucHV0X2FjdGlv",
 30            "bi5wcm90byLiAwoWUEJQb2ludGVySG92ZXJGZWVkYmFjaxJRCg5wb2ludGVy",
 31            "X2V2ZW50cxgBIAMoCzI5LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5Q",
 32            "QlBvaW50ZXJIb3ZlckZlZWRiYWNrLkVudHJ5GtkBCgRJbmZvEkQKBmJ1dHRv",
 33            "bhgBIAEoDjIvLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5jb21tb24u",
 34            "SW5wdXRBY3Rpb25IAIgBARIXCgpob3Zlcl90ZXh0GAIgASgJSAGIAQESGQoM",
 35            "bWF4X2Rpc3RhbmNlGAMgASgCSAKIAQESGgoNc2hvd19mZWVkYmFjaxgEIAEo",
 36            "CEgDiAEBQgkKB19idXR0b25CDQoLX2hvdmVyX3RleHRCDwoNX21heF9kaXN0",
 37            "YW5jZUIQCg5fc2hvd19mZWVkYmFjaxqYAQoFRW50cnkSQQoKZXZlbnRfdHlw",
 38            "ZRgBIAEoDjItLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5Qb2ludGVy",
 39            "RXZlbnRUeXBlEkwKCmV2ZW50X2luZm8YAiABKAsyOC5kZWNlbnRyYWxhbmQu",
 40            "c2RrLmNvbXBvbmVudHMuUEJQb2ludGVySG92ZXJGZWVkYmFjay5JbmZvKlYK",
 41            "EFBvaW50ZXJFdmVudFR5cGUSCgoGUEVUX1VQEAASDAoIUEVUX0RPV04QARIT",
 42            "Cg9QRVRfSE9WRVJfRU5URVIQAhITCg9QRVRfSE9WRVJfTEVBVkUQA0IUqgIR",
 43            "RENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw=="));
 044      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 45          new pbr::FileDescriptor[] { global::DCL.ECSComponents.InputActionReflection.Descriptor, },
 46          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.PointerEventType), }, null, new pbr::Gen
 47            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerHoverFeedback), global::DCL.ECSCompo
 48            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Entry), global::
 49          }));
 050    }
 51    #endregion
 52
 53  }
 54  #region Enums
 55  public enum PointerEventType {
 56    [pbr::OriginalName("PET_UP")] PetUp = 0,
 57    [pbr::OriginalName("PET_DOWN")] PetDown = 1,
 58    [pbr::OriginalName("PET_HOVER_ENTER")] PetHoverEnter = 2,
 59    [pbr::OriginalName("PET_HOVER_LEAVE")] PetHoverLeave = 3,
 60  }
 61
 62  #endregion
 63
 64  #region Messages
 65  public sealed partial class PBPointerHoverFeedback : pb::IMessage<PBPointerHoverFeedback>
 66  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 67      , pb::IBufferMessage
 68  #endif
 69  {
 70    private static readonly pb::MessageParser<PBPointerHoverFeedback> _parser = new pb::MessageParser<PBPointerHoverFeed
 71    private pb::UnknownFieldSet _unknownFields;
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 74    public static pb::MessageParser<PBPointerHoverFeedback> Parser { get { return _parser; } }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    public static pbr::MessageDescriptor Descriptor {
 79      get { return global::DCL.ECSComponents.PointerHoverFeedbackReflection.Descriptor.MessageTypes[0]; }
 80    }
 81
 82    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 83    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 84    pbr::MessageDescriptor pb::IMessage.Descriptor {
 85      get { return Descriptor; }
 86    }
 87
 88    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 89    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 90    public PBPointerHoverFeedback() {
 91      OnConstruction();
 92    }
 93
 94    partial void OnConstruction();
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98    public PBPointerHoverFeedback(PBPointerHoverFeedback other) : this() {
 99      pointerEvents_ = other.pointerEvents_.Clone();
 100      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 101    }
 102
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public PBPointerHoverFeedback Clone() {
 106      return new PBPointerHoverFeedback(this);
 107    }
 108
 109    /// <summary>Field number for the "pointer_events" field.</summary>
 110    public const int PointerEventsFieldNumber = 1;
 111    private static readonly pb::FieldCodec<global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Entry> _repeated_point
 112        = pb::FieldCodec.ForMessage(10, global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Entry.Parser);
 113    private readonly pbc::RepeatedField<global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Entry> pointerEvents_ = n
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116    public pbc::RepeatedField<global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Entry> PointerEvents {
 117      get { return pointerEvents_; }
 118    }
 119
 120    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 121    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 122    public override bool Equals(object other) {
 123      return Equals(other as PBPointerHoverFeedback);
 124    }
 125
 126    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 127    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 128    public bool Equals(PBPointerHoverFeedback other) {
 129      if (ReferenceEquals(other, null)) {
 130        return false;
 131      }
 132      if (ReferenceEquals(other, this)) {
 133        return true;
 134      }
 135      if(!pointerEvents_.Equals(other.pointerEvents_)) return false;
 136      return Equals(_unknownFields, other._unknownFields);
 137    }
 138
 139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 141    public override int GetHashCode() {
 142      int hash = 1;
 143      hash ^= pointerEvents_.GetHashCode();
 144      if (_unknownFields != null) {
 145        hash ^= _unknownFields.GetHashCode();
 146      }
 147      return hash;
 148    }
 149
 150    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 151    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 152    public override string ToString() {
 153      return pb::JsonFormatter.ToDiagnosticString(this);
 154    }
 155
 156    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 157    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 158    public void WriteTo(pb::CodedOutputStream output) {
 159    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 160      output.WriteRawMessage(this);
 161    #else
 162      pointerEvents_.WriteTo(output, _repeated_pointerEvents_codec);
 163      if (_unknownFields != null) {
 164        _unknownFields.WriteTo(output);
 165      }
 166    #endif
 167    }
 168
 169    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 170    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 171    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 172    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 173      pointerEvents_.WriteTo(ref output, _repeated_pointerEvents_codec);
 174      if (_unknownFields != null) {
 175        _unknownFields.WriteTo(ref output);
 176      }
 177    }
 178    #endif
 179
 180    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 181    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 182    public int CalculateSize() {
 183      int size = 0;
 184      size += pointerEvents_.CalculateSize(_repeated_pointerEvents_codec);
 185      if (_unknownFields != null) {
 186        size += _unknownFields.CalculateSize();
 187      }
 188      return size;
 189    }
 190
 191    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193    public void MergeFrom(PBPointerHoverFeedback other) {
 194      if (other == null) {
 195        return;
 196      }
 197      pointerEvents_.Add(other.pointerEvents_);
 198      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 199    }
 200
 201    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 202    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 203    public void MergeFrom(pb::CodedInputStream input) {
 204    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 205      input.ReadRawMessage(this);
 206    #else
 207      uint tag;
 208      while ((tag = input.ReadTag()) != 0) {
 209        switch(tag) {
 210          default:
 211            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 212            break;
 213          case 10: {
 214            pointerEvents_.AddEntriesFrom(input, _repeated_pointerEvents_codec);
 215            break;
 216          }
 217        }
 218      }
 219    #endif
 220    }
 221
 222    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 223    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 224    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 225    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 226      uint tag;
 227      while ((tag = input.ReadTag()) != 0) {
 228        switch(tag) {
 229          default:
 230            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 231            break;
 232          case 10: {
 233            pointerEvents_.AddEntriesFrom(ref input, _repeated_pointerEvents_codec);
 234            break;
 235          }
 236        }
 237      }
 238    }
 239    #endif
 240
 241    #region Nested types
 242    /// <summary>Container for nested types declared in the PBPointerHoverFeedback message type.</summary>
 243    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 244    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 245    public static partial class Types {
 246      public sealed partial class Info : pb::IMessage<Info>
 247      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 248          , pb::IBufferMessage
 249      #endif
 250      {
 251        private static readonly pb::MessageParser<Info> _parser = new pb::MessageParser<Info>(() => new Info());
 252        private pb::UnknownFieldSet _unknownFields;
 253        private int _hasBits0;
 254        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 255        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 256        public static pb::MessageParser<Info> Parser { get { return _parser; } }
 257
 258        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 259        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 260        public static pbr::MessageDescriptor Descriptor {
 261          get { return global::DCL.ECSComponents.PBPointerHoverFeedback.Descriptor.NestedTypes[0]; }
 262        }
 263
 264        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 265        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 266        pbr::MessageDescriptor pb::IMessage.Descriptor {
 267          get { return Descriptor; }
 268        }
 269
 270        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 271        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 272        public Info() {
 273          OnConstruction();
 274        }
 275
 276        partial void OnConstruction();
 277
 278        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 279        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 280        public Info(Info other) : this() {
 281          _hasBits0 = other._hasBits0;
 282          button_ = other.button_;
 283          hoverText_ = other.hoverText_;
 284          maxDistance_ = other.maxDistance_;
 285          showFeedback_ = other.showFeedback_;
 286          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 287        }
 288
 289        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 290        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 291        public Info Clone() {
 292          return new Info(this);
 293        }
 294
 295        /// <summary>Field number for the "button" field.</summary>
 296        public const int ButtonFieldNumber = 1;
 297        private global::DCL.ECSComponents.InputAction button_;
 298        /// <summary>
 299        /// default=InputAction.ANY
 300        /// </summary>
 301        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 302        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 303        public global::DCL.ECSComponents.InputAction Button {
 304          get { if ((_hasBits0 & 1) != 0) { return button_; } else { return global::DCL.ECSComponents.InputAction.IaPoin
 305          set {
 306            _hasBits0 |= 1;
 307            button_ = value;
 308          }
 309        }
 310        /// <summary>Gets whether the "button" field is set</summary>
 311        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 312        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 313        public bool HasButton {
 314          get { return (_hasBits0 & 1) != 0; }
 315        }
 316        /// <summary>Clears the value of the "button" field</summary>
 317        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 318        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 319        public void ClearButton() {
 320          _hasBits0 &= ~1;
 321        }
 322
 323        /// <summary>Field number for the "hover_text" field.</summary>
 324        public const int HoverTextFieldNumber = 2;
 325        private string hoverText_;
 326        /// <summary>
 327        /// default='Interact'
 328        /// </summary>
 329        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 330        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 331        public string HoverText {
 332          get { return hoverText_ ?? ""; }
 333          set {
 334            hoverText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 335          }
 336        }
 337        /// <summary>Gets whether the "hover_text" field is set</summary>
 338        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 339        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 340        public bool HasHoverText {
 341          get { return hoverText_ != null; }
 342        }
 343        /// <summary>Clears the value of the "hover_text" field</summary>
 344        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 345        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 346        public void ClearHoverText() {
 347          hoverText_ = null;
 348        }
 349
 350        /// <summary>Field number for the "max_distance" field.</summary>
 351        public const int MaxDistanceFieldNumber = 3;
 352        private float maxDistance_;
 353        /// <summary>
 354        /// default=10
 355        /// </summary>
 356        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 357        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 358        public float MaxDistance {
 359          get { if ((_hasBits0 & 2) != 0) { return maxDistance_; } else { return 0F; } }
 360          set {
 361            _hasBits0 |= 2;
 362            maxDistance_ = value;
 363          }
 364        }
 365        /// <summary>Gets whether the "max_distance" field is set</summary>
 366        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 367        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 368        public bool HasMaxDistance {
 369          get { return (_hasBits0 & 2) != 0; }
 370        }
 371        /// <summary>Clears the value of the "max_distance" field</summary>
 372        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 373        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 374        public void ClearMaxDistance() {
 375          _hasBits0 &= ~2;
 376        }
 377
 378        /// <summary>Field number for the "show_feedback" field.</summary>
 379        public const int ShowFeedbackFieldNumber = 4;
 380        private bool showFeedback_;
 381        /// <summary>
 382        /// default=true
 383        /// </summary>
 384        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 385        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 386        public bool ShowFeedback {
 387          get { if ((_hasBits0 & 4) != 0) { return showFeedback_; } else { return false; } }
 388          set {
 389            _hasBits0 |= 4;
 390            showFeedback_ = value;
 391          }
 392        }
 393        /// <summary>Gets whether the "show_feedback" field is set</summary>
 394        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 395        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 396        public bool HasShowFeedback {
 397          get { return (_hasBits0 & 4) != 0; }
 398        }
 399        /// <summary>Clears the value of the "show_feedback" field</summary>
 400        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 401        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 402        public void ClearShowFeedback() {
 403          _hasBits0 &= ~4;
 404        }
 405
 406        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408        public override bool Equals(object other) {
 409          return Equals(other as Info);
 410        }
 411
 412        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 413        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 414        public bool Equals(Info other) {
 415          if (ReferenceEquals(other, null)) {
 416            return false;
 417          }
 418          if (ReferenceEquals(other, this)) {
 419            return true;
 420          }
 421          if (Button != other.Button) return false;
 422          if (HoverText != other.HoverText) return false;
 423          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxDistance, other.MaxDistance)) retu
 424          if (ShowFeedback != other.ShowFeedback) return false;
 425          return Equals(_unknownFields, other._unknownFields);
 426        }
 427
 428        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 429        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 430        public override int GetHashCode() {
 431          int hash = 1;
 432          if (HasButton) hash ^= Button.GetHashCode();
 433          if (HasHoverText) hash ^= HoverText.GetHashCode();
 434          if (HasMaxDistance) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxDistan
 435          if (HasShowFeedback) hash ^= ShowFeedback.GetHashCode();
 436          if (_unknownFields != null) {
 437            hash ^= _unknownFields.GetHashCode();
 438          }
 439          return hash;
 440        }
 441
 442        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 443        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 444        public override string ToString() {
 445          return pb::JsonFormatter.ToDiagnosticString(this);
 446        }
 447
 448        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 449        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 450        public void WriteTo(pb::CodedOutputStream output) {
 451        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 452          output.WriteRawMessage(this);
 453        #else
 454          if (HasButton) {
 455            output.WriteRawTag(8);
 456            output.WriteEnum((int) Button);
 457          }
 458          if (HasHoverText) {
 459            output.WriteRawTag(18);
 460            output.WriteString(HoverText);
 461          }
 462          if (HasMaxDistance) {
 463            output.WriteRawTag(29);
 464            output.WriteFloat(MaxDistance);
 465          }
 466          if (HasShowFeedback) {
 467            output.WriteRawTag(32);
 468            output.WriteBool(ShowFeedback);
 469          }
 470          if (_unknownFields != null) {
 471            _unknownFields.WriteTo(output);
 472          }
 473        #endif
 474        }
 475
 476        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 477        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 478        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 479        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 480          if (HasButton) {
 481            output.WriteRawTag(8);
 482            output.WriteEnum((int) Button);
 483          }
 484          if (HasHoverText) {
 485            output.WriteRawTag(18);
 486            output.WriteString(HoverText);
 487          }
 488          if (HasMaxDistance) {
 489            output.WriteRawTag(29);
 490            output.WriteFloat(MaxDistance);
 491          }
 492          if (HasShowFeedback) {
 493            output.WriteRawTag(32);
 494            output.WriteBool(ShowFeedback);
 495          }
 496          if (_unknownFields != null) {
 497            _unknownFields.WriteTo(ref output);
 498          }
 499        }
 500        #endif
 501
 502        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 503        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 504        public int CalculateSize() {
 505          int size = 0;
 506          if (HasButton) {
 507            size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Button);
 508          }
 509          if (HasHoverText) {
 510            size += 1 + pb::CodedOutputStream.ComputeStringSize(HoverText);
 511          }
 512          if (HasMaxDistance) {
 513            size += 1 + 4;
 514          }
 515          if (HasShowFeedback) {
 516            size += 1 + 1;
 517          }
 518          if (_unknownFields != null) {
 519            size += _unknownFields.CalculateSize();
 520          }
 521          return size;
 522        }
 523
 524        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 525        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 526        public void MergeFrom(Info other) {
 527          if (other == null) {
 528            return;
 529          }
 530          if (other.HasButton) {
 531            Button = other.Button;
 532          }
 533          if (other.HasHoverText) {
 534            HoverText = other.HoverText;
 535          }
 536          if (other.HasMaxDistance) {
 537            MaxDistance = other.MaxDistance;
 538          }
 539          if (other.HasShowFeedback) {
 540            ShowFeedback = other.ShowFeedback;
 541          }
 542          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 543        }
 544
 545        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 546        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 547        public void MergeFrom(pb::CodedInputStream input) {
 548        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 549          input.ReadRawMessage(this);
 550        #else
 551          uint tag;
 552          while ((tag = input.ReadTag()) != 0) {
 553            switch(tag) {
 554              default:
 555                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 556                break;
 557              case 8: {
 558                Button = (global::DCL.ECSComponents.InputAction) input.ReadEnum();
 559                break;
 560              }
 561              case 18: {
 562                HoverText = input.ReadString();
 563                break;
 564              }
 565              case 29: {
 566                MaxDistance = input.ReadFloat();
 567                break;
 568              }
 569              case 32: {
 570                ShowFeedback = input.ReadBool();
 571                break;
 572              }
 573            }
 574          }
 575        #endif
 576        }
 577
 578        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 579        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 580        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 581        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 582          uint tag;
 583          while ((tag = input.ReadTag()) != 0) {
 584            switch(tag) {
 585              default:
 586                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 587                break;
 588              case 8: {
 589                Button = (global::DCL.ECSComponents.InputAction) input.ReadEnum();
 590                break;
 591              }
 592              case 18: {
 593                HoverText = input.ReadString();
 594                break;
 595              }
 596              case 29: {
 597                MaxDistance = input.ReadFloat();
 598                break;
 599              }
 600              case 32: {
 601                ShowFeedback = input.ReadBool();
 602                break;
 603              }
 604            }
 605          }
 606        }
 607        #endif
 608
 609      }
 610
 611      public sealed partial class Entry : pb::IMessage<Entry>
 612      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 613          , pb::IBufferMessage
 614      #endif
 615      {
 616        private static readonly pb::MessageParser<Entry> _parser = new pb::MessageParser<Entry>(() => new Entry());
 617        private pb::UnknownFieldSet _unknownFields;
 618        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 619        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 620        public static pb::MessageParser<Entry> Parser { get { return _parser; } }
 621
 622        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 623        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 624        public static pbr::MessageDescriptor Descriptor {
 625          get { return global::DCL.ECSComponents.PBPointerHoverFeedback.Descriptor.NestedTypes[1]; }
 626        }
 627
 628        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630        pbr::MessageDescriptor pb::IMessage.Descriptor {
 631          get { return Descriptor; }
 632        }
 633
 634        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 636        public Entry() {
 637          OnConstruction();
 638        }
 639
 640        partial void OnConstruction();
 641
 642        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 643        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 644        public Entry(Entry other) : this() {
 645          eventType_ = other.eventType_;
 646          eventInfo_ = other.eventInfo_ != null ? other.eventInfo_.Clone() : null;
 647          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 648        }
 649
 650        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 651        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 652        public Entry Clone() {
 653          return new Entry(this);
 654        }
 655
 656        /// <summary>Field number for the "event_type" field.</summary>
 657        public const int EventTypeFieldNumber = 1;
 658        private global::DCL.ECSComponents.PointerEventType eventType_ = global::DCL.ECSComponents.PointerEventType.PetUp
 659        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 660        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 661        public global::DCL.ECSComponents.PointerEventType EventType {
 662          get { return eventType_; }
 663          set {
 664            eventType_ = value;
 665          }
 666        }
 667
 668        /// <summary>Field number for the "event_info" field.</summary>
 669        public const int EventInfoFieldNumber = 2;
 670        private global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info eventInfo_;
 671        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 672        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 673        public global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info EventInfo {
 674          get { return eventInfo_; }
 675          set {
 676            eventInfo_ = value;
 677          }
 678        }
 679
 680        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 681        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 682        public override bool Equals(object other) {
 683          return Equals(other as Entry);
 684        }
 685
 686        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 687        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 688        public bool Equals(Entry other) {
 689          if (ReferenceEquals(other, null)) {
 690            return false;
 691          }
 692          if (ReferenceEquals(other, this)) {
 693            return true;
 694          }
 695          if (EventType != other.EventType) return false;
 696          if (!object.Equals(EventInfo, other.EventInfo)) return false;
 697          return Equals(_unknownFields, other._unknownFields);
 698        }
 699
 700        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 701        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 702        public override int GetHashCode() {
 703          int hash = 1;
 704          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) hash ^= EventType.GetHashCode();
 705          if (eventInfo_ != null) hash ^= EventInfo.GetHashCode();
 706          if (_unknownFields != null) {
 707            hash ^= _unknownFields.GetHashCode();
 708          }
 709          return hash;
 710        }
 711
 712        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 713        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 714        public override string ToString() {
 715          return pb::JsonFormatter.ToDiagnosticString(this);
 716        }
 717
 718        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 719        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 720        public void WriteTo(pb::CodedOutputStream output) {
 721        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 722          output.WriteRawMessage(this);
 723        #else
 724          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 725            output.WriteRawTag(8);
 726            output.WriteEnum((int) EventType);
 727          }
 728          if (eventInfo_ != null) {
 729            output.WriteRawTag(18);
 730            output.WriteMessage(EventInfo);
 731          }
 732          if (_unknownFields != null) {
 733            _unknownFields.WriteTo(output);
 734          }
 735        #endif
 736        }
 737
 738        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 739        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 740        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 741        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 742          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 743            output.WriteRawTag(8);
 744            output.WriteEnum((int) EventType);
 745          }
 746          if (eventInfo_ != null) {
 747            output.WriteRawTag(18);
 748            output.WriteMessage(EventInfo);
 749          }
 750          if (_unknownFields != null) {
 751            _unknownFields.WriteTo(ref output);
 752          }
 753        }
 754        #endif
 755
 756        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 757        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 758        public int CalculateSize() {
 759          int size = 0;
 760          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 761            size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EventType);
 762          }
 763          if (eventInfo_ != null) {
 764            size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventInfo);
 765          }
 766          if (_unknownFields != null) {
 767            size += _unknownFields.CalculateSize();
 768          }
 769          return size;
 770        }
 771
 772        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 773        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 774        public void MergeFrom(Entry other) {
 775          if (other == null) {
 776            return;
 777          }
 778          if (other.EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 779            EventType = other.EventType;
 780          }
 781          if (other.eventInfo_ != null) {
 782            if (eventInfo_ == null) {
 783              EventInfo = new global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info();
 784            }
 785            EventInfo.MergeFrom(other.EventInfo);
 786          }
 787          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 788        }
 789
 790        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 791        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 792        public void MergeFrom(pb::CodedInputStream input) {
 793        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 794          input.ReadRawMessage(this);
 795        #else
 796          uint tag;
 797          while ((tag = input.ReadTag()) != 0) {
 798            switch(tag) {
 799              default:
 800                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 801                break;
 802              case 8: {
 803                EventType = (global::DCL.ECSComponents.PointerEventType) input.ReadEnum();
 804                break;
 805              }
 806              case 18: {
 807                if (eventInfo_ == null) {
 808                  EventInfo = new global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info();
 809                }
 810                input.ReadMessage(EventInfo);
 811                break;
 812              }
 813            }
 814          }
 815        #endif
 816        }
 817
 818        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 819        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 820        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 821        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 822          uint tag;
 823          while ((tag = input.ReadTag()) != 0) {
 824            switch(tag) {
 825              default:
 826                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 827                break;
 828              case 8: {
 829                EventType = (global::DCL.ECSComponents.PointerEventType) input.ReadEnum();
 830                break;
 831              }
 832              case 18: {
 833                if (eventInfo_ == null) {
 834                  EventInfo = new global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info();
 835                }
 836                input.ReadMessage(EventInfo);
 837                break;
 838              }
 839            }
 840          }
 841        }
 842        #endif
 843
 844      }
 845
 846    }
 847    #endregion
 848
 849  }
 850
 851  #endregion
 852
 853}
 854
 855#endregion Designer generated code