< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBPointerHoverFeedback()0%110100%
get_Descriptor()0%2100%
PBPointerHoverFeedback(...)0%2100%
Clone()0%2100%
PBPointerHoverFeedback()0%110100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%6200%
ToString()0%2100%
WriteTo(...)0%2.062075%
CalculateSize()0%2.032080%
MergeFrom(...)0%6200%
MergeFrom(...)0%3.583060%
Info()0%110100%
get_Descriptor()0%2100%
Info()0%110100%
Info(...)0%2100%
Clone()0%2100%
ClearButton()0%2100%
ClearHoverText()0%2100%
ClearMaxDistance()0%2100%
ClearShowFeedback()0%2100%
Equals(...)0%2100%
Equals(...)0%56700%
GetHashCode()0%42600%
ToString()0%2100%
WriteTo(...)0%6.296080%
CalculateSize()0%6.176083.33%
MergeFrom(...)0%42600%
MergeFrom(...)0%7.997072.73%
Entry()0%110100%
get_Descriptor()0%2100%
Entry()0%110100%
Entry(...)0%12300%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%20400%
ToString()0%2100%
WriteTo(...)0%4.024088.89%
CalculateSize()0%4.034087.5%
MergeFrom(...)0%30500%
MergeFrom(...)0%5.275077.78%

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 {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static PointerHoverFeedbackReflection() {
 25      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=="));
 44      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          }));
 50    }
 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  {
 170    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)]
 074    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 {
 079      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 {
 085      get { return Descriptor; }
 86    }
 87
 88    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 89    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 790    public PBPointerHoverFeedback() {
 91      OnConstruction();
 792    }
 93
 94    partial void OnConstruction();
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 098    public PBPointerHoverFeedback(PBPointerHoverFeedback other) : this() {
 099      pointerEvents_ = other.pointerEvents_.Clone();
 0100      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0101    }
 102
 103    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 104    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 105    public PBPointerHoverFeedback Clone() {
 0106      return new PBPointerHoverFeedback(this);
 107    }
 108
 109    /// <summary>Field number for the "pointer_events" field.</summary>
 110    public const int PointerEventsFieldNumber = 1;
 1111    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);
 7113    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 {
 10117      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) {
 0123      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) {
 0129      if (ReferenceEquals(other, null)) {
 0130        return false;
 131      }
 0132      if (ReferenceEquals(other, this)) {
 0133        return true;
 134      }
 0135      if(!pointerEvents_.Equals(other.pointerEvents_)) return false;
 0136      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() {
 0142      int hash = 1;
 0143      hash ^= pointerEvents_.GetHashCode();
 0144      if (_unknownFields != null) {
 0145        hash ^= _unknownFields.GetHashCode();
 146      }
 0147      return hash;
 148    }
 149
 150    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 151    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 152    public override string ToString() {
 0153      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
 6162      pointerEvents_.WriteTo(output, _repeated_pointerEvents_codec);
 6163      if (_unknownFields != null) {
 0164        _unknownFields.WriteTo(output);
 165      }
 166    #endif
 6167    }
 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() {
 6183      int size = 0;
 6184      size += pointerEvents_.CalculateSize(_repeated_pointerEvents_codec);
 6185      if (_unknownFields != null) {
 0186        size += _unknownFields.CalculateSize();
 187      }
 6188      return size;
 189    }
 190
 191    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193    public void MergeFrom(PBPointerHoverFeedback other) {
 0194      if (other == null) {
 0195        return;
 196      }
 0197      pointerEvents_.Add(other.pointerEvents_);
 0198      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0199    }
 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;
 12208      while ((tag = input.ReadTag()) != 0) {
 209        switch(tag) {
 210          default:
 0211            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0212            break;
 213          case 10: {
 6214            pointerEvents_.AddEntriesFrom(input, _repeated_pointerEvents_codec);
 215            break;
 216          }
 217        }
 218      }
 219    #endif
 6220    }
 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      {
 1251        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)]
 0256        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 {
 0261          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 {
 0267          get { return Descriptor; }
 268        }
 269
 270        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 271        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3272        public Info() {
 273          OnConstruction();
 3274        }
 275
 276        partial void OnConstruction();
 277
 278        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 279        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0280        public Info(Info other) : this() {
 0281          _hasBits0 = other._hasBits0;
 0282          button_ = other.button_;
 0283          hoverText_ = other.hoverText_;
 0284          maxDistance_ = other.maxDistance_;
 0285          showFeedback_ = other.showFeedback_;
 0286          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0287        }
 288
 289        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 290        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 291        public Info Clone() {
 0292          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 {
 0304          get { if ((_hasBits0 & 1) != 0) { return button_; } else { return global::DCL.ECSComponents.InputAction.IaPoin
 305          set {
 16306            _hasBits0 |= 1;
 16307            button_ = value;
 16308          }
 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 {
 0314          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() {
 0320          _hasBits0 &= ~1;
 0321        }
 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 {
 0332          get { return hoverText_ ?? ""; }
 333          set {
 3334            hoverText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 3335          }
 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 {
 0341          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() {
 0347          hoverText_ = null;
 0348        }
 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 {
 8359          get { if ((_hasBits0 & 2) != 0) { return maxDistance_; } else { return 0F; } }
 360          set {
 4361            _hasBits0 |= 2;
 4362            maxDistance_ = value;
 4363          }
 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 {
 0369          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() {
 0375          _hasBits0 &= ~2;
 0376        }
 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 {
 0387          get { if ((_hasBits0 & 4) != 0) { return showFeedback_; } else { return false; } }
 388          set {
 0389            _hasBits0 |= 4;
 0390            showFeedback_ = value;
 0391          }
 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 {
 0397          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() {
 0403          _hasBits0 &= ~4;
 0404        }
 405
 406        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 407        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 408        public override bool Equals(object other) {
 0409          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) {
 0415          if (ReferenceEquals(other, null)) {
 0416            return false;
 417          }
 0418          if (ReferenceEquals(other, this)) {
 0419            return true;
 420          }
 0421          if (Button != other.Button) return false;
 0422          if (HoverText != other.HoverText) return false;
 0423          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxDistance, other.MaxDistance)) retu
 0424          if (ShowFeedback != other.ShowFeedback) return false;
 0425          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() {
 0431          int hash = 1;
 0432          if (HasButton) hash ^= Button.GetHashCode();
 0433          if (HasHoverText) hash ^= HoverText.GetHashCode();
 0434          if (HasMaxDistance) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxDistan
 0435          if (HasShowFeedback) hash ^= ShowFeedback.GetHashCode();
 0436          if (_unknownFields != null) {
 0437            hash ^= _unknownFields.GetHashCode();
 438          }
 0439          return hash;
 440        }
 441
 442        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 443        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 444        public override string ToString() {
 0445          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
 8454          if (HasButton) {
 8455            output.WriteRawTag(8);
 8456            output.WriteEnum((int) Button);
 457          }
 8458          if (HasHoverText) {
 8459            output.WriteRawTag(18);
 8460            output.WriteString(HoverText);
 461          }
 8462          if (HasMaxDistance) {
 2463            output.WriteRawTag(29);
 2464            output.WriteFloat(MaxDistance);
 465          }
 8466          if (HasShowFeedback) {
 0467            output.WriteRawTag(32);
 0468            output.WriteBool(ShowFeedback);
 469          }
 8470          if (_unknownFields != null) {
 0471            _unknownFields.WriteTo(output);
 472          }
 473        #endif
 8474        }
 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() {
 24505          int size = 0;
 24506          if (HasButton) {
 24507            size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Button);
 508          }
 24509          if (HasHoverText) {
 24510            size += 1 + pb::CodedOutputStream.ComputeStringSize(HoverText);
 511          }
 24512          if (HasMaxDistance) {
 6513            size += 1 + 4;
 514          }
 24515          if (HasShowFeedback) {
 0516            size += 1 + 1;
 517          }
 24518          if (_unknownFields != null) {
 0519            size += _unknownFields.CalculateSize();
 520          }
 24521          return size;
 522        }
 523
 524        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 525        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 526        public void MergeFrom(Info other) {
 0527          if (other == null) {
 0528            return;
 529          }
 0530          if (other.HasButton) {
 0531            Button = other.Button;
 532          }
 0533          if (other.HasHoverText) {
 0534            HoverText = other.HoverText;
 535          }
 0536          if (other.HasMaxDistance) {
 0537            MaxDistance = other.MaxDistance;
 538          }
 0539          if (other.HasShowFeedback) {
 0540            ShowFeedback = other.ShowFeedback;
 541          }
 0542          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0543        }
 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;
 26552          while ((tag = input.ReadTag()) != 0) {
 553            switch(tag) {
 554              default:
 0555                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0556                break;
 557              case 8: {
 8558                Button = (global::DCL.ECSComponents.InputAction) input.ReadEnum();
 8559                break;
 560              }
 561              case 18: {
 8562                HoverText = input.ReadString();
 8563                break;
 564              }
 565              case 29: {
 2566                MaxDistance = input.ReadFloat();
 2567                break;
 568              }
 569              case 32: {
 0570                ShowFeedback = input.ReadBool();
 571                break;
 572              }
 573            }
 574          }
 575        #endif
 8576        }
 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      {
 9616        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)]
 1620        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 {
 0625          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 {
 0631          get { return Descriptor; }
 632        }
 633
 634        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 635        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3636        public Entry() {
 637          OnConstruction();
 3638        }
 639
 640        partial void OnConstruction();
 641
 642        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 643        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0644        public Entry(Entry other) : this() {
 0645          eventType_ = other.eventType_;
 0646          eventInfo_ = other.eventInfo_ != null ? other.eventInfo_.Clone() : null;
 0647          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0648        }
 649
 650        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 651        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 652        public Entry Clone() {
 0653          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 {
 0662          get { return eventType_; }
 663          set {
 3664            eventType_ = value;
 3665          }
 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 {
 0674          get { return eventInfo_; }
 675          set {
 3676            eventInfo_ = value;
 3677          }
 678        }
 679
 680        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 681        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 682        public override bool Equals(object other) {
 0683          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) {
 0689          if (ReferenceEquals(other, null)) {
 0690            return false;
 691          }
 0692          if (ReferenceEquals(other, this)) {
 0693            return true;
 694          }
 0695          if (EventType != other.EventType) return false;
 0696          if (!object.Equals(EventInfo, other.EventInfo)) return false;
 0697          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() {
 0703          int hash = 1;
 0704          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) hash ^= EventType.GetHashCode();
 0705          if (eventInfo_ != null) hash ^= EventInfo.GetHashCode();
 0706          if (_unknownFields != null) {
 0707            hash ^= _unknownFields.GetHashCode();
 708          }
 0709          return hash;
 710        }
 711
 712        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 713        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 714        public override string ToString() {
 0715          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
 8724          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 5725            output.WriteRawTag(8);
 5726            output.WriteEnum((int) EventType);
 727          }
 8728          if (eventInfo_ != null) {
 8729            output.WriteRawTag(18);
 8730            output.WriteMessage(EventInfo);
 731          }
 8732          if (_unknownFields != null) {
 0733            _unknownFields.WriteTo(output);
 734          }
 735        #endif
 8736        }
 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() {
 16759          int size = 0;
 16760          if (EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 10761            size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EventType);
 762          }
 16763          if (eventInfo_ != null) {
 16764            size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventInfo);
 765          }
 16766          if (_unknownFields != null) {
 0767            size += _unknownFields.CalculateSize();
 768          }
 16769          return size;
 770        }
 771
 772        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 773        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 774        public void MergeFrom(Entry other) {
 0775          if (other == null) {
 0776            return;
 777          }
 0778          if (other.EventType != global::DCL.ECSComponents.PointerEventType.PetUp) {
 0779            EventType = other.EventType;
 780          }
 0781          if (other.eventInfo_ != null) {
 0782            if (eventInfo_ == null) {
 0783              EventInfo = new global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info();
 784            }
 0785            EventInfo.MergeFrom(other.EventInfo);
 786          }
 0787          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0788        }
 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;
 21797          while ((tag = input.ReadTag()) != 0) {
 798            switch(tag) {
 799              default:
 0800                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0801                break;
 802              case 8: {
 5803                EventType = (global::DCL.ECSComponents.PointerEventType) input.ReadEnum();
 5804                break;
 805              }
 806              case 18: {
 8807                if (eventInfo_ == null) {
 8808                  EventInfo = new global::DCL.ECSComponents.PBPointerHoverFeedback.Types.Info();
 809                }
 8810                input.ReadMessage(EventInfo);
 811                break;
 812              }
 813            }
 814          }
 815        #endif
 8816        }
 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

Methods/Properties

PBPointerHoverFeedback()
Parser()
Descriptor()
get_Descriptor()
PBPointerHoverFeedback()
PBPointerHoverFeedback(DCL.ECSComponents.PBPointerHoverFeedback)
Clone()
PointerEvents()
Equals(System.Object)
Equals(DCL.ECSComponents.PBPointerHoverFeedback)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBPointerHoverFeedback)
MergeFrom(Google.Protobuf.CodedInputStream)
Info()
Parser()
Descriptor()
get_Descriptor()
Info()
Info(DCL.ECSComponents.PBPointerHoverFeedback/Types/Info)
Clone()
Button()
Button(DCL.ECSComponents.InputAction)
HasButton()
ClearButton()
HoverText()
HoverText(System.String)
HasHoverText()
ClearHoverText()
MaxDistance()
MaxDistance(System.Single)
HasMaxDistance()
ClearMaxDistance()
ShowFeedback()
ShowFeedback(System.Boolean)
HasShowFeedback()
ClearShowFeedback()
Equals(System.Object)
Equals(DCL.ECSComponents.PBPointerHoverFeedback/Types/Info)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBPointerHoverFeedback/Types/Info)
MergeFrom(Google.Protobuf.CodedInputStream)
Entry()
Parser()
Descriptor()
get_Descriptor()
Entry()
Entry(DCL.ECSComponents.PBPointerHoverFeedback/Types/Entry)
Clone()
EventType()
EventType(DCL.ECSComponents.PointerEventType)
EventInfo()
EventInfo(DCL.ECSComponents.PBPointerHoverFeedback/Types/Info)
Equals(System.Object)
Equals(DCL.ECSComponents.PBPointerHoverFeedback/Types/Entry)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBPointerHoverFeedback/Types/Entry)
MergeFrom(Google.Protobuf.CodedInputStream)