< Summary

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

Metrics

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

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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshColliderReflection() {
 025      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="));
 043      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          }));
 051    }
 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  {
 70    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)]
 75    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 {
 80      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 {
 86      get { return Descriptor; }
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    public PBMeshCollider() {
 92      OnConstruction();
 93    }
 94
 95    partial void OnConstruction();
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 99    public PBMeshCollider(PBMeshCollider other) : this() {
 100      _hasBits0 = other._hasBits0;
 101      collisionMask_ = other.collisionMask_;
 102      switch (other.MeshCase) {
 103        case MeshOneofCase.Box:
 104          Box = other.Box.Clone();
 105          break;
 106        case MeshOneofCase.Sphere:
 107          Sphere = other.Sphere.Clone();
 108          break;
 109        case MeshOneofCase.Cylinder:
 110          Cylinder = other.Cylinder.Clone();
 111          break;
 112        case MeshOneofCase.Plane:
 113          Plane = other.Plane.Clone();
 114          break;
 115      }
 116
 117      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 118    }
 119
 120    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 121    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 122    public PBMeshCollider Clone() {
 123      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 {
 135      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 136      set {
 137        _hasBits0 |= 1;
 138        collisionMask_ = value;
 139      }
 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 {
 145      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() {
 151      _hasBits0 &= ~1;
 152    }
 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 {
 159      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 160      set {
 161        mesh_ = value;
 162        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 163      }
 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 {
 171      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 172      set {
 173        mesh_ = value;
 174        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 175      }
 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 {
 183      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 184      set {
 185        mesh_ = value;
 186        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 187      }
 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 {
 195      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 196      set {
 197        mesh_ = value;
 198        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 199      }
 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 {
 215      get { return meshCase_; }
 216    }
 217
 218    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 219    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 220    public void ClearMesh() {
 221      meshCase_ = MeshOneofCase.None;
 222      mesh_ = null;
 223    }
 224
 225    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 226    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 227    public override bool Equals(object other) {
 228      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) {
 234      if (ReferenceEquals(other, null)) {
 235        return false;
 236      }
 237      if (ReferenceEquals(other, this)) {
 238        return true;
 239      }
 240      if (CollisionMask != other.CollisionMask) return false;
 241      if (!object.Equals(Box, other.Box)) return false;
 242      if (!object.Equals(Sphere, other.Sphere)) return false;
 243      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 244      if (!object.Equals(Plane, other.Plane)) return false;
 245      if (MeshCase != other.MeshCase) return false;
 246      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() {
 252      int hash = 1;
 253      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 254      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 255      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 256      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 257      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 258      hash ^= (int) meshCase_;
 259      if (_unknownFields != null) {
 260        hash ^= _unknownFields.GetHashCode();
 261      }
 262      return hash;
 263    }
 264
 265    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 266    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 267    public override string ToString() {
 268      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
 277      if (HasCollisionMask) {
 278        output.WriteRawTag(8);
 279        output.WriteInt32(CollisionMask);
 280      }
 281      if (meshCase_ == MeshOneofCase.Box) {
 282        output.WriteRawTag(18);
 283        output.WriteMessage(Box);
 284      }
 285      if (meshCase_ == MeshOneofCase.Sphere) {
 286        output.WriteRawTag(26);
 287        output.WriteMessage(Sphere);
 288      }
 289      if (meshCase_ == MeshOneofCase.Cylinder) {
 290        output.WriteRawTag(34);
 291        output.WriteMessage(Cylinder);
 292      }
 293      if (meshCase_ == MeshOneofCase.Plane) {
 294        output.WriteRawTag(42);
 295        output.WriteMessage(Plane);
 296      }
 297      if (_unknownFields != null) {
 298        _unknownFields.WriteTo(output);
 299      }
 300    #endif
 301    }
 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() {
 336      int size = 0;
 337      if (HasCollisionMask) {
 338        size += 1 + pb::CodedOutputStream.ComputeInt32Size(CollisionMask);
 339      }
 340      if (meshCase_ == MeshOneofCase.Box) {
 341        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 342      }
 343      if (meshCase_ == MeshOneofCase.Sphere) {
 344        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 345      }
 346      if (meshCase_ == MeshOneofCase.Cylinder) {
 347        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 348      }
 349      if (meshCase_ == MeshOneofCase.Plane) {
 350        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 351      }
 352      if (_unknownFields != null) {
 353        size += _unknownFields.CalculateSize();
 354      }
 355      return size;
 356    }
 357
 358    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 359    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 360    public void MergeFrom(PBMeshCollider other) {
 361      if (other == null) {
 362        return;
 363      }
 364      if (other.HasCollisionMask) {
 365        CollisionMask = other.CollisionMask;
 366      }
 367      switch (other.MeshCase) {
 368        case MeshOneofCase.Box:
 369          if (Box == null) {
 370            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 371          }
 372          Box.MergeFrom(other.Box);
 373          break;
 374        case MeshOneofCase.Sphere:
 375          if (Sphere == null) {
 376            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 377          }
 378          Sphere.MergeFrom(other.Sphere);
 379          break;
 380        case MeshOneofCase.Cylinder:
 381          if (Cylinder == null) {
 382            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 383          }
 384          Cylinder.MergeFrom(other.Cylinder);
 385          break;
 386        case MeshOneofCase.Plane:
 387          if (Plane == null) {
 388            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 389          }
 390          Plane.MergeFrom(other.Plane);
 391          break;
 392      }
 393
 394      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 395    }
 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;
 404      while ((tag = input.ReadTag()) != 0) {
 405        switch(tag) {
 406          default:
 407            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 408            break;
 409          case 8: {
 410            CollisionMask = input.ReadInt32();
 411            break;
 412          }
 413          case 18: {
 414            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 415            if (meshCase_ == MeshOneofCase.Box) {
 416              subBuilder.MergeFrom(Box);
 417            }
 418            input.ReadMessage(subBuilder);
 419            Box = subBuilder;
 420            break;
 421          }
 422          case 26: {
 423            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 424            if (meshCase_ == MeshOneofCase.Sphere) {
 425              subBuilder.MergeFrom(Sphere);
 426            }
 427            input.ReadMessage(subBuilder);
 428            Sphere = subBuilder;
 429            break;
 430          }
 431          case 34: {
 432            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 433            if (meshCase_ == MeshOneofCase.Cylinder) {
 434              subBuilder.MergeFrom(Cylinder);
 435            }
 436            input.ReadMessage(subBuilder);
 437            Cylinder = subBuilder;
 438            break;
 439          }
 440          case 42: {
 441            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 442            if (meshCase_ == MeshOneofCase.Plane) {
 443              subBuilder.MergeFrom(Plane);
 444            }
 445            input.ReadMessage(subBuilder);
 446            Plane = subBuilder;
 447            break;
 448          }
 449        }
 450      }
 451    #endif
 452    }
 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      {
 519        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)]
 523        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 {
 528          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 {
 534          get { return Descriptor; }
 535        }
 536
 537        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 538        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 539        public BoxMesh() {
 540          OnConstruction();
 541        }
 542
 543        partial void OnConstruction();
 544
 545        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 546        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 547        public BoxMesh(BoxMesh other) : this() {
 548          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 549        }
 550
 551        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 552        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 553        public BoxMesh Clone() {
 554          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) {
 560          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) {
 566          if (ReferenceEquals(other, null)) {
 567            return false;
 568          }
 569          if (ReferenceEquals(other, this)) {
 570            return true;
 571          }
 572          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() {
 578          int hash = 1;
 579          if (_unknownFields != null) {
 580            hash ^= _unknownFields.GetHashCode();
 581          }
 582          return hash;
 583        }
 584
 585        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 586        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 587        public override string ToString() {
 588          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
 597          if (_unknownFields != null) {
 598            _unknownFields.WriteTo(output);
 599          }
 600        #endif
 601        }
 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() {
 616          int size = 0;
 617          if (_unknownFields != null) {
 618            size += _unknownFields.CalculateSize();
 619          }
 620          return size;
 621        }
 622
 623        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 624        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 625        public void MergeFrom(BoxMesh other) {
 626          if (other == null) {
 627            return;
 628          }
 629          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 630        }
 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;
 639          while ((tag = input.ReadTag()) != 0) {
 640            switch(tag) {
 641              default:
 642                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 643                break;
 644            }
 645          }
 646        #endif
 647        }
 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      {
 671        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)]
 676        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 {
 681          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 {
 687          get { return Descriptor; }
 688        }
 689
 690        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 691        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 692        public CylinderMesh() {
 693          OnConstruction();
 694        }
 695
 696        partial void OnConstruction();
 697
 698        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 699        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 700        public CylinderMesh(CylinderMesh other) : this() {
 701          _hasBits0 = other._hasBits0;
 702          radiusTop_ = other.radiusTop_;
 703          radiusBottom_ = other.radiusBottom_;
 704          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 705        }
 706
 707        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 708        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 709        public CylinderMesh Clone() {
 710          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 {
 722          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 723          set {
 724            _hasBits0 |= 1;
 725            radiusTop_ = value;
 726          }
 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 {
 732          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() {
 738          _hasBits0 &= ~1;
 739        }
 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 {
 750          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 751          set {
 752            _hasBits0 |= 2;
 753            radiusBottom_ = value;
 754          }
 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 {
 760          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() {
 766          _hasBits0 &= ~2;
 767        }
 768
 769        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 770        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 771        public override bool Equals(object other) {
 772          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) {
 778          if (ReferenceEquals(other, null)) {
 779            return false;
 780          }
 781          if (ReferenceEquals(other, this)) {
 782            return true;
 783          }
 784          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 785          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 786          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() {
 792          int hash = 1;
 793          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 794          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 795          if (_unknownFields != null) {
 796            hash ^= _unknownFields.GetHashCode();
 797          }
 798          return hash;
 799        }
 800
 801        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 802        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 803        public override string ToString() {
 804          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
 813          if (HasRadiusTop) {
 814            output.WriteRawTag(13);
 815            output.WriteFloat(RadiusTop);
 816          }
 817          if (HasRadiusBottom) {
 818            output.WriteRawTag(21);
 819            output.WriteFloat(RadiusBottom);
 820          }
 821          if (_unknownFields != null) {
 822            _unknownFields.WriteTo(output);
 823          }
 824        #endif
 825        }
 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() {
 848          int size = 0;
 849          if (HasRadiusTop) {
 850            size += 1 + 4;
 851          }
 852          if (HasRadiusBottom) {
 853            size += 1 + 4;
 854          }
 855          if (_unknownFields != null) {
 856            size += _unknownFields.CalculateSize();
 857          }
 858          return size;
 859        }
 860
 861        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 862        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 863        public void MergeFrom(CylinderMesh other) {
 864          if (other == null) {
 865            return;
 866          }
 867          if (other.HasRadiusTop) {
 868            RadiusTop = other.RadiusTop;
 869          }
 870          if (other.HasRadiusBottom) {
 871            RadiusBottom = other.RadiusBottom;
 872          }
 873          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 874        }
 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;
 883          while ((tag = input.ReadTag()) != 0) {
 884            switch(tag) {
 885              default:
 886                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 887                break;
 888              case 13: {
 889                RadiusTop = input.ReadFloat();
 890                break;
 891              }
 892              case 21: {
 893                RadiusBottom = input.ReadFloat();
 894                break;
 895              }
 896            }
 897          }
 898        #endif
 899        }
 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      {
 931        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)]
 935        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 {
 940          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 {
 946          get { return Descriptor; }
 947        }
 948
 949        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 950        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 951        public PlaneMesh() {
 952          OnConstruction();
 953        }
 954
 955        partial void OnConstruction();
 956
 957        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 958        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 959        public PlaneMesh(PlaneMesh other) : this() {
 960          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 961        }
 962
 963        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 964        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 965        public PlaneMesh Clone() {
 966          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) {
 972          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) {
 978          if (ReferenceEquals(other, null)) {
 979            return false;
 980          }
 981          if (ReferenceEquals(other, this)) {
 982            return true;
 983          }
 984          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() {
 990          int hash = 1;
 991          if (_unknownFields != null) {
 992            hash ^= _unknownFields.GetHashCode();
 993          }
 994          return hash;
 995        }
 996
 997        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 998        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 999        public override string ToString() {
 1000          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
 1009          if (_unknownFields != null) {
 1010            _unknownFields.WriteTo(output);
 1011          }
 1012        #endif
 1013        }
 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() {
 1028          int size = 0;
 1029          if (_unknownFields != null) {
 1030            size += _unknownFields.CalculateSize();
 1031          }
 1032          return size;
 1033        }
 1034
 1035        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1036        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1037        public void MergeFrom(PlaneMesh other) {
 1038          if (other == null) {
 1039            return;
 1040          }
 1041          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1042        }
 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;
 1051          while ((tag = input.ReadTag()) != 0) {
 1052            switch(tag) {
 1053              default:
 1054                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1055                break;
 1056            }
 1057          }
 1058        #endif
 1059        }
 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      {
 1083        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)]
 1087        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 {
 1092          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 {
 1098          get { return Descriptor; }
 1099        }
 1100
 1101        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1102        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1103        public SphereMesh() {
 1104          OnConstruction();
 1105        }
 1106
 1107        partial void OnConstruction();
 1108
 1109        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1110        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1111        public SphereMesh(SphereMesh other) : this() {
 1112          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1113        }
 1114
 1115        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1116        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1117        public SphereMesh Clone() {
 1118          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) {
 1124          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) {
 1130          if (ReferenceEquals(other, null)) {
 1131            return false;
 1132          }
 1133          if (ReferenceEquals(other, this)) {
 1134            return true;
 1135          }
 1136          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() {
 1142          int hash = 1;
 1143          if (_unknownFields != null) {
 1144            hash ^= _unknownFields.GetHashCode();
 1145          }
 1146          return hash;
 1147        }
 1148
 1149        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1150        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1151        public override string ToString() {
 1152          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
 1161          if (_unknownFields != null) {
 1162            _unknownFields.WriteTo(output);
 1163          }
 1164        #endif
 1165        }
 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() {
 1180          int size = 0;
 1181          if (_unknownFields != null) {
 1182            size += _unknownFields.CalculateSize();
 1183          }
 1184          return size;
 1185        }
 1186
 1187        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1188        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1189        public void MergeFrom(SphereMesh other) {
 1190          if (other == null) {
 1191            return;
 1192          }
 1193          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1194        }
 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;
 1203          while ((tag = input.ReadTag()) != 0) {
 1204            switch(tag) {
 1205              default:
 1206                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1207                break;
 1208            }
 1209          }
 1210        #endif
 1211        }
 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