< Summary

Class:DCL.ECSComponents.PBMeshCollider
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MeshCollider.gen.cs
Covered lines:54
Uncovered lines:278
Coverable lines:332
Total lines:1239
Line coverage:16.2% (54 of 332)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBMeshCollider()0%110100%
get_Descriptor()0%2100%
PBMeshCollider()0%110100%
PBMeshCollider(...)0%30500%
Clone()0%2100%
ClearCollisionMask()0%2100%
ClearMesh()0%2100%
Equals(...)0%2100%
Equals(...)0%21.029047.06%
GetHashCode()0%56700%
ToString()0%2100%
WriteTo(...)0%56700%
CalculateSize()0%56700%
MergeFrom(...)0%1321100%
MergeFrom(...)0%1561200%
BoxMesh()0%110100%
get_Descriptor()0%2100%
BoxMesh()0%110100%
BoxMesh(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%12300%
GetHashCode()0%6200%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%6200%
CylinderMesh()0%110100%
get_Descriptor()0%2100%
CylinderMesh()0%110100%
CylinderMesh(...)0%2100%
Clone()0%2100%
ClearRadiusTop()0%2100%
ClearRadiusBottom()0%2100%
Equals(...)0%110100%
Equals(...)0%7.195055.56%
GetHashCode()0%20400%
ToString()0%2100%
WriteTo(...)0%20400%
CalculateSize()0%20400%
MergeFrom(...)0%20400%
MergeFrom(...)0%20400%
PlaneMesh()0%110100%
get_Descriptor()0%2100%
PlaneMesh()0%110100%
PlaneMesh(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%12300%
GetHashCode()0%6200%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%6200%
SphereMesh()0%110100%
get_Descriptor()0%2100%
SphereMesh()0%110100%
SphereMesh(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%12300%
GetHashCode()0%6200%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%6200%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/mesh_collider.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/mesh_collider.proto</summary
 15  public static partial class MeshColliderReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/mesh_collider.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshColliderReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ci9kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvbWVzaF9jb2xsaWRlci5w",
 28            "cm90bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzIvgDCg5QQk1lc2hD",
 29            "b2xsaWRlchIbCg5jb2xsaXNpb25fbWFzaxgBIAEoBUgBiAEBEkIKA2JveBgC",
 30            "IAEoCzIzLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hDb2xs",
 31            "aWRlci5Cb3hNZXNoSAASSAoGc3BoZXJlGAMgASgLMjYuZGVjZW50cmFsYW5k",
 32            "LnNkay5jb21wb25lbnRzLlBCTWVzaENvbGxpZGVyLlNwaGVyZU1lc2hIABJM",
 33            "CghjeWxpbmRlchgEIAEoCzI4LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50",
 34            "cy5QQk1lc2hDb2xsaWRlci5DeWxpbmRlck1lc2hIABJGCgVwbGFuZRgFIAEo",
 35            "CzI1LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hDb2xsaWRl",
 36            "ci5QbGFuZU1lc2hIABoJCgdCb3hNZXNoGmQKDEN5bGluZGVyTWVzaBIXCgpy",
 37            "YWRpdXNfdG9wGAEgASgCSACIAQESGgoNcmFkaXVzX2JvdHRvbRgCIAEoAkgB",
 38            "iAEBQg0KC19yYWRpdXNfdG9wQhAKDl9yYWRpdXNfYm90dG9tGgsKCVBsYW5l",
 39            "TWVzaBoMCgpTcGhlcmVNZXNoQgYKBG1lc2hCEQoPX2NvbGxpc2lvbl9tYXNr",
 40            "KjwKDUNvbGxpZGVyTGF5ZXISCwoHQ0xfTk9ORRAAEg4KCkNMX1BPSU5URVIQ",
 41            "ARIOCgpDTF9QSFlTSUNTEAJCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90",
 42            "bzM="));
 43      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 44          new pbr::FileDescriptor[] { },
 45          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.ColliderLayer), }, null, new pbr::Genera
 46            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider), global::DCL.ECSComponents.PB
 47            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh), global::D
 48            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh), global::DCL.
 49            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh), global::DCL
 50          }));
 51    }
 52    #endregion
 53
 54  }
 55  #region Enums
 56  public enum ColliderLayer {
 57    [pbr::OriginalName("CL_NONE")] ClNone = 0,
 58    [pbr::OriginalName("CL_POINTER")] ClPointer = 1,
 59    [pbr::OriginalName("CL_PHYSICS")] ClPhysics = 2,
 60  }
 61
 62  #endregion
 63
 64  #region Messages
 65  public sealed partial class PBMeshCollider : pb::IMessage<PBMeshCollider>
 66  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 67      , pb::IBufferMessage
 68  #endif
 69  {
 170    private static readonly pb::MessageParser<PBMeshCollider> _parser = new pb::MessageParser<PBMeshCollider>(() => new 
 71    private pb::UnknownFieldSet _unknownFields;
 72    private int _hasBits0;
 73    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 74    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 075    public static pb::MessageParser<PBMeshCollider> Parser { get { return _parser; } }
 76
 77    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 79    public static pbr::MessageDescriptor Descriptor {
 080      get { return global::DCL.ECSComponents.MeshColliderReflection.Descriptor.MessageTypes[0]; }
 81    }
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    pbr::MessageDescriptor pb::IMessage.Descriptor {
 086      get { return Descriptor; }
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1491    public PBMeshCollider() {
 92      OnConstruction();
 1493    }
 94
 95    partial void OnConstruction();
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 099    public PBMeshCollider(PBMeshCollider other) : this() {
 0100      _hasBits0 = other._hasBits0;
 0101      collisionMask_ = other.collisionMask_;
 0102      switch (other.MeshCase) {
 103        case MeshOneofCase.Box:
 0104          Box = other.Box.Clone();
 0105          break;
 106        case MeshOneofCase.Sphere:
 0107          Sphere = other.Sphere.Clone();
 0108          break;
 109        case MeshOneofCase.Cylinder:
 0110          Cylinder = other.Cylinder.Clone();
 0111          break;
 112        case MeshOneofCase.Plane:
 0113          Plane = other.Plane.Clone();
 114          break;
 115      }
 116
 0117      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0118    }
 119
 120    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 121    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 122    public PBMeshCollider Clone() {
 0123      return new PBMeshCollider(this);
 124    }
 125
 126    /// <summary>Field number for the "collision_mask" field.</summary>
 127    public const int CollisionMaskFieldNumber = 1;
 128    private int collisionMask_;
 129    /// <summary>
 130    /// default = ColliderLayer.Physics | ColliderLayer.Pointer
 131    /// </summary>
 132    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 133    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 134    public int CollisionMask {
 56135      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 136      set {
 7137        _hasBits0 |= 1;
 7138        collisionMask_ = value;
 7139      }
 140    }
 141    /// <summary>Gets whether the "collision_mask" field is set</summary>
 142    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 143    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 144    public bool HasCollisionMask {
 28145      get { return (_hasBits0 & 1) != 0; }
 146    }
 147    /// <summary>Clears the value of the "collision_mask" field</summary>
 148    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 149    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 150    public void ClearCollisionMask() {
 0151      _hasBits0 &= ~1;
 0152    }
 153
 154    /// <summary>Field number for the "box" field.</summary>
 155    public const int BoxFieldNumber = 2;
 156    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 157    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 158    public global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh Box {
 2159      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 160      set {
 6161        mesh_ = value;
 6162        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 6163      }
 164    }
 165
 166    /// <summary>Field number for the "sphere" field.</summary>
 167    public const int SphereFieldNumber = 3;
 168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 170    public global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh Sphere {
 2171      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 172      set {
 1173        mesh_ = value;
 1174        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1175      }
 176    }
 177
 178    /// <summary>Field number for the "cylinder" field.</summary>
 179    public const int CylinderFieldNumber = 4;
 180    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 181    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 182    public global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh Cylinder {
 10183      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 184      set {
 3185        mesh_ = value;
 3186        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 3187      }
 188    }
 189
 190    /// <summary>Field number for the "plane" field.</summary>
 191    public const int PlaneFieldNumber = 5;
 192    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194    public global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh Plane {
 0195      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 196      set {
 4197        mesh_ = value;
 4198        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 4199      }
 200    }
 201
 202    private object mesh_;
 203    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 204    public enum MeshOneofCase {
 205      None = 0,
 206      Box = 2,
 207      Sphere = 3,
 208      Cylinder = 4,
 209      Plane = 5,
 210    }
 211    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 212    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 213    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 214    public MeshOneofCase MeshCase {
 36215      get { return meshCase_; }
 216    }
 217
 218    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 219    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 220    public void ClearMesh() {
 0221      meshCase_ = MeshOneofCase.None;
 0222      mesh_ = null;
 0223    }
 224
 225    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 226    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 227    public override bool Equals(object other) {
 0228      return Equals(other as PBMeshCollider);
 229    }
 230
 231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233    public bool Equals(PBMeshCollider other) {
 7234      if (ReferenceEquals(other, null)) {
 0235        return false;
 236      }
 7237      if (ReferenceEquals(other, this)) {
 0238        return true;
 239      }
 13240      if (CollisionMask != other.CollisionMask) return false;
 1241      if (!object.Equals(Box, other.Box)) return false;
 1242      if (!object.Equals(Sphere, other.Sphere)) return false;
 2243      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0244      if (!object.Equals(Plane, other.Plane)) return false;
 0245      if (MeshCase != other.MeshCase) return false;
 0246      return Equals(_unknownFields, other._unknownFields);
 247    }
 248
 249    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 250    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 251    public override int GetHashCode() {
 0252      int hash = 1;
 0253      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 0254      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 0255      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 0256      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 0257      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 0258      hash ^= (int) meshCase_;
 0259      if (_unknownFields != null) {
 0260        hash ^= _unknownFields.GetHashCode();
 261      }
 0262      return hash;
 263    }
 264
 265    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 266    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 267    public override string ToString() {
 0268      return pb::JsonFormatter.ToDiagnosticString(this);
 269    }
 270
 271    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 272    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 273    public void WriteTo(pb::CodedOutputStream output) {
 274    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 275      output.WriteRawMessage(this);
 276    #else
 0277      if (HasCollisionMask) {
 0278        output.WriteRawTag(8);
 0279        output.WriteInt32(CollisionMask);
 280      }
 0281      if (meshCase_ == MeshOneofCase.Box) {
 0282        output.WriteRawTag(18);
 0283        output.WriteMessage(Box);
 284      }
 0285      if (meshCase_ == MeshOneofCase.Sphere) {
 0286        output.WriteRawTag(26);
 0287        output.WriteMessage(Sphere);
 288      }
 0289      if (meshCase_ == MeshOneofCase.Cylinder) {
 0290        output.WriteRawTag(34);
 0291        output.WriteMessage(Cylinder);
 292      }
 0293      if (meshCase_ == MeshOneofCase.Plane) {
 0294        output.WriteRawTag(42);
 0295        output.WriteMessage(Plane);
 296      }
 0297      if (_unknownFields != null) {
 0298        _unknownFields.WriteTo(output);
 299      }
 300    #endif
 0301    }
 302
 303    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 304    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 305    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 306    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 307      if (HasCollisionMask) {
 308        output.WriteRawTag(8);
 309        output.WriteInt32(CollisionMask);
 310      }
 311      if (meshCase_ == MeshOneofCase.Box) {
 312        output.WriteRawTag(18);
 313        output.WriteMessage(Box);
 314      }
 315      if (meshCase_ == MeshOneofCase.Sphere) {
 316        output.WriteRawTag(26);
 317        output.WriteMessage(Sphere);
 318      }
 319      if (meshCase_ == MeshOneofCase.Cylinder) {
 320        output.WriteRawTag(34);
 321        output.WriteMessage(Cylinder);
 322      }
 323      if (meshCase_ == MeshOneofCase.Plane) {
 324        output.WriteRawTag(42);
 325        output.WriteMessage(Plane);
 326      }
 327      if (_unknownFields != null) {
 328        _unknownFields.WriteTo(ref output);
 329      }
 330    }
 331    #endif
 332
 333    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 334    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 335    public int CalculateSize() {
 0336      int size = 0;
 0337      if (HasCollisionMask) {
 0338        size += 1 + pb::CodedOutputStream.ComputeInt32Size(CollisionMask);
 339      }
 0340      if (meshCase_ == MeshOneofCase.Box) {
 0341        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 342      }
 0343      if (meshCase_ == MeshOneofCase.Sphere) {
 0344        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 345      }
 0346      if (meshCase_ == MeshOneofCase.Cylinder) {
 0347        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 348      }
 0349      if (meshCase_ == MeshOneofCase.Plane) {
 0350        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 351      }
 0352      if (_unknownFields != null) {
 0353        size += _unknownFields.CalculateSize();
 354      }
 0355      return size;
 356    }
 357
 358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 360    public void MergeFrom(PBMeshCollider other) {
 0361      if (other == null) {
 0362        return;
 363      }
 0364      if (other.HasCollisionMask) {
 0365        CollisionMask = other.CollisionMask;
 366      }
 0367      switch (other.MeshCase) {
 368        case MeshOneofCase.Box:
 0369          if (Box == null) {
 0370            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 371          }
 0372          Box.MergeFrom(other.Box);
 0373          break;
 374        case MeshOneofCase.Sphere:
 0375          if (Sphere == null) {
 0376            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 377          }
 0378          Sphere.MergeFrom(other.Sphere);
 0379          break;
 380        case MeshOneofCase.Cylinder:
 0381          if (Cylinder == null) {
 0382            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 383          }
 0384          Cylinder.MergeFrom(other.Cylinder);
 0385          break;
 386        case MeshOneofCase.Plane:
 0387          if (Plane == null) {
 0388            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 389          }
 0390          Plane.MergeFrom(other.Plane);
 391          break;
 392      }
 393
 0394      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0395    }
 396
 397    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 398    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 399    public void MergeFrom(pb::CodedInputStream input) {
 400    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 401      input.ReadRawMessage(this);
 402    #else
 403      uint tag;
 0404      while ((tag = input.ReadTag()) != 0) {
 405        switch(tag) {
 406          default:
 0407            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0408            break;
 409          case 8: {
 0410            CollisionMask = input.ReadInt32();
 0411            break;
 412          }
 413          case 18: {
 0414            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 0415            if (meshCase_ == MeshOneofCase.Box) {
 0416              subBuilder.MergeFrom(Box);
 417            }
 0418            input.ReadMessage(subBuilder);
 0419            Box = subBuilder;
 0420            break;
 421          }
 422          case 26: {
 0423            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 0424            if (meshCase_ == MeshOneofCase.Sphere) {
 0425              subBuilder.MergeFrom(Sphere);
 426            }
 0427            input.ReadMessage(subBuilder);
 0428            Sphere = subBuilder;
 0429            break;
 430          }
 431          case 34: {
 0432            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0433            if (meshCase_ == MeshOneofCase.Cylinder) {
 0434              subBuilder.MergeFrom(Cylinder);
 435            }
 0436            input.ReadMessage(subBuilder);
 0437            Cylinder = subBuilder;
 0438            break;
 439          }
 440          case 42: {
 0441            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 0442            if (meshCase_ == MeshOneofCase.Plane) {
 0443              subBuilder.MergeFrom(Plane);
 444            }
 0445            input.ReadMessage(subBuilder);
 0446            Plane = subBuilder;
 447            break;
 448          }
 449        }
 450      }
 451    #endif
 0452    }
 453
 454    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 455    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 457    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 458      uint tag;
 459      while ((tag = input.ReadTag()) != 0) {
 460        switch(tag) {
 461          default:
 462            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 463            break;
 464          case 8: {
 465            CollisionMask = input.ReadInt32();
 466            break;
 467          }
 468          case 18: {
 469            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 470            if (meshCase_ == MeshOneofCase.Box) {
 471              subBuilder.MergeFrom(Box);
 472            }
 473            input.ReadMessage(subBuilder);
 474            Box = subBuilder;
 475            break;
 476          }
 477          case 26: {
 478            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 479            if (meshCase_ == MeshOneofCase.Sphere) {
 480              subBuilder.MergeFrom(Sphere);
 481            }
 482            input.ReadMessage(subBuilder);
 483            Sphere = subBuilder;
 484            break;
 485          }
 486          case 34: {
 487            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 488            if (meshCase_ == MeshOneofCase.Cylinder) {
 489              subBuilder.MergeFrom(Cylinder);
 490            }
 491            input.ReadMessage(subBuilder);
 492            Cylinder = subBuilder;
 493            break;
 494          }
 495          case 42: {
 496            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 497            if (meshCase_ == MeshOneofCase.Plane) {
 498              subBuilder.MergeFrom(Plane);
 499            }
 500            input.ReadMessage(subBuilder);
 501            Plane = subBuilder;
 502            break;
 503          }
 504        }
 505      }
 506    }
 507    #endif
 508
 509    #region Nested types
 510    /// <summary>Container for nested types declared in the PBMeshCollider message type.</summary>
 511    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 512    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 513    public static partial class Types {
 514      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 515      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 516          , pb::IBufferMessage
 517      #endif
 518      {
 1519        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 520        private pb::UnknownFieldSet _unknownFields;
 521        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 522        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0523        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 524
 525        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 526        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 527        public static pbr::MessageDescriptor Descriptor {
 0528          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[0]; }
 529        }
 530
 531        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 532        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 533        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0534          get { return Descriptor; }
 535        }
 536
 537        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 538        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6539        public BoxMesh() {
 540          OnConstruction();
 6541        }
 542
 543        partial void OnConstruction();
 544
 545        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 546        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0547        public BoxMesh(BoxMesh other) : this() {
 0548          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0549        }
 550
 551        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 552        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 553        public BoxMesh Clone() {
 0554          return new BoxMesh(this);
 555        }
 556
 557        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 558        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 559        public override bool Equals(object other) {
 0560          return Equals(other as BoxMesh);
 561        }
 562
 563        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 564        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 565        public bool Equals(BoxMesh other) {
 0566          if (ReferenceEquals(other, null)) {
 0567            return false;
 568          }
 0569          if (ReferenceEquals(other, this)) {
 0570            return true;
 571          }
 0572          return Equals(_unknownFields, other._unknownFields);
 573        }
 574
 575        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 576        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 577        public override int GetHashCode() {
 0578          int hash = 1;
 0579          if (_unknownFields != null) {
 0580            hash ^= _unknownFields.GetHashCode();
 581          }
 0582          return hash;
 583        }
 584
 585        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 586        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 587        public override string ToString() {
 0588          return pb::JsonFormatter.ToDiagnosticString(this);
 589        }
 590
 591        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 592        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 593        public void WriteTo(pb::CodedOutputStream output) {
 594        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 595          output.WriteRawMessage(this);
 596        #else
 0597          if (_unknownFields != null) {
 0598            _unknownFields.WriteTo(output);
 599          }
 600        #endif
 0601        }
 602
 603        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 604        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 605        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 606        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 607          if (_unknownFields != null) {
 608            _unknownFields.WriteTo(ref output);
 609          }
 610        }
 611        #endif
 612
 613        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 614        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 615        public int CalculateSize() {
 0616          int size = 0;
 0617          if (_unknownFields != null) {
 0618            size += _unknownFields.CalculateSize();
 619          }
 0620          return size;
 621        }
 622
 623        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 624        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 625        public void MergeFrom(BoxMesh other) {
 0626          if (other == null) {
 0627            return;
 628          }
 0629          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0630        }
 631
 632        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 633        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 634        public void MergeFrom(pb::CodedInputStream input) {
 635        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 636          input.ReadRawMessage(this);
 637        #else
 638          uint tag;
 0639          while ((tag = input.ReadTag()) != 0) {
 640            switch(tag) {
 641              default:
 0642                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 643                break;
 644            }
 645          }
 646        #endif
 0647        }
 648
 649        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 650        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 651        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 652        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 653          uint tag;
 654          while ((tag = input.ReadTag()) != 0) {
 655            switch(tag) {
 656              default:
 657                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 658                break;
 659            }
 660          }
 661        }
 662        #endif
 663
 664      }
 665
 666      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 667      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 668          , pb::IBufferMessage
 669      #endif
 670      {
 1671        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 672        private pb::UnknownFieldSet _unknownFields;
 673        private int _hasBits0;
 674        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 675        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0676        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 677
 678        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 679        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 680        public static pbr::MessageDescriptor Descriptor {
 0681          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[1]; }
 682        }
 683
 684        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 685        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 686        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0687          get { return Descriptor; }
 688        }
 689
 690        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 691        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3692        public CylinderMesh() {
 693          OnConstruction();
 3694        }
 695
 696        partial void OnConstruction();
 697
 698        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 699        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0700        public CylinderMesh(CylinderMesh other) : this() {
 0701          _hasBits0 = other._hasBits0;
 0702          radiusTop_ = other.radiusTop_;
 0703          radiusBottom_ = other.radiusBottom_;
 0704          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0705        }
 706
 707        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 708        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 709        public CylinderMesh Clone() {
 0710          return new CylinderMesh(this);
 711        }
 712
 713        /// <summary>Field number for the "radius_top" field.</summary>
 714        public const int RadiusTopFieldNumber = 1;
 715        private float radiusTop_;
 716        /// <summary>
 717        /// default=1.0
 718        /// </summary>
 719        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 720        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 721        public float RadiusTop {
 8722          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 723          set {
 0724            _hasBits0 |= 1;
 0725            radiusTop_ = value;
 0726          }
 727        }
 728        /// <summary>Gets whether the "radius_top" field is set</summary>
 729        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 730        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 731        public bool HasRadiusTop {
 3732          get { return (_hasBits0 & 1) != 0; }
 733        }
 734        /// <summary>Clears the value of the "radius_top" field</summary>
 735        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 736        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 737        public void ClearRadiusTop() {
 0738          _hasBits0 &= ~1;
 0739        }
 740
 741        /// <summary>Field number for the "radius_bottom" field.</summary>
 742        public const int RadiusBottomFieldNumber = 2;
 743        private float radiusBottom_;
 744        /// <summary>
 745        /// default=1.0
 746        /// </summary>
 747        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 748        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 749        public float RadiusBottom {
 10750          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 751          set {
 1752            _hasBits0 |= 2;
 1753            radiusBottom_ = value;
 1754          }
 755        }
 756        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 757        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 758        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 759        public bool HasRadiusBottom {
 3760          get { return (_hasBits0 & 2) != 0; }
 761        }
 762        /// <summary>Clears the value of the "radius_bottom" field</summary>
 763        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 764        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 765        public void ClearRadiusBottom() {
 0766          _hasBits0 &= ~2;
 0767        }
 768
 769        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 770        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 771        public override bool Equals(object other) {
 1772          return Equals(other as CylinderMesh);
 773        }
 774
 775        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 776        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 777        public bool Equals(CylinderMesh other) {
 2778          if (ReferenceEquals(other, null)) {
 0779            return false;
 780          }
 2781          if (ReferenceEquals(other, this)) {
 0782            return true;
 783          }
 2784          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 4785          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0786          return Equals(_unknownFields, other._unknownFields);
 787        }
 788
 789        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 790        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 791        public override int GetHashCode() {
 0792          int hash = 1;
 0793          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 0794          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 0795          if (_unknownFields != null) {
 0796            hash ^= _unknownFields.GetHashCode();
 797          }
 0798          return hash;
 799        }
 800
 801        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 802        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 803        public override string ToString() {
 0804          return pb::JsonFormatter.ToDiagnosticString(this);
 805        }
 806
 807        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 808        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 809        public void WriteTo(pb::CodedOutputStream output) {
 810        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 811          output.WriteRawMessage(this);
 812        #else
 0813          if (HasRadiusTop) {
 0814            output.WriteRawTag(13);
 0815            output.WriteFloat(RadiusTop);
 816          }
 0817          if (HasRadiusBottom) {
 0818            output.WriteRawTag(21);
 0819            output.WriteFloat(RadiusBottom);
 820          }
 0821          if (_unknownFields != null) {
 0822            _unknownFields.WriteTo(output);
 823          }
 824        #endif
 0825        }
 826
 827        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 828        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 829        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 830        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 831          if (HasRadiusTop) {
 832            output.WriteRawTag(13);
 833            output.WriteFloat(RadiusTop);
 834          }
 835          if (HasRadiusBottom) {
 836            output.WriteRawTag(21);
 837            output.WriteFloat(RadiusBottom);
 838          }
 839          if (_unknownFields != null) {
 840            _unknownFields.WriteTo(ref output);
 841          }
 842        }
 843        #endif
 844
 845        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 846        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 847        public int CalculateSize() {
 0848          int size = 0;
 0849          if (HasRadiusTop) {
 0850            size += 1 + 4;
 851          }
 0852          if (HasRadiusBottom) {
 0853            size += 1 + 4;
 854          }
 0855          if (_unknownFields != null) {
 0856            size += _unknownFields.CalculateSize();
 857          }
 0858          return size;
 859        }
 860
 861        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 862        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 863        public void MergeFrom(CylinderMesh other) {
 0864          if (other == null) {
 0865            return;
 866          }
 0867          if (other.HasRadiusTop) {
 0868            RadiusTop = other.RadiusTop;
 869          }
 0870          if (other.HasRadiusBottom) {
 0871            RadiusBottom = other.RadiusBottom;
 872          }
 0873          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0874        }
 875
 876        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 877        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 878        public void MergeFrom(pb::CodedInputStream input) {
 879        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 880          input.ReadRawMessage(this);
 881        #else
 882          uint tag;
 0883          while ((tag = input.ReadTag()) != 0) {
 884            switch(tag) {
 885              default:
 0886                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0887                break;
 888              case 13: {
 0889                RadiusTop = input.ReadFloat();
 0890                break;
 891              }
 892              case 21: {
 0893                RadiusBottom = input.ReadFloat();
 894                break;
 895              }
 896            }
 897          }
 898        #endif
 0899        }
 900
 901        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 902        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 903        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 904        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 905          uint tag;
 906          while ((tag = input.ReadTag()) != 0) {
 907            switch(tag) {
 908              default:
 909                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 910                break;
 911              case 13: {
 912                RadiusTop = input.ReadFloat();
 913                break;
 914              }
 915              case 21: {
 916                RadiusBottom = input.ReadFloat();
 917                break;
 918              }
 919            }
 920          }
 921        }
 922        #endif
 923
 924      }
 925
 926      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 927      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 928          , pb::IBufferMessage
 929      #endif
 930      {
 1931        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 932        private pb::UnknownFieldSet _unknownFields;
 933        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 934        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0935        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 936
 937        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 938        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 939        public static pbr::MessageDescriptor Descriptor {
 0940          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[2]; }
 941        }
 942
 943        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 944        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 945        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0946          get { return Descriptor; }
 947        }
 948
 949        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 950        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 4951        public PlaneMesh() {
 952          OnConstruction();
 4953        }
 954
 955        partial void OnConstruction();
 956
 957        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 958        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0959        public PlaneMesh(PlaneMesh other) : this() {
 0960          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0961        }
 962
 963        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 964        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 965        public PlaneMesh Clone() {
 0966          return new PlaneMesh(this);
 967        }
 968
 969        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 970        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 971        public override bool Equals(object other) {
 0972          return Equals(other as PlaneMesh);
 973        }
 974
 975        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 976        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 977        public bool Equals(PlaneMesh other) {
 0978          if (ReferenceEquals(other, null)) {
 0979            return false;
 980          }
 0981          if (ReferenceEquals(other, this)) {
 0982            return true;
 983          }
 0984          return Equals(_unknownFields, other._unknownFields);
 985        }
 986
 987        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 988        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 989        public override int GetHashCode() {
 0990          int hash = 1;
 0991          if (_unknownFields != null) {
 0992            hash ^= _unknownFields.GetHashCode();
 993          }
 0994          return hash;
 995        }
 996
 997        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 998        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 999        public override string ToString() {
 01000          return pb::JsonFormatter.ToDiagnosticString(this);
 1001        }
 1002
 1003        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1004        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1005        public void WriteTo(pb::CodedOutputStream output) {
 1006        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1007          output.WriteRawMessage(this);
 1008        #else
 01009          if (_unknownFields != null) {
 01010            _unknownFields.WriteTo(output);
 1011          }
 1012        #endif
 01013        }
 1014
 1015        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1016        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1017        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1018        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1019          if (_unknownFields != null) {
 1020            _unknownFields.WriteTo(ref output);
 1021          }
 1022        }
 1023        #endif
 1024
 1025        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1026        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1027        public int CalculateSize() {
 01028          int size = 0;
 01029          if (_unknownFields != null) {
 01030            size += _unknownFields.CalculateSize();
 1031          }
 01032          return size;
 1033        }
 1034
 1035        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1036        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1037        public void MergeFrom(PlaneMesh other) {
 01038          if (other == null) {
 01039            return;
 1040          }
 01041          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01042        }
 1043
 1044        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1045        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1046        public void MergeFrom(pb::CodedInputStream input) {
 1047        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1048          input.ReadRawMessage(this);
 1049        #else
 1050          uint tag;
 01051          while ((tag = input.ReadTag()) != 0) {
 1052            switch(tag) {
 1053              default:
 01054                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1055                break;
 1056            }
 1057          }
 1058        #endif
 01059        }
 1060
 1061        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1062        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1063        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1064        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1065          uint tag;
 1066          while ((tag = input.ReadTag()) != 0) {
 1067            switch(tag) {
 1068              default:
 1069                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1070                break;
 1071            }
 1072          }
 1073        }
 1074        #endif
 1075
 1076      }
 1077
 1078      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1079      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1080          , pb::IBufferMessage
 1081      #endif
 1082      {
 11083        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1084        private pb::UnknownFieldSet _unknownFields;
 1085        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1086        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01087        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1088
 1089        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1090        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1091        public static pbr::MessageDescriptor Descriptor {
 01092          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[3]; }
 1093        }
 1094
 1095        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1096        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1097        pbr::MessageDescriptor pb::IMessage.Descriptor {
 01098          get { return Descriptor; }
 1099        }
 1100
 1101        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1102        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11103        public SphereMesh() {
 1104          OnConstruction();
 11105        }
 1106
 1107        partial void OnConstruction();
 1108
 1109        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1110        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01111        public SphereMesh(SphereMesh other) : this() {
 01112          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01113        }
 1114
 1115        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1116        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1117        public SphereMesh Clone() {
 01118          return new SphereMesh(this);
 1119        }
 1120
 1121        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1122        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1123        public override bool Equals(object other) {
 01124          return Equals(other as SphereMesh);
 1125        }
 1126
 1127        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1128        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1129        public bool Equals(SphereMesh other) {
 01130          if (ReferenceEquals(other, null)) {
 01131            return false;
 1132          }
 01133          if (ReferenceEquals(other, this)) {
 01134            return true;
 1135          }
 01136          return Equals(_unknownFields, other._unknownFields);
 1137        }
 1138
 1139        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1140        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1141        public override int GetHashCode() {
 01142          int hash = 1;
 01143          if (_unknownFields != null) {
 01144            hash ^= _unknownFields.GetHashCode();
 1145          }
 01146          return hash;
 1147        }
 1148
 1149        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1150        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1151        public override string ToString() {
 01152          return pb::JsonFormatter.ToDiagnosticString(this);
 1153        }
 1154
 1155        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1156        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1157        public void WriteTo(pb::CodedOutputStream output) {
 1158        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1159          output.WriteRawMessage(this);
 1160        #else
 01161          if (_unknownFields != null) {
 01162            _unknownFields.WriteTo(output);
 1163          }
 1164        #endif
 01165        }
 1166
 1167        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1168        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1169        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1170        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1171          if (_unknownFields != null) {
 1172            _unknownFields.WriteTo(ref output);
 1173          }
 1174        }
 1175        #endif
 1176
 1177        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1178        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1179        public int CalculateSize() {
 01180          int size = 0;
 01181          if (_unknownFields != null) {
 01182            size += _unknownFields.CalculateSize();
 1183          }
 01184          return size;
 1185        }
 1186
 1187        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1188        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1189        public void MergeFrom(SphereMesh other) {
 01190          if (other == null) {
 01191            return;
 1192          }
 01193          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01194        }
 1195
 1196        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1197        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1198        public void MergeFrom(pb::CodedInputStream input) {
 1199        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1200          input.ReadRawMessage(this);
 1201        #else
 1202          uint tag;
 01203          while ((tag = input.ReadTag()) != 0) {
 1204            switch(tag) {
 1205              default:
 01206                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1207                break;
 1208            }
 1209          }
 1210        #endif
 01211        }
 1212
 1213        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1214        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1215        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1216        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1217          uint tag;
 1218          while ((tag = input.ReadTag()) != 0) {
 1219            switch(tag) {
 1220              default:
 1221                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1222                break;
 1223            }
 1224          }
 1225        }
 1226        #endif
 1227
 1228      }
 1229
 1230    }
 1231    #endregion
 1232
 1233  }
 1234
 1235  #endregion
 1236
 1237}
 1238
 1239#endregion Designer generated code

Methods/Properties

PBMeshCollider()
Parser()
Descriptor()
get_Descriptor()
PBMeshCollider()
PBMeshCollider(DCL.ECSComponents.PBMeshCollider)
Clone()
CollisionMask()
CollisionMask(System.Int32)
HasCollisionMask()
ClearCollisionMask()
Box()
Box(DCL.ECSComponents.PBMeshCollider/Types/BoxMesh)
Sphere()
Sphere(DCL.ECSComponents.PBMeshCollider/Types/SphereMesh)
Cylinder()
Cylinder(DCL.ECSComponents.PBMeshCollider/Types/CylinderMesh)
Plane()
Plane(DCL.ECSComponents.PBMeshCollider/Types/PlaneMesh)
MeshCase()
ClearMesh()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshCollider)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshCollider)
MergeFrom(Google.Protobuf.CodedInputStream)
BoxMesh()
Parser()
Descriptor()
get_Descriptor()
BoxMesh()
BoxMesh(DCL.ECSComponents.PBMeshCollider/Types/BoxMesh)
Clone()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshCollider/Types/BoxMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshCollider/Types/BoxMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
CylinderMesh()
Parser()
Descriptor()
get_Descriptor()
CylinderMesh()
CylinderMesh(DCL.ECSComponents.PBMeshCollider/Types/CylinderMesh)
Clone()
RadiusTop()
RadiusTop(System.Single)
HasRadiusTop()
ClearRadiusTop()
RadiusBottom()
RadiusBottom(System.Single)
HasRadiusBottom()
ClearRadiusBottom()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshCollider/Types/CylinderMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshCollider/Types/CylinderMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
PlaneMesh()
Parser()
Descriptor()
get_Descriptor()
PlaneMesh()
PlaneMesh(DCL.ECSComponents.PBMeshCollider/Types/PlaneMesh)
Clone()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshCollider/Types/PlaneMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshCollider/Types/PlaneMesh)
MergeFrom(Google.Protobuf.CodedInputStream)
SphereMesh()
Parser()
Descriptor()
get_Descriptor()
SphereMesh()
SphereMesh(DCL.ECSComponents.PBMeshCollider/Types/SphereMesh)
Clone()
Equals(System.Object)
Equals(DCL.ECSComponents.PBMeshCollider/Types/SphereMesh)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBMeshCollider/Types/SphereMesh)
MergeFrom(Google.Protobuf.CodedInputStream)