< Summary

Class:DCL.ECSComponents.PointerEventsReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/PointerEvents.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:867
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/PointerEvents.gen.cs

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