< Summary

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

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/PointerLock.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: PointerLock.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 PointerLock.proto</summary>
 15  public static partial class PointerLockReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for PointerLock.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static PointerLockReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "ChFQb2ludGVyTG9jay5wcm90bxIQZGVjZW50cmFsYW5kLmVjcyIoCg1QQlBv",
 28            "aW50ZXJMb2NrEhcKD2lzUG9pbnRlckxvY2tlZBgBIAEoCEIUqgIRRENMLkVD",
 29            "U0NvbXBvbmVudHNiBnByb3RvMw=="));
 030      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 31          new pbr::FileDescriptor[] { },
 32          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 33            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerLock), global::DCL.ECSComponents.PBP
 34          }));
 035    }
 36    #endregion
 37
 38  }
 39  #region Messages
 40  public sealed partial class PBPointerLock : pb::IMessage<PBPointerLock>
 41  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 42      , pb::IBufferMessage
 43  #endif
 44  {
 45    private static readonly pb::MessageParser<PBPointerLock> _parser = new pb::MessageParser<PBPointerLock>(() => new PB
 46    private pb::UnknownFieldSet _unknownFields;
 47    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 48    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 49    public static pb::MessageParser<PBPointerLock> Parser { get { return _parser; } }
 50
 51    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 52    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 53    public static pbr::MessageDescriptor Descriptor {
 54      get { return global::DCL.ECSComponents.PointerLockReflection.Descriptor.MessageTypes[0]; }
 55    }
 56
 57    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 58    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 59    pbr::MessageDescriptor pb::IMessage.Descriptor {
 60      get { return Descriptor; }
 61    }
 62
 63    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 64    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 65    public PBPointerLock() {
 66      OnConstruction();
 67    }
 68
 69    partial void OnConstruction();
 70
 71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 72    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 73    public PBPointerLock(PBPointerLock other) : this() {
 74      isPointerLocked_ = other.isPointerLocked_;
 75      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 76    }
 77
 78    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 79    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 80    public PBPointerLock Clone() {
 81      return new PBPointerLock(this);
 82    }
 83
 84    /// <summary>Field number for the "isPointerLocked" field.</summary>
 85    public const int IsPointerLockedFieldNumber = 1;
 86    private bool isPointerLocked_;
 87    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 88    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 89    public bool IsPointerLocked {
 90      get { return isPointerLocked_; }
 91      set {
 92        isPointerLocked_ = value;
 93      }
 94    }
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 98    public override bool Equals(object other) {
 99      return Equals(other as PBPointerLock);
 100    }
 101
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 104    public bool Equals(PBPointerLock other) {
 105      if (ReferenceEquals(other, null)) {
 106        return false;
 107      }
 108      if (ReferenceEquals(other, this)) {
 109        return true;
 110      }
 111      if (IsPointerLocked != other.IsPointerLocked) return false;
 112      return Equals(_unknownFields, other._unknownFields);
 113    }
 114
 115    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 116    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 117    public override int GetHashCode() {
 118      int hash = 1;
 119      if (IsPointerLocked != false) hash ^= IsPointerLocked.GetHashCode();
 120      if (_unknownFields != null) {
 121        hash ^= _unknownFields.GetHashCode();
 122      }
 123      return hash;
 124    }
 125
 126    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 127    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 128    public override string ToString() {
 129      return pb::JsonFormatter.ToDiagnosticString(this);
 130    }
 131
 132    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 133    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 134    public void WriteTo(pb::CodedOutputStream output) {
 135    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 136      output.WriteRawMessage(this);
 137    #else
 138      if (IsPointerLocked != false) {
 139        output.WriteRawTag(8);
 140        output.WriteBool(IsPointerLocked);
 141      }
 142      if (_unknownFields != null) {
 143        _unknownFields.WriteTo(output);
 144      }
 145    #endif
 146    }
 147
 148    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 149    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 150    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 151    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 152      if (IsPointerLocked != false) {
 153        output.WriteRawTag(8);
 154        output.WriteBool(IsPointerLocked);
 155      }
 156      if (_unknownFields != null) {
 157        _unknownFields.WriteTo(ref output);
 158      }
 159    }
 160    #endif
 161
 162    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 163    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 164    public int CalculateSize() {
 165      int size = 0;
 166      if (IsPointerLocked != false) {
 167        size += 1 + 1;
 168      }
 169      if (_unknownFields != null) {
 170        size += _unknownFields.CalculateSize();
 171      }
 172      return size;
 173    }
 174
 175    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 176    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 177    public void MergeFrom(PBPointerLock other) {
 178      if (other == null) {
 179        return;
 180      }
 181      if (other.IsPointerLocked != false) {
 182        IsPointerLocked = other.IsPointerLocked;
 183      }
 184      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 185    }
 186
 187    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 188    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public void MergeFrom(pb::CodedInputStream input) {
 190    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 191      input.ReadRawMessage(this);
 192    #else
 193      uint tag;
 194      while ((tag = input.ReadTag()) != 0) {
 195        switch(tag) {
 196          default:
 197            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 198            break;
 199          case 8: {
 200            IsPointerLocked = input.ReadBool();
 201            break;
 202          }
 203        }
 204      }
 205    #endif
 206    }
 207
 208    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 209    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 210    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 211    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 212      uint tag;
 213      while ((tag = input.ReadTag()) != 0) {
 214        switch(tag) {
 215          default:
 216            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 217            break;
 218          case 8: {
 219            IsPointerLocked = input.ReadBool();
 220            break;
 221          }
 222        }
 223      }
 224    }
 225    #endif
 226
 227  }
 228
 229  #endregion
 230
 231}
 232
 233#endregion Designer generated code