< Summary

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

Metrics

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

File(s)

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

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