< 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:1292
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

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            "b2xsaWRlchIbCg5jb2xsaXNpb25fbWFzaxgBIAEoDUgBiAEBEkIKA2JveBgC",
 30            "IAEoCzIzLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hDb2xs",
 31            "aWRlci5Cb3hNZXNoSAASSAoGc3BoZXJlGAMgASgLMjYuZGVjZW50cmFsYW5k",
 32            "LnNkay5jb21wb25lbnRzLlBCTWVzaENvbGxpZGVyLlNwaGVyZU1lc2hIABJM",
 33            "CghjeWxpbmRlchgEIAEoCzI4LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50",
 34            "cy5QQk1lc2hDb2xsaWRlci5DeWxpbmRlck1lc2hIABJGCgVwbGFuZRgFIAEo",
 35            "CzI1LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hDb2xsaWRl",
 36            "ci5QbGFuZU1lc2hIABoJCgdCb3hNZXNoGmQKDEN5bGluZGVyTWVzaBIXCgpy",
 37            "YWRpdXNfdG9wGAEgASgCSACIAQESGgoNcmFkaXVzX2JvdHRvbRgCIAEoAkgB",
 38            "iAEBQg0KC19yYWRpdXNfdG9wQhAKDl9yYWRpdXNfYm90dG9tGgsKCVBsYW5l",
 39            "TWVzaBoMCgpTcGhlcmVNZXNoQgYKBG1lc2hCEQoPX2NvbGxpc2lvbl9tYXNr",
 40            "KrMCCg1Db2xsaWRlckxheWVyEgsKB0NMX05PTkUQABIOCgpDTF9QT0lOVEVS",
 41            "EAESDgoKQ0xfUEhZU0lDUxACEhAKDENMX1JFU0VSVkVEMRAEEhAKDENMX1JF",
 42            "U0VSVkVEMhAIEhAKDENMX1JFU0VSVkVEMxAQEhAKDENMX1JFU0VSVkVENBAg",
 43            "EhAKDENMX1JFU0VSVkVENRBAEhEKDENMX1JFU0VSVkVENhCAARIPCgpDTF9D",
 44            "VVNUT00xEIACEg8KCkNMX0NVU1RPTTIQgAQSDwoKQ0xfQ1VTVE9NMxCACBIP",
 45            "CgpDTF9DVVNUT000EIAQEg8KCkNMX0NVU1RPTTUQgCASDwoKQ0xfQ1VTVE9N",
 46            "NhCAQBIQCgpDTF9DVVNUT003EICAARIQCgpDTF9DVVNUT004EICAAkIUqgIR",
 47            "RENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw=="));
 048      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 49          new pbr::FileDescriptor[] { },
 50          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.ColliderLayer), }, null, new pbr::Genera
 51            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider), global::DCL.ECSComponents.PB
 52            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh), global::D
 53            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh), global::DCL.
 54            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh), global::DCL
 55          }));
 056    }
 57    #endregion
 58
 59  }
 60  #region Enums
 61  /// <summary>
 62  /// ColliderLayer determines the kind of collision to detect, in OR-able bit flag form.
 63  /// </summary>
 64  public enum ColliderLayer {
 65    /// <summary>
 66    /// no collisions
 67    /// </summary>
 68    [pbr::OriginalName("CL_NONE")] ClNone = 0,
 69    /// <summary>
 70    /// collisions with the player's pointer ray (e.g. mouse cursor hovering)
 71    /// </summary>
 72    [pbr::OriginalName("CL_POINTER")] ClPointer = 1,
 73    /// <summary>
 74    /// collision affecting your player's physics i.e. walls, floor, moving platfroms
 75    /// </summary>
 76    [pbr::OriginalName("CL_PHYSICS")] ClPhysics = 2,
 77    [pbr::OriginalName("CL_RESERVED1")] ClReserved1 = 4,
 78    [pbr::OriginalName("CL_RESERVED2")] ClReserved2 = 8,
 79    [pbr::OriginalName("CL_RESERVED3")] ClReserved3 = 16,
 80    [pbr::OriginalName("CL_RESERVED4")] ClReserved4 = 32,
 81    [pbr::OriginalName("CL_RESERVED5")] ClReserved5 = 64,
 82    [pbr::OriginalName("CL_RESERVED6")] ClReserved6 = 128,
 83    [pbr::OriginalName("CL_CUSTOM1")] ClCustom1 = 256,
 84    [pbr::OriginalName("CL_CUSTOM2")] ClCustom2 = 512,
 85    [pbr::OriginalName("CL_CUSTOM3")] ClCustom3 = 1024,
 86    [pbr::OriginalName("CL_CUSTOM4")] ClCustom4 = 2048,
 87    [pbr::OriginalName("CL_CUSTOM5")] ClCustom5 = 4096,
 88    [pbr::OriginalName("CL_CUSTOM6")] ClCustom6 = 8192,
 89    [pbr::OriginalName("CL_CUSTOM7")] ClCustom7 = 16384,
 90    [pbr::OriginalName("CL_CUSTOM8")] ClCustom8 = 32768,
 91  }
 92
 93  #endregion
 94
 95  #region Messages
 96  /// <summary>
 97  /// The MeshCollider component provides basic collision detection between Entities and Avatars. It
 98  /// can behave like a cube, a plane, a sphere or a cylinder.
 99  ///
 100  /// The Entity's Transform affects the MeshCollider, scaling it and rotating it appropriately. If
 101  /// the Transform for the collision mesh must be different than the Transform for rendering the Entity,
 102  /// two different Entities must be used.
 103  ///
 104  /// More complex shapes require the use of a `GltfContainer` component.
 105  /// </summary>
 106  public sealed partial class PBMeshCollider : pb::IMessage<PBMeshCollider>
 107  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 108      , pb::IBufferMessage
 109  #endif
 110  {
 111    private static readonly pb::MessageParser<PBMeshCollider> _parser = new pb::MessageParser<PBMeshCollider>(() => new 
 112    private pb::UnknownFieldSet _unknownFields;
 113    private int _hasBits0;
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116    public static pb::MessageParser<PBMeshCollider> Parser { get { return _parser; } }
 117
 118    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 119    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 120    public static pbr::MessageDescriptor Descriptor {
 121      get { return global::DCL.ECSComponents.MeshColliderReflection.Descriptor.MessageTypes[0]; }
 122    }
 123
 124    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 125    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 126    pbr::MessageDescriptor pb::IMessage.Descriptor {
 127      get { return Descriptor; }
 128    }
 129
 130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 131    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 132    public PBMeshCollider() {
 133      OnConstruction();
 134    }
 135
 136    partial void OnConstruction();
 137
 138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 140    public PBMeshCollider(PBMeshCollider other) : this() {
 141      _hasBits0 = other._hasBits0;
 142      collisionMask_ = other.collisionMask_;
 143      switch (other.MeshCase) {
 144        case MeshOneofCase.Box:
 145          Box = other.Box.Clone();
 146          break;
 147        case MeshOneofCase.Sphere:
 148          Sphere = other.Sphere.Clone();
 149          break;
 150        case MeshOneofCase.Cylinder:
 151          Cylinder = other.Cylinder.Clone();
 152          break;
 153        case MeshOneofCase.Plane:
 154          Plane = other.Plane.Clone();
 155          break;
 156      }
 157
 158      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 159    }
 160
 161    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public PBMeshCollider Clone() {
 164      return new PBMeshCollider(this);
 165    }
 166
 167    /// <summary>Field number for the "collision_mask" field.</summary>
 168    public const int CollisionMaskFieldNumber = 1;
 169    private uint collisionMask_;
 170    /// <summary>
 171    /// enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)
 172    /// </summary>
 173    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 174    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 175    public uint CollisionMask {
 176      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 177      set {
 178        _hasBits0 |= 1;
 179        collisionMask_ = value;
 180      }
 181    }
 182    /// <summary>Gets whether the "collision_mask" field is set</summary>
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 185    public bool HasCollisionMask {
 186      get { return (_hasBits0 & 1) != 0; }
 187    }
 188    /// <summary>Clears the value of the "collision_mask" field</summary>
 189    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 190    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 191    public void ClearCollisionMask() {
 192      _hasBits0 &= ~1;
 193    }
 194
 195    /// <summary>Field number for the "box" field.</summary>
 196    public const int BoxFieldNumber = 2;
 197    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 198    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 199    public global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh Box {
 200      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 201      set {
 202        mesh_ = value;
 203        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 204      }
 205    }
 206
 207    /// <summary>Field number for the "sphere" field.</summary>
 208    public const int SphereFieldNumber = 3;
 209    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 210    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 211    public global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh Sphere {
 212      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 213      set {
 214        mesh_ = value;
 215        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 216      }
 217    }
 218
 219    /// <summary>Field number for the "cylinder" field.</summary>
 220    public const int CylinderFieldNumber = 4;
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh Cylinder {
 224      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 225      set {
 226        mesh_ = value;
 227        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 228      }
 229    }
 230
 231    /// <summary>Field number for the "plane" field.</summary>
 232    public const int PlaneFieldNumber = 5;
 233    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 234    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 235    public global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh Plane {
 236      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 237      set {
 238        mesh_ = value;
 239        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 240      }
 241    }
 242
 243    private object mesh_;
 244    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 245    public enum MeshOneofCase {
 246      None = 0,
 247      Box = 2,
 248      Sphere = 3,
 249      Cylinder = 4,
 250      Plane = 5,
 251    }
 252    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 253    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 254    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 255    public MeshOneofCase MeshCase {
 256      get { return meshCase_; }
 257    }
 258
 259    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 260    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 261    public void ClearMesh() {
 262      meshCase_ = MeshOneofCase.None;
 263      mesh_ = null;
 264    }
 265
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public override bool Equals(object other) {
 269      return Equals(other as PBMeshCollider);
 270    }
 271
 272    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 273    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 274    public bool Equals(PBMeshCollider other) {
 275      if (ReferenceEquals(other, null)) {
 276        return false;
 277      }
 278      if (ReferenceEquals(other, this)) {
 279        return true;
 280      }
 281      if (CollisionMask != other.CollisionMask) return false;
 282      if (!object.Equals(Box, other.Box)) return false;
 283      if (!object.Equals(Sphere, other.Sphere)) return false;
 284      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 285      if (!object.Equals(Plane, other.Plane)) return false;
 286      if (MeshCase != other.MeshCase) return false;
 287      return Equals(_unknownFields, other._unknownFields);
 288    }
 289
 290    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 291    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 292    public override int GetHashCode() {
 293      int hash = 1;
 294      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 295      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 296      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 297      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 298      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 299      hash ^= (int) meshCase_;
 300      if (_unknownFields != null) {
 301        hash ^= _unknownFields.GetHashCode();
 302      }
 303      return hash;
 304    }
 305
 306    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 307    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 308    public override string ToString() {
 309      return pb::JsonFormatter.ToDiagnosticString(this);
 310    }
 311
 312    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 313    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 314    public void WriteTo(pb::CodedOutputStream output) {
 315    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 316      output.WriteRawMessage(this);
 317    #else
 318      if (HasCollisionMask) {
 319        output.WriteRawTag(8);
 320        output.WriteUInt32(CollisionMask);
 321      }
 322      if (meshCase_ == MeshOneofCase.Box) {
 323        output.WriteRawTag(18);
 324        output.WriteMessage(Box);
 325      }
 326      if (meshCase_ == MeshOneofCase.Sphere) {
 327        output.WriteRawTag(26);
 328        output.WriteMessage(Sphere);
 329      }
 330      if (meshCase_ == MeshOneofCase.Cylinder) {
 331        output.WriteRawTag(34);
 332        output.WriteMessage(Cylinder);
 333      }
 334      if (meshCase_ == MeshOneofCase.Plane) {
 335        output.WriteRawTag(42);
 336        output.WriteMessage(Plane);
 337      }
 338      if (_unknownFields != null) {
 339        _unknownFields.WriteTo(output);
 340      }
 341    #endif
 342    }
 343
 344    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 345    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 346    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 347    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 348      if (HasCollisionMask) {
 349        output.WriteRawTag(8);
 350        output.WriteUInt32(CollisionMask);
 351      }
 352      if (meshCase_ == MeshOneofCase.Box) {
 353        output.WriteRawTag(18);
 354        output.WriteMessage(Box);
 355      }
 356      if (meshCase_ == MeshOneofCase.Sphere) {
 357        output.WriteRawTag(26);
 358        output.WriteMessage(Sphere);
 359      }
 360      if (meshCase_ == MeshOneofCase.Cylinder) {
 361        output.WriteRawTag(34);
 362        output.WriteMessage(Cylinder);
 363      }
 364      if (meshCase_ == MeshOneofCase.Plane) {
 365        output.WriteRawTag(42);
 366        output.WriteMessage(Plane);
 367      }
 368      if (_unknownFields != null) {
 369        _unknownFields.WriteTo(ref output);
 370      }
 371    }
 372    #endif
 373
 374    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 375    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 376    public int CalculateSize() {
 377      int size = 0;
 378      if (HasCollisionMask) {
 379        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CollisionMask);
 380      }
 381      if (meshCase_ == MeshOneofCase.Box) {
 382        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 383      }
 384      if (meshCase_ == MeshOneofCase.Sphere) {
 385        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 386      }
 387      if (meshCase_ == MeshOneofCase.Cylinder) {
 388        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 389      }
 390      if (meshCase_ == MeshOneofCase.Plane) {
 391        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 392      }
 393      if (_unknownFields != null) {
 394        size += _unknownFields.CalculateSize();
 395      }
 396      return size;
 397    }
 398
 399    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 400    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 401    public void MergeFrom(PBMeshCollider other) {
 402      if (other == null) {
 403        return;
 404      }
 405      if (other.HasCollisionMask) {
 406        CollisionMask = other.CollisionMask;
 407      }
 408      switch (other.MeshCase) {
 409        case MeshOneofCase.Box:
 410          if (Box == null) {
 411            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 412          }
 413          Box.MergeFrom(other.Box);
 414          break;
 415        case MeshOneofCase.Sphere:
 416          if (Sphere == null) {
 417            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 418          }
 419          Sphere.MergeFrom(other.Sphere);
 420          break;
 421        case MeshOneofCase.Cylinder:
 422          if (Cylinder == null) {
 423            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 424          }
 425          Cylinder.MergeFrom(other.Cylinder);
 426          break;
 427        case MeshOneofCase.Plane:
 428          if (Plane == null) {
 429            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 430          }
 431          Plane.MergeFrom(other.Plane);
 432          break;
 433      }
 434
 435      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 436    }
 437
 438    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 439    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 440    public void MergeFrom(pb::CodedInputStream input) {
 441    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 442      input.ReadRawMessage(this);
 443    #else
 444      uint tag;
 445      while ((tag = input.ReadTag()) != 0) {
 446        switch(tag) {
 447          default:
 448            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 449            break;
 450          case 8: {
 451            CollisionMask = input.ReadUInt32();
 452            break;
 453          }
 454          case 18: {
 455            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 456            if (meshCase_ == MeshOneofCase.Box) {
 457              subBuilder.MergeFrom(Box);
 458            }
 459            input.ReadMessage(subBuilder);
 460            Box = subBuilder;
 461            break;
 462          }
 463          case 26: {
 464            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 465            if (meshCase_ == MeshOneofCase.Sphere) {
 466              subBuilder.MergeFrom(Sphere);
 467            }
 468            input.ReadMessage(subBuilder);
 469            Sphere = subBuilder;
 470            break;
 471          }
 472          case 34: {
 473            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 474            if (meshCase_ == MeshOneofCase.Cylinder) {
 475              subBuilder.MergeFrom(Cylinder);
 476            }
 477            input.ReadMessage(subBuilder);
 478            Cylinder = subBuilder;
 479            break;
 480          }
 481          case 42: {
 482            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 483            if (meshCase_ == MeshOneofCase.Plane) {
 484              subBuilder.MergeFrom(Plane);
 485            }
 486            input.ReadMessage(subBuilder);
 487            Plane = subBuilder;
 488            break;
 489          }
 490        }
 491      }
 492    #endif
 493    }
 494
 495    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 496    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 497    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 498    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 499      uint tag;
 500      while ((tag = input.ReadTag()) != 0) {
 501        switch(tag) {
 502          default:
 503            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 504            break;
 505          case 8: {
 506            CollisionMask = input.ReadUInt32();
 507            break;
 508          }
 509          case 18: {
 510            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 511            if (meshCase_ == MeshOneofCase.Box) {
 512              subBuilder.MergeFrom(Box);
 513            }
 514            input.ReadMessage(subBuilder);
 515            Box = subBuilder;
 516            break;
 517          }
 518          case 26: {
 519            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 520            if (meshCase_ == MeshOneofCase.Sphere) {
 521              subBuilder.MergeFrom(Sphere);
 522            }
 523            input.ReadMessage(subBuilder);
 524            Sphere = subBuilder;
 525            break;
 526          }
 527          case 34: {
 528            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 529            if (meshCase_ == MeshOneofCase.Cylinder) {
 530              subBuilder.MergeFrom(Cylinder);
 531            }
 532            input.ReadMessage(subBuilder);
 533            Cylinder = subBuilder;
 534            break;
 535          }
 536          case 42: {
 537            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 538            if (meshCase_ == MeshOneofCase.Plane) {
 539              subBuilder.MergeFrom(Plane);
 540            }
 541            input.ReadMessage(subBuilder);
 542            Plane = subBuilder;
 543            break;
 544          }
 545        }
 546      }
 547    }
 548    #endif
 549
 550    #region Nested types
 551    /// <summary>Container for nested types declared in the PBMeshCollider message type.</summary>
 552    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 553    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 554    public static partial class Types {
 555      /// <summary>
 556      /// BoxMesh is a prism shape that contains the Entity.
 557      /// </summary>
 558      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 559      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 560          , pb::IBufferMessage
 561      #endif
 562      {
 563        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 564        private pb::UnknownFieldSet _unknownFields;
 565        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 566        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 567        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 568
 569        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 570        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 571        public static pbr::MessageDescriptor Descriptor {
 572          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[0]; }
 573        }
 574
 575        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 576        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 577        pbr::MessageDescriptor pb::IMessage.Descriptor {
 578          get { return Descriptor; }
 579        }
 580
 581        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 582        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 583        public BoxMesh() {
 584          OnConstruction();
 585        }
 586
 587        partial void OnConstruction();
 588
 589        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 590        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 591        public BoxMesh(BoxMesh other) : this() {
 592          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 593        }
 594
 595        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 596        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 597        public BoxMesh Clone() {
 598          return new BoxMesh(this);
 599        }
 600
 601        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 602        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 603        public override bool Equals(object other) {
 604          return Equals(other as BoxMesh);
 605        }
 606
 607        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 608        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 609        public bool Equals(BoxMesh other) {
 610          if (ReferenceEquals(other, null)) {
 611            return false;
 612          }
 613          if (ReferenceEquals(other, this)) {
 614            return true;
 615          }
 616          return Equals(_unknownFields, other._unknownFields);
 617        }
 618
 619        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 620        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 621        public override int GetHashCode() {
 622          int hash = 1;
 623          if (_unknownFields != null) {
 624            hash ^= _unknownFields.GetHashCode();
 625          }
 626          return hash;
 627        }
 628
 629        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 630        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 631        public override string ToString() {
 632          return pb::JsonFormatter.ToDiagnosticString(this);
 633        }
 634
 635        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 636        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 637        public void WriteTo(pb::CodedOutputStream output) {
 638        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 639          output.WriteRawMessage(this);
 640        #else
 641          if (_unknownFields != null) {
 642            _unknownFields.WriteTo(output);
 643          }
 644        #endif
 645        }
 646
 647        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 648        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 650        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 651          if (_unknownFields != null) {
 652            _unknownFields.WriteTo(ref output);
 653          }
 654        }
 655        #endif
 656
 657        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 658        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 659        public int CalculateSize() {
 660          int size = 0;
 661          if (_unknownFields != null) {
 662            size += _unknownFields.CalculateSize();
 663          }
 664          return size;
 665        }
 666
 667        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669        public void MergeFrom(BoxMesh other) {
 670          if (other == null) {
 671            return;
 672          }
 673          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 674        }
 675
 676        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 677        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 678        public void MergeFrom(pb::CodedInputStream input) {
 679        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 680          input.ReadRawMessage(this);
 681        #else
 682          uint tag;
 683          while ((tag = input.ReadTag()) != 0) {
 684            switch(tag) {
 685              default:
 686                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 687                break;
 688            }
 689          }
 690        #endif
 691        }
 692
 693        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 694        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 695        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 696        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 697          uint tag;
 698          while ((tag = input.ReadTag()) != 0) {
 699            switch(tag) {
 700              default:
 701                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 702                break;
 703            }
 704          }
 705        }
 706        #endif
 707
 708      }
 709
 710      /// <summary>
 711      /// CylinderMesh is a truncated cone shape that contains the Entity.
 712      /// </summary>
 713      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 714      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 715          , pb::IBufferMessage
 716      #endif
 717      {
 718        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 719        private pb::UnknownFieldSet _unknownFields;
 720        private int _hasBits0;
 721        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 722        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 723        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 724
 725        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 726        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 727        public static pbr::MessageDescriptor Descriptor {
 728          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[1]; }
 729        }
 730
 731        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 732        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 733        pbr::MessageDescriptor pb::IMessage.Descriptor {
 734          get { return Descriptor; }
 735        }
 736
 737        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 738        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 739        public CylinderMesh() {
 740          OnConstruction();
 741        }
 742
 743        partial void OnConstruction();
 744
 745        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 746        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 747        public CylinderMesh(CylinderMesh other) : this() {
 748          _hasBits0 = other._hasBits0;
 749          radiusTop_ = other.radiusTop_;
 750          radiusBottom_ = other.radiusBottom_;
 751          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 752        }
 753
 754        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 755        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 756        public CylinderMesh Clone() {
 757          return new CylinderMesh(this);
 758        }
 759
 760        /// <summary>Field number for the "radius_top" field.</summary>
 761        public const int RadiusTopFieldNumber = 1;
 762        private float radiusTop_;
 763        /// <summary>
 764        /// (default 0.5)
 765        /// </summary>
 766        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 767        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 768        public float RadiusTop {
 769          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 770          set {
 771            _hasBits0 |= 1;
 772            radiusTop_ = value;
 773          }
 774        }
 775        /// <summary>Gets whether the "radius_top" field is set</summary>
 776        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 777        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 778        public bool HasRadiusTop {
 779          get { return (_hasBits0 & 1) != 0; }
 780        }
 781        /// <summary>Clears the value of the "radius_top" field</summary>
 782        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 783        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 784        public void ClearRadiusTop() {
 785          _hasBits0 &= ~1;
 786        }
 787
 788        /// <summary>Field number for the "radius_bottom" field.</summary>
 789        public const int RadiusBottomFieldNumber = 2;
 790        private float radiusBottom_;
 791        /// <summary>
 792        /// (default 0.5)
 793        /// </summary>
 794        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 795        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 796        public float RadiusBottom {
 797          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 798          set {
 799            _hasBits0 |= 2;
 800            radiusBottom_ = value;
 801          }
 802        }
 803        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 804        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 805        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 806        public bool HasRadiusBottom {
 807          get { return (_hasBits0 & 2) != 0; }
 808        }
 809        /// <summary>Clears the value of the "radius_bottom" field</summary>
 810        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 811        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 812        public void ClearRadiusBottom() {
 813          _hasBits0 &= ~2;
 814        }
 815
 816        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 817        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 818        public override bool Equals(object other) {
 819          return Equals(other as CylinderMesh);
 820        }
 821
 822        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 823        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 824        public bool Equals(CylinderMesh other) {
 825          if (ReferenceEquals(other, null)) {
 826            return false;
 827          }
 828          if (ReferenceEquals(other, this)) {
 829            return true;
 830          }
 831          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 832          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 833          return Equals(_unknownFields, other._unknownFields);
 834        }
 835
 836        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 837        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 838        public override int GetHashCode() {
 839          int hash = 1;
 840          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 841          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 842          if (_unknownFields != null) {
 843            hash ^= _unknownFields.GetHashCode();
 844          }
 845          return hash;
 846        }
 847
 848        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 849        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 850        public override string ToString() {
 851          return pb::JsonFormatter.ToDiagnosticString(this);
 852        }
 853
 854        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 855        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 856        public void WriteTo(pb::CodedOutputStream output) {
 857        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 858          output.WriteRawMessage(this);
 859        #else
 860          if (HasRadiusTop) {
 861            output.WriteRawTag(13);
 862            output.WriteFloat(RadiusTop);
 863          }
 864          if (HasRadiusBottom) {
 865            output.WriteRawTag(21);
 866            output.WriteFloat(RadiusBottom);
 867          }
 868          if (_unknownFields != null) {
 869            _unknownFields.WriteTo(output);
 870          }
 871        #endif
 872        }
 873
 874        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 875        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 876        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 877        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 878          if (HasRadiusTop) {
 879            output.WriteRawTag(13);
 880            output.WriteFloat(RadiusTop);
 881          }
 882          if (HasRadiusBottom) {
 883            output.WriteRawTag(21);
 884            output.WriteFloat(RadiusBottom);
 885          }
 886          if (_unknownFields != null) {
 887            _unknownFields.WriteTo(ref output);
 888          }
 889        }
 890        #endif
 891
 892        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 893        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 894        public int CalculateSize() {
 895          int size = 0;
 896          if (HasRadiusTop) {
 897            size += 1 + 4;
 898          }
 899          if (HasRadiusBottom) {
 900            size += 1 + 4;
 901          }
 902          if (_unknownFields != null) {
 903            size += _unknownFields.CalculateSize();
 904          }
 905          return size;
 906        }
 907
 908        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 909        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 910        public void MergeFrom(CylinderMesh other) {
 911          if (other == null) {
 912            return;
 913          }
 914          if (other.HasRadiusTop) {
 915            RadiusTop = other.RadiusTop;
 916          }
 917          if (other.HasRadiusBottom) {
 918            RadiusBottom = other.RadiusBottom;
 919          }
 920          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 921        }
 922
 923        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 924        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 925        public void MergeFrom(pb::CodedInputStream input) {
 926        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 927          input.ReadRawMessage(this);
 928        #else
 929          uint tag;
 930          while ((tag = input.ReadTag()) != 0) {
 931            switch(tag) {
 932              default:
 933                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 934                break;
 935              case 13: {
 936                RadiusTop = input.ReadFloat();
 937                break;
 938              }
 939              case 21: {
 940                RadiusBottom = input.ReadFloat();
 941                break;
 942              }
 943            }
 944          }
 945        #endif
 946        }
 947
 948        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 949        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 950        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 951        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 952          uint tag;
 953          while ((tag = input.ReadTag()) != 0) {
 954            switch(tag) {
 955              default:
 956                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 957                break;
 958              case 13: {
 959                RadiusTop = input.ReadFloat();
 960                break;
 961              }
 962              case 21: {
 963                RadiusBottom = input.ReadFloat();
 964                break;
 965              }
 966            }
 967          }
 968        }
 969        #endif
 970
 971      }
 972
 973      /// <summary>
 974      /// PlaneMesh is a 2D rectangle described by the Entity's Transform.
 975      /// </summary>
 976      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 977      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 978          , pb::IBufferMessage
 979      #endif
 980      {
 981        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 982        private pb::UnknownFieldSet _unknownFields;
 983        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 984        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 985        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 986
 987        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 988        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 989        public static pbr::MessageDescriptor Descriptor {
 990          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[2]; }
 991        }
 992
 993        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 994        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 995        pbr::MessageDescriptor pb::IMessage.Descriptor {
 996          get { return Descriptor; }
 997        }
 998
 999        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1000        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1001        public PlaneMesh() {
 1002          OnConstruction();
 1003        }
 1004
 1005        partial void OnConstruction();
 1006
 1007        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1008        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1009        public PlaneMesh(PlaneMesh other) : this() {
 1010          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1011        }
 1012
 1013        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1014        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1015        public PlaneMesh Clone() {
 1016          return new PlaneMesh(this);
 1017        }
 1018
 1019        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1020        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1021        public override bool Equals(object other) {
 1022          return Equals(other as PlaneMesh);
 1023        }
 1024
 1025        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1026        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1027        public bool Equals(PlaneMesh other) {
 1028          if (ReferenceEquals(other, null)) {
 1029            return false;
 1030          }
 1031          if (ReferenceEquals(other, this)) {
 1032            return true;
 1033          }
 1034          return Equals(_unknownFields, other._unknownFields);
 1035        }
 1036
 1037        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1038        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1039        public override int GetHashCode() {
 1040          int hash = 1;
 1041          if (_unknownFields != null) {
 1042            hash ^= _unknownFields.GetHashCode();
 1043          }
 1044          return hash;
 1045        }
 1046
 1047        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1048        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1049        public override string ToString() {
 1050          return pb::JsonFormatter.ToDiagnosticString(this);
 1051        }
 1052
 1053        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1054        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1055        public void WriteTo(pb::CodedOutputStream output) {
 1056        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1057          output.WriteRawMessage(this);
 1058        #else
 1059          if (_unknownFields != null) {
 1060            _unknownFields.WriteTo(output);
 1061          }
 1062        #endif
 1063        }
 1064
 1065        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1066        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1067        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1068        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1069          if (_unknownFields != null) {
 1070            _unknownFields.WriteTo(ref output);
 1071          }
 1072        }
 1073        #endif
 1074
 1075        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1076        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1077        public int CalculateSize() {
 1078          int size = 0;
 1079          if (_unknownFields != null) {
 1080            size += _unknownFields.CalculateSize();
 1081          }
 1082          return size;
 1083        }
 1084
 1085        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1086        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1087        public void MergeFrom(PlaneMesh other) {
 1088          if (other == null) {
 1089            return;
 1090          }
 1091          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1092        }
 1093
 1094        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1095        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1096        public void MergeFrom(pb::CodedInputStream input) {
 1097        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1098          input.ReadRawMessage(this);
 1099        #else
 1100          uint tag;
 1101          while ((tag = input.ReadTag()) != 0) {
 1102            switch(tag) {
 1103              default:
 1104                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1105                break;
 1106            }
 1107          }
 1108        #endif
 1109        }
 1110
 1111        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1112        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1113        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1114        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1115          uint tag;
 1116          while ((tag = input.ReadTag()) != 0) {
 1117            switch(tag) {
 1118              default:
 1119                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1120                break;
 1121            }
 1122          }
 1123        }
 1124        #endif
 1125
 1126      }
 1127
 1128      /// <summary>
 1129      /// SphereMesh is a sphere shape that contains the Entity.
 1130      /// </summary>
 1131      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1132      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1133          , pb::IBufferMessage
 1134      #endif
 1135      {
 1136        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1137        private pb::UnknownFieldSet _unknownFields;
 1138        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1139        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1140        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1141
 1142        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1143        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1144        public static pbr::MessageDescriptor Descriptor {
 1145          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[3]; }
 1146        }
 1147
 1148        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1149        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1150        pbr::MessageDescriptor pb::IMessage.Descriptor {
 1151          get { return Descriptor; }
 1152        }
 1153
 1154        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1155        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1156        public SphereMesh() {
 1157          OnConstruction();
 1158        }
 1159
 1160        partial void OnConstruction();
 1161
 1162        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1163        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1164        public SphereMesh(SphereMesh other) : this() {
 1165          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1166        }
 1167
 1168        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1169        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1170        public SphereMesh Clone() {
 1171          return new SphereMesh(this);
 1172        }
 1173
 1174        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1175        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1176        public override bool Equals(object other) {
 1177          return Equals(other as SphereMesh);
 1178        }
 1179
 1180        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1181        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1182        public bool Equals(SphereMesh other) {
 1183          if (ReferenceEquals(other, null)) {
 1184            return false;
 1185          }
 1186          if (ReferenceEquals(other, this)) {
 1187            return true;
 1188          }
 1189          return Equals(_unknownFields, other._unknownFields);
 1190        }
 1191
 1192        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1193        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1194        public override int GetHashCode() {
 1195          int hash = 1;
 1196          if (_unknownFields != null) {
 1197            hash ^= _unknownFields.GetHashCode();
 1198          }
 1199          return hash;
 1200        }
 1201
 1202        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1203        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1204        public override string ToString() {
 1205          return pb::JsonFormatter.ToDiagnosticString(this);
 1206        }
 1207
 1208        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1209        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1210        public void WriteTo(pb::CodedOutputStream output) {
 1211        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1212          output.WriteRawMessage(this);
 1213        #else
 1214          if (_unknownFields != null) {
 1215            _unknownFields.WriteTo(output);
 1216          }
 1217        #endif
 1218        }
 1219
 1220        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1221        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1222        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1223        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1224          if (_unknownFields != null) {
 1225            _unknownFields.WriteTo(ref output);
 1226          }
 1227        }
 1228        #endif
 1229
 1230        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1231        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1232        public int CalculateSize() {
 1233          int size = 0;
 1234          if (_unknownFields != null) {
 1235            size += _unknownFields.CalculateSize();
 1236          }
 1237          return size;
 1238        }
 1239
 1240        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1241        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1242        public void MergeFrom(SphereMesh other) {
 1243          if (other == null) {
 1244            return;
 1245          }
 1246          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1247        }
 1248
 1249        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1250        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1251        public void MergeFrom(pb::CodedInputStream input) {
 1252        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1253          input.ReadRawMessage(this);
 1254        #else
 1255          uint tag;
 1256          while ((tag = input.ReadTag()) != 0) {
 1257            switch(tag) {
 1258              default:
 1259                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1260                break;
 1261            }
 1262          }
 1263        #endif
 1264        }
 1265
 1266        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1267        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1268        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1269        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1270          uint tag;
 1271          while ((tag = input.ReadTag()) != 0) {
 1272            switch(tag) {
 1273              default:
 1274                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1275                break;
 1276            }
 1277          }
 1278        }
 1279        #endif
 1280
 1281      }
 1282
 1283    }
 1284    #endregion
 1285
 1286  }
 1287
 1288  #endregion
 1289
 1290}
 1291
 1292#endregion Designer generated code