< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/mesh_collider.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/mesh_collider.proto</summary
 15  public static partial class MeshColliderReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/mesh_collider.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshColliderReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ci9kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvbWVzaF9jb2xsaWRlci5w",
 28            "cm90bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzIvgDCg5QQk1lc2hD",
 29            "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=="));
 48      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          }));
 56    }
 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  {
 1111    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)]
 0116    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 {
 0121      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 {
 0127      get { return Descriptor; }
 128    }
 129
 130    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 131    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 14132    public PBMeshCollider() {
 133      OnConstruction();
 14134    }
 135
 136    partial void OnConstruction();
 137
 138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0140    public PBMeshCollider(PBMeshCollider other) : this() {
 0141      _hasBits0 = other._hasBits0;
 0142      collisionMask_ = other.collisionMask_;
 0143      switch (other.MeshCase) {
 144        case MeshOneofCase.Box:
 0145          Box = other.Box.Clone();
 0146          break;
 147        case MeshOneofCase.Sphere:
 0148          Sphere = other.Sphere.Clone();
 0149          break;
 150        case MeshOneofCase.Cylinder:
 0151          Cylinder = other.Cylinder.Clone();
 0152          break;
 153        case MeshOneofCase.Plane:
 0154          Plane = other.Plane.Clone();
 155          break;
 156      }
 157
 0158      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0159    }
 160
 161    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public PBMeshCollider Clone() {
 0164      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 {
 56176      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 177      set {
 7178        _hasBits0 |= 1;
 7179        collisionMask_ = value;
 7180      }
 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 {
 28186      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() {
 0192      _hasBits0 &= ~1;
 0193    }
 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 {
 2200      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 201      set {
 6202        mesh_ = value;
 6203        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 6204      }
 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 {
 2212      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 213      set {
 1214        mesh_ = value;
 1215        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1216      }
 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 {
 10224      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 225      set {
 3226        mesh_ = value;
 3227        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 3228      }
 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 {
 0236      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 237      set {
 4238        mesh_ = value;
 4239        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 4240      }
 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 {
 36256      get { return meshCase_; }
 257    }
 258
 259    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 260    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 261    public void ClearMesh() {
 0262      meshCase_ = MeshOneofCase.None;
 0263      mesh_ = null;
 0264    }
 265
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public override bool Equals(object other) {
 0269      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) {
 7275      if (ReferenceEquals(other, null)) {
 0276        return false;
 277      }
 7278      if (ReferenceEquals(other, this)) {
 0279        return true;
 280      }
 13281      if (CollisionMask != other.CollisionMask) return false;
 1282      if (!object.Equals(Box, other.Box)) return false;
 1283      if (!object.Equals(Sphere, other.Sphere)) return false;
 2284      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0285      if (!object.Equals(Plane, other.Plane)) return false;
 0286      if (MeshCase != other.MeshCase) return false;
 0287      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() {
 0293      int hash = 1;
 0294      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 0295      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 0296      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 0297      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 0298      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 0299      hash ^= (int) meshCase_;
 0300      if (_unknownFields != null) {
 0301        hash ^= _unknownFields.GetHashCode();
 302      }
 0303      return hash;
 304    }
 305
 306    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 307    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 308    public override string ToString() {
 0309      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
 0318      if (HasCollisionMask) {
 0319        output.WriteRawTag(8);
 0320        output.WriteUInt32(CollisionMask);
 321      }
 0322      if (meshCase_ == MeshOneofCase.Box) {
 0323        output.WriteRawTag(18);
 0324        output.WriteMessage(Box);
 325      }
 0326      if (meshCase_ == MeshOneofCase.Sphere) {
 0327        output.WriteRawTag(26);
 0328        output.WriteMessage(Sphere);
 329      }
 0330      if (meshCase_ == MeshOneofCase.Cylinder) {
 0331        output.WriteRawTag(34);
 0332        output.WriteMessage(Cylinder);
 333      }
 0334      if (meshCase_ == MeshOneofCase.Plane) {
 0335        output.WriteRawTag(42);
 0336        output.WriteMessage(Plane);
 337      }
 0338      if (_unknownFields != null) {
 0339        _unknownFields.WriteTo(output);
 340      }
 341    #endif
 0342    }
 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() {
 0377      int size = 0;
 0378      if (HasCollisionMask) {
 0379        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CollisionMask);
 380      }
 0381      if (meshCase_ == MeshOneofCase.Box) {
 0382        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 383      }
 0384      if (meshCase_ == MeshOneofCase.Sphere) {
 0385        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 386      }
 0387      if (meshCase_ == MeshOneofCase.Cylinder) {
 0388        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 389      }
 0390      if (meshCase_ == MeshOneofCase.Plane) {
 0391        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 392      }
 0393      if (_unknownFields != null) {
 0394        size += _unknownFields.CalculateSize();
 395      }
 0396      return size;
 397    }
 398
 399    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 400    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 401    public void MergeFrom(PBMeshCollider other) {
 0402      if (other == null) {
 0403        return;
 404      }
 0405      if (other.HasCollisionMask) {
 0406        CollisionMask = other.CollisionMask;
 407      }
 0408      switch (other.MeshCase) {
 409        case MeshOneofCase.Box:
 0410          if (Box == null) {
 0411            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 412          }
 0413          Box.MergeFrom(other.Box);
 0414          break;
 415        case MeshOneofCase.Sphere:
 0416          if (Sphere == null) {
 0417            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 418          }
 0419          Sphere.MergeFrom(other.Sphere);
 0420          break;
 421        case MeshOneofCase.Cylinder:
 0422          if (Cylinder == null) {
 0423            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 424          }
 0425          Cylinder.MergeFrom(other.Cylinder);
 0426          break;
 427        case MeshOneofCase.Plane:
 0428          if (Plane == null) {
 0429            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 430          }
 0431          Plane.MergeFrom(other.Plane);
 432          break;
 433      }
 434
 0435      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0436    }
 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;
 0445      while ((tag = input.ReadTag()) != 0) {
 446        switch(tag) {
 447          default:
 0448            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0449            break;
 450          case 8: {
 0451            CollisionMask = input.ReadUInt32();
 0452            break;
 453          }
 454          case 18: {
 0455            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 0456            if (meshCase_ == MeshOneofCase.Box) {
 0457              subBuilder.MergeFrom(Box);
 458            }
 0459            input.ReadMessage(subBuilder);
 0460            Box = subBuilder;
 0461            break;
 462          }
 463          case 26: {
 0464            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 0465            if (meshCase_ == MeshOneofCase.Sphere) {
 0466              subBuilder.MergeFrom(Sphere);
 467            }
 0468            input.ReadMessage(subBuilder);
 0469            Sphere = subBuilder;
 0470            break;
 471          }
 472          case 34: {
 0473            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0474            if (meshCase_ == MeshOneofCase.Cylinder) {
 0475              subBuilder.MergeFrom(Cylinder);
 476            }
 0477            input.ReadMessage(subBuilder);
 0478            Cylinder = subBuilder;
 0479            break;
 480          }
 481          case 42: {
 0482            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 0483            if (meshCase_ == MeshOneofCase.Plane) {
 0484              subBuilder.MergeFrom(Plane);
 485            }
 0486            input.ReadMessage(subBuilder);
 0487            Plane = subBuilder;
 488            break;
 489          }
 490        }
 491      }
 492    #endif
 0493    }
 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      {
 1563        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)]
 0567        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 {
 0572          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 {
 0578          get { return Descriptor; }
 579        }
 580
 581        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 582        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 6583        public BoxMesh() {
 584          OnConstruction();
 6585        }
 586
 587        partial void OnConstruction();
 588
 589        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 590        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0591        public BoxMesh(BoxMesh other) : this() {
 0592          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0593        }
 594
 595        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 596        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 597        public BoxMesh Clone() {
 0598          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) {
 0604          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) {
 0610          if (ReferenceEquals(other, null)) {
 0611            return false;
 612          }
 0613          if (ReferenceEquals(other, this)) {
 0614            return true;
 615          }
 0616          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() {
 0622          int hash = 1;
 0623          if (_unknownFields != null) {
 0624            hash ^= _unknownFields.GetHashCode();
 625          }
 0626          return hash;
 627        }
 628
 629        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 630        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 631        public override string ToString() {
 0632          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
 0641          if (_unknownFields != null) {
 0642            _unknownFields.WriteTo(output);
 643          }
 644        #endif
 0645        }
 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() {
 0660          int size = 0;
 0661          if (_unknownFields != null) {
 0662            size += _unknownFields.CalculateSize();
 663          }
 0664          return size;
 665        }
 666
 667        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 668        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 669        public void MergeFrom(BoxMesh other) {
 0670          if (other == null) {
 0671            return;
 672          }
 0673          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0674        }
 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;
 0683          while ((tag = input.ReadTag()) != 0) {
 684            switch(tag) {
 685              default:
 0686                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 687                break;
 688            }
 689          }
 690        #endif
 0691        }
 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      {
 1718        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)]
 0723        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 {
 0728          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 {
 0734          get { return Descriptor; }
 735        }
 736
 737        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 738        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3739        public CylinderMesh() {
 740          OnConstruction();
 3741        }
 742
 743        partial void OnConstruction();
 744
 745        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 746        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0747        public CylinderMesh(CylinderMesh other) : this() {
 0748          _hasBits0 = other._hasBits0;
 0749          radiusTop_ = other.radiusTop_;
 0750          radiusBottom_ = other.radiusBottom_;
 0751          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0752        }
 753
 754        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 755        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 756        public CylinderMesh Clone() {
 0757          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 {
 8769          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 770          set {
 0771            _hasBits0 |= 1;
 0772            radiusTop_ = value;
 0773          }
 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 {
 3779          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() {
 0785          _hasBits0 &= ~1;
 0786        }
 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 {
 10797          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 798          set {
 1799            _hasBits0 |= 2;
 1800            radiusBottom_ = value;
 1801          }
 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 {
 3807          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() {
 0813          _hasBits0 &= ~2;
 0814        }
 815
 816        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 817        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 818        public override bool Equals(object other) {
 1819          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) {
 2825          if (ReferenceEquals(other, null)) {
 0826            return false;
 827          }
 2828          if (ReferenceEquals(other, this)) {
 0829            return true;
 830          }
 2831          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 4832          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0833          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() {
 0839          int hash = 1;
 0840          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 0841          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 0842          if (_unknownFields != null) {
 0843            hash ^= _unknownFields.GetHashCode();
 844          }
 0845          return hash;
 846        }
 847
 848        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 849        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 850        public override string ToString() {
 0851          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
 0860          if (HasRadiusTop) {
 0861            output.WriteRawTag(13);
 0862            output.WriteFloat(RadiusTop);
 863          }
 0864          if (HasRadiusBottom) {
 0865            output.WriteRawTag(21);
 0866            output.WriteFloat(RadiusBottom);
 867          }
 0868          if (_unknownFields != null) {
 0869            _unknownFields.WriteTo(output);
 870          }
 871        #endif
 0872        }
 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() {
 0895          int size = 0;
 0896          if (HasRadiusTop) {
 0897            size += 1 + 4;
 898          }
 0899          if (HasRadiusBottom) {
 0900            size += 1 + 4;
 901          }
 0902          if (_unknownFields != null) {
 0903            size += _unknownFields.CalculateSize();
 904          }
 0905          return size;
 906        }
 907
 908        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 909        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 910        public void MergeFrom(CylinderMesh other) {
 0911          if (other == null) {
 0912            return;
 913          }
 0914          if (other.HasRadiusTop) {
 0915            RadiusTop = other.RadiusTop;
 916          }
 0917          if (other.HasRadiusBottom) {
 0918            RadiusBottom = other.RadiusBottom;
 919          }
 0920          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0921        }
 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;
 0930          while ((tag = input.ReadTag()) != 0) {
 931            switch(tag) {
 932              default:
 0933                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0934                break;
 935              case 13: {
 0936                RadiusTop = input.ReadFloat();
 0937                break;
 938              }
 939              case 21: {
 0940                RadiusBottom = input.ReadFloat();
 941                break;
 942              }
 943            }
 944          }
 945        #endif
 0946        }
 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      {
 1981        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)]
 0985        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 {
 0990          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 {
 0996          get { return Descriptor; }
 997        }
 998
 999        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1000        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 41001        public PlaneMesh() {
 1002          OnConstruction();
 41003        }
 1004
 1005        partial void OnConstruction();
 1006
 1007        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1008        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01009        public PlaneMesh(PlaneMesh other) : this() {
 01010          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01011        }
 1012
 1013        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1014        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1015        public PlaneMesh Clone() {
 01016          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) {
 01022          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) {
 01028          if (ReferenceEquals(other, null)) {
 01029            return false;
 1030          }
 01031          if (ReferenceEquals(other, this)) {
 01032            return true;
 1033          }
 01034          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() {
 01040          int hash = 1;
 01041          if (_unknownFields != null) {
 01042            hash ^= _unknownFields.GetHashCode();
 1043          }
 01044          return hash;
 1045        }
 1046
 1047        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1048        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1049        public override string ToString() {
 01050          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
 01059          if (_unknownFields != null) {
 01060            _unknownFields.WriteTo(output);
 1061          }
 1062        #endif
 01063        }
 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() {
 01078          int size = 0;
 01079          if (_unknownFields != null) {
 01080            size += _unknownFields.CalculateSize();
 1081          }
 01082          return size;
 1083        }
 1084
 1085        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1086        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1087        public void MergeFrom(PlaneMesh other) {
 01088          if (other == null) {
 01089            return;
 1090          }
 01091          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01092        }
 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;
 01101          while ((tag = input.ReadTag()) != 0) {
 1102            switch(tag) {
 1103              default:
 01104                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1105                break;
 1106            }
 1107          }
 1108        #endif
 01109        }
 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      {
 11136        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)]
 01140        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 {
 01145          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 {
 01151          get { return Descriptor; }
 1152        }
 1153
 1154        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1155        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11156        public SphereMesh() {
 1157          OnConstruction();
 11158        }
 1159
 1160        partial void OnConstruction();
 1161
 1162        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1163        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01164        public SphereMesh(SphereMesh other) : this() {
 01165          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01166        }
 1167
 1168        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1169        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1170        public SphereMesh Clone() {
 01171          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) {
 01177          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) {
 01183          if (ReferenceEquals(other, null)) {
 01184            return false;
 1185          }
 01186          if (ReferenceEquals(other, this)) {
 01187            return true;
 1188          }
 01189          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() {
 01195          int hash = 1;
 01196          if (_unknownFields != null) {
 01197            hash ^= _unknownFields.GetHashCode();
 1198          }
 01199          return hash;
 1200        }
 1201
 1202        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1203        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1204        public override string ToString() {
 01205          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
 01214          if (_unknownFields != null) {
 01215            _unknownFields.WriteTo(output);
 1216          }
 1217        #endif
 01218        }
 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() {
 01233          int size = 0;
 01234          if (_unknownFields != null) {
 01235            size += _unknownFields.CalculateSize();
 1236          }
 01237          return size;
 1238        }
 1239
 1240        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1241        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1242        public void MergeFrom(SphereMesh other) {
 01243          if (other == null) {
 01244            return;
 1245          }
 01246          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01247        }
 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;
 01256          while ((tag = input.ReadTag()) != 0) {
 1257            switch(tag) {
 1258              default:
 01259                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1260                break;
 1261            }
 1262          }
 1263        #endif
 01264        }
 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

Methods/Properties

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