< Summary

Class:DCL.ECSComponents.PBMeshCollider
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/MeshCollider.cs
Covered lines:49
Uncovered lines:283
Coverable lines:332
Total lines:1236
Line coverage:14.7% (49 of 332)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: MeshCollider.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 MeshCollider.proto</summary>
 15  public static partial class MeshColliderReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for MeshCollider.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            "ChJNZXNoQ29sbGlkZXIucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MizAMKDlBC",
 28            "TWVzaENvbGxpZGVyEhsKDmNvbGxpc2lvbl9tYXNrGAEgASgFSAGIAQESNwoD",
 29            "Ym94GAIgASgLMiguZGVjZW50cmFsYW5kLmVjcy5QQk1lc2hDb2xsaWRlci5C",
 30            "b3hNZXNoSAASPQoGc3BoZXJlGAMgASgLMisuZGVjZW50cmFsYW5kLmVjcy5Q",
 31            "Qk1lc2hDb2xsaWRlci5TcGhlcmVNZXNoSAASQQoIY3lsaW5kZXIYBCABKAsy",
 32            "LS5kZWNlbnRyYWxhbmQuZWNzLlBCTWVzaENvbGxpZGVyLkN5bGluZGVyTWVz",
 33            "aEgAEjsKBXBsYW5lGAUgASgLMiouZGVjZW50cmFsYW5kLmVjcy5QQk1lc2hD",
 34            "b2xsaWRlci5QbGFuZU1lc2hIABoJCgdCb3hNZXNoGmQKDEN5bGluZGVyTWVz",
 35            "aBIXCgpyYWRpdXNfdG9wGAEgASgCSACIAQESGgoNcmFkaXVzX2JvdHRvbRgC",
 36            "IAEoAkgBiAEBQg0KC19yYWRpdXNfdG9wQhAKDl9yYWRpdXNfYm90dG9tGgsK",
 37            "CVBsYW5lTWVzaBoMCgpTcGhlcmVNZXNoQgYKBG1lc2hCEQoPX2NvbGxpc2lv",
 38            "bl9tYXNrKjMKDUNvbGxpZGVyTGF5ZXISCAoETm9uZRAAEgsKB1BvaW50ZXIQ",
 39            "ARILCgdQaHlzaWNzEAJCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM="));
 40      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 41          new pbr::FileDescriptor[] { },
 42          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.ColliderLayer), }, null, new pbr::Genera
 43            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider), global::DCL.ECSComponents.PB
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh), global::D
 45            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh), global::DCL.
 46            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh), global::DCL
 47          }));
 48    }
 49    #endregion
 50
 51  }
 52  #region Enums
 53  public enum ColliderLayer {
 54    [pbr::OriginalName("None")] None = 0,
 55    [pbr::OriginalName("Pointer")] Pointer = 1,
 56    [pbr::OriginalName("Physics")] Physics = 2,
 57  }
 58
 59  #endregion
 60
 61  #region Messages
 62  public sealed partial class PBMeshCollider : pb::IMessage<PBMeshCollider>
 63  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 64      , pb::IBufferMessage
 65  #endif
 66  {
 167    private static readonly pb::MessageParser<PBMeshCollider> _parser = new pb::MessageParser<PBMeshCollider>(() => new 
 68    private pb::UnknownFieldSet _unknownFields;
 69    private int _hasBits0;
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 072    public static pb::MessageParser<PBMeshCollider> Parser { get { return _parser; } }
 73
 74    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 75    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 76    public static pbr::MessageDescriptor Descriptor {
 077      get { return global::DCL.ECSComponents.MeshColliderReflection.Descriptor.MessageTypes[0]; }
 78    }
 79
 80    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 81    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 82    pbr::MessageDescriptor pb::IMessage.Descriptor {
 083      get { return Descriptor; }
 84    }
 85
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 188    public PBMeshCollider() {
 89      OnConstruction();
 190    }
 91
 92    partial void OnConstruction();
 93
 94    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 95    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 096    public PBMeshCollider(PBMeshCollider other) : this() {
 097      _hasBits0 = other._hasBits0;
 098      collisionMask_ = other.collisionMask_;
 099      switch (other.MeshCase) {
 100        case MeshOneofCase.Box:
 0101          Box = other.Box.Clone();
 0102          break;
 103        case MeshOneofCase.Sphere:
 0104          Sphere = other.Sphere.Clone();
 0105          break;
 106        case MeshOneofCase.Cylinder:
 0107          Cylinder = other.Cylinder.Clone();
 0108          break;
 109        case MeshOneofCase.Plane:
 0110          Plane = other.Plane.Clone();
 111          break;
 112      }
 113
 0114      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0115    }
 116
 117    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 118    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 119    public PBMeshCollider Clone() {
 0120      return new PBMeshCollider(this);
 121    }
 122
 123    /// <summary>Field number for the "collision_mask" field.</summary>
 124    public const int CollisionMaskFieldNumber = 1;
 125    private int collisionMask_;
 126    /// <summary>
 127    /// default = ColliderLayer.Physics | ColliderLayer.Pointer
 128    /// </summary>
 129    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 130    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 131    public int CollisionMask {
 0132      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 133      set {
 7134        _hasBits0 |= 1;
 7135        collisionMask_ = value;
 7136      }
 137    }
 138    /// <summary>Gets whether the "collision_mask" field is set</summary>
 139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 141    public bool HasCollisionMask {
 0142      get { return (_hasBits0 & 1) != 0; }
 143    }
 144    /// <summary>Clears the value of the "collision_mask" field</summary>
 145    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 146    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 147    public void ClearCollisionMask() {
 0148      _hasBits0 &= ~1;
 0149    }
 150
 151    /// <summary>Field number for the "box" field.</summary>
 152    public const int BoxFieldNumber = 2;
 153    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 154    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 155    public global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh Box {
 2156      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 157      set {
 6158        mesh_ = value;
 6159        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 6160      }
 161    }
 162
 163    /// <summary>Field number for the "sphere" field.</summary>
 164    public const int SphereFieldNumber = 3;
 165    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 166    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 167    public global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh Sphere {
 2168      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 169      set {
 1170        mesh_ = value;
 1171        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1172      }
 173    }
 174
 175    /// <summary>Field number for the "cylinder" field.</summary>
 176    public const int CylinderFieldNumber = 4;
 177    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 178    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 179    public global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh Cylinder {
 10180      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 181      set {
 3182        mesh_ = value;
 3183        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 3184      }
 185    }
 186
 187    /// <summary>Field number for the "plane" field.</summary>
 188    public const int PlaneFieldNumber = 5;
 189    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 190    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 191    public global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh Plane {
 0192      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 193      set {
 4194        mesh_ = value;
 4195        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 4196      }
 197    }
 198
 199    private object mesh_;
 200    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 201    public enum MeshOneofCase {
 202      None = 0,
 203      Box = 2,
 204      Sphere = 3,
 205      Cylinder = 4,
 206      Plane = 5,
 207    }
 208    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 209    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 210    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 211    public MeshOneofCase MeshCase {
 0212      get { return meshCase_; }
 213    }
 214
 215    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 216    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 217    public void ClearMesh() {
 0218      meshCase_ = MeshOneofCase.None;
 0219      mesh_ = null;
 0220    }
 221
 222    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 223    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 224    public override bool Equals(object other) {
 0225      return Equals(other as PBMeshCollider);
 226    }
 227
 228    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 229    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 230    public bool Equals(PBMeshCollider other) {
 7231      if (ReferenceEquals(other, null)) {
 0232        return false;
 233      }
 7234      if (ReferenceEquals(other, this)) {
 0235        return true;
 236      }
 13237      if (CollisionMask != other.CollisionMask) return false;
 1238      if (!object.Equals(Box, other.Box)) return false;
 1239      if (!object.Equals(Sphere, other.Sphere)) return false;
 2240      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0241      if (!object.Equals(Plane, other.Plane)) return false;
 0242      if (MeshCase != other.MeshCase) return false;
 0243      return Equals(_unknownFields, other._unknownFields);
 244    }
 245
 246    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 247    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 248    public override int GetHashCode() {
 0249      int hash = 1;
 0250      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 0251      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 0252      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 0253      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 0254      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 0255      hash ^= (int) meshCase_;
 0256      if (_unknownFields != null) {
 0257        hash ^= _unknownFields.GetHashCode();
 258      }
 0259      return hash;
 260    }
 261
 262    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 263    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 264    public override string ToString() {
 0265      return pb::JsonFormatter.ToDiagnosticString(this);
 266    }
 267
 268    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 269    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 270    public void WriteTo(pb::CodedOutputStream output) {
 271    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 272      output.WriteRawMessage(this);
 273    #else
 0274      if (HasCollisionMask) {
 0275        output.WriteRawTag(8);
 0276        output.WriteInt32(CollisionMask);
 277      }
 0278      if (meshCase_ == MeshOneofCase.Box) {
 0279        output.WriteRawTag(18);
 0280        output.WriteMessage(Box);
 281      }
 0282      if (meshCase_ == MeshOneofCase.Sphere) {
 0283        output.WriteRawTag(26);
 0284        output.WriteMessage(Sphere);
 285      }
 0286      if (meshCase_ == MeshOneofCase.Cylinder) {
 0287        output.WriteRawTag(34);
 0288        output.WriteMessage(Cylinder);
 289      }
 0290      if (meshCase_ == MeshOneofCase.Plane) {
 0291        output.WriteRawTag(42);
 0292        output.WriteMessage(Plane);
 293      }
 0294      if (_unknownFields != null) {
 0295        _unknownFields.WriteTo(output);
 296      }
 297    #endif
 0298    }
 299
 300    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 301    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 302    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 303    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 304      if (HasCollisionMask) {
 305        output.WriteRawTag(8);
 306        output.WriteInt32(CollisionMask);
 307      }
 308      if (meshCase_ == MeshOneofCase.Box) {
 309        output.WriteRawTag(18);
 310        output.WriteMessage(Box);
 311      }
 312      if (meshCase_ == MeshOneofCase.Sphere) {
 313        output.WriteRawTag(26);
 314        output.WriteMessage(Sphere);
 315      }
 316      if (meshCase_ == MeshOneofCase.Cylinder) {
 317        output.WriteRawTag(34);
 318        output.WriteMessage(Cylinder);
 319      }
 320      if (meshCase_ == MeshOneofCase.Plane) {
 321        output.WriteRawTag(42);
 322        output.WriteMessage(Plane);
 323      }
 324      if (_unknownFields != null) {
 325        _unknownFields.WriteTo(ref output);
 326      }
 327    }
 328    #endif
 329
 330    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 331    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 332    public int CalculateSize() {
 0333      int size = 0;
 0334      if (HasCollisionMask) {
 0335        size += 1 + pb::CodedOutputStream.ComputeInt32Size(CollisionMask);
 336      }
 0337      if (meshCase_ == MeshOneofCase.Box) {
 0338        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 339      }
 0340      if (meshCase_ == MeshOneofCase.Sphere) {
 0341        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 342      }
 0343      if (meshCase_ == MeshOneofCase.Cylinder) {
 0344        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 345      }
 0346      if (meshCase_ == MeshOneofCase.Plane) {
 0347        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 348      }
 0349      if (_unknownFields != null) {
 0350        size += _unknownFields.CalculateSize();
 351      }
 0352      return size;
 353    }
 354
 355    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 356    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 357    public void MergeFrom(PBMeshCollider other) {
 0358      if (other == null) {
 0359        return;
 360      }
 0361      if (other.HasCollisionMask) {
 0362        CollisionMask = other.CollisionMask;
 363      }
 0364      switch (other.MeshCase) {
 365        case MeshOneofCase.Box:
 0366          if (Box == null) {
 0367            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 368          }
 0369          Box.MergeFrom(other.Box);
 0370          break;
 371        case MeshOneofCase.Sphere:
 0372          if (Sphere == null) {
 0373            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 374          }
 0375          Sphere.MergeFrom(other.Sphere);
 0376          break;
 377        case MeshOneofCase.Cylinder:
 0378          if (Cylinder == null) {
 0379            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 380          }
 0381          Cylinder.MergeFrom(other.Cylinder);
 0382          break;
 383        case MeshOneofCase.Plane:
 0384          if (Plane == null) {
 0385            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 386          }
 0387          Plane.MergeFrom(other.Plane);
 388          break;
 389      }
 390
 0391      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0392    }
 393
 394    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 395    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 396    public void MergeFrom(pb::CodedInputStream input) {
 397    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 398      input.ReadRawMessage(this);
 399    #else
 400      uint tag;
 0401      while ((tag = input.ReadTag()) != 0) {
 402        switch(tag) {
 403          default:
 0404            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0405            break;
 406          case 8: {
 0407            CollisionMask = input.ReadInt32();
 0408            break;
 409          }
 410          case 18: {
 0411            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 0412            if (meshCase_ == MeshOneofCase.Box) {
 0413              subBuilder.MergeFrom(Box);
 414            }
 0415            input.ReadMessage(subBuilder);
 0416            Box = subBuilder;
 0417            break;
 418          }
 419          case 26: {
 0420            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 0421            if (meshCase_ == MeshOneofCase.Sphere) {
 0422              subBuilder.MergeFrom(Sphere);
 423            }
 0424            input.ReadMessage(subBuilder);
 0425            Sphere = subBuilder;
 0426            break;
 427          }
 428          case 34: {
 0429            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0430            if (meshCase_ == MeshOneofCase.Cylinder) {
 0431              subBuilder.MergeFrom(Cylinder);
 432            }
 0433            input.ReadMessage(subBuilder);
 0434            Cylinder = subBuilder;
 0435            break;
 436          }
 437          case 42: {
 0438            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 0439            if (meshCase_ == MeshOneofCase.Plane) {
 0440              subBuilder.MergeFrom(Plane);
 441            }
 0442            input.ReadMessage(subBuilder);
 0443            Plane = subBuilder;
 444            break;
 445          }
 446        }
 447      }
 448    #endif
 0449    }
 450
 451    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 452    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 453    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 454    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 455      uint tag;
 456      while ((tag = input.ReadTag()) != 0) {
 457        switch(tag) {
 458          default:
 459            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 460            break;
 461          case 8: {
 462            CollisionMask = input.ReadInt32();
 463            break;
 464          }
 465          case 18: {
 466            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 467            if (meshCase_ == MeshOneofCase.Box) {
 468              subBuilder.MergeFrom(Box);
 469            }
 470            input.ReadMessage(subBuilder);
 471            Box = subBuilder;
 472            break;
 473          }
 474          case 26: {
 475            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 476            if (meshCase_ == MeshOneofCase.Sphere) {
 477              subBuilder.MergeFrom(Sphere);
 478            }
 479            input.ReadMessage(subBuilder);
 480            Sphere = subBuilder;
 481            break;
 482          }
 483          case 34: {
 484            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 485            if (meshCase_ == MeshOneofCase.Cylinder) {
 486              subBuilder.MergeFrom(Cylinder);
 487            }
 488            input.ReadMessage(subBuilder);
 489            Cylinder = subBuilder;
 490            break;
 491          }
 492          case 42: {
 493            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 494            if (meshCase_ == MeshOneofCase.Plane) {
 495              subBuilder.MergeFrom(Plane);
 496            }
 497            input.ReadMessage(subBuilder);
 498            Plane = subBuilder;
 499            break;
 500          }
 501        }
 502      }
 503    }
 504    #endif
 505
 506    #region Nested types
 507    /// <summary>Container for nested types declared in the PBMeshCollider message type.</summary>
 508    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 509    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 510    public static partial class Types {
 511      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 512      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 513          , pb::IBufferMessage
 514      #endif
 515      {
 1516        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 517        private pb::UnknownFieldSet _unknownFields;
 518        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 519        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0520        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 521
 522        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 523        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 524        public static pbr::MessageDescriptor Descriptor {
 0525          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[0]; }
 526        }
 527
 528        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 529        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 530        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0531          get { return Descriptor; }
 532        }
 533
 534        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 535        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1536        public BoxMesh() {
 537          OnConstruction();
 1538        }
 539
 540        partial void OnConstruction();
 541
 542        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 543        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0544        public BoxMesh(BoxMesh other) : this() {
 0545          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0546        }
 547
 548        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 549        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 550        public BoxMesh Clone() {
 0551          return new BoxMesh(this);
 552        }
 553
 554        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 555        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 556        public override bool Equals(object other) {
 0557          return Equals(other as BoxMesh);
 558        }
 559
 560        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 561        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 562        public bool Equals(BoxMesh other) {
 0563          if (ReferenceEquals(other, null)) {
 0564            return false;
 565          }
 0566          if (ReferenceEquals(other, this)) {
 0567            return true;
 568          }
 0569          return Equals(_unknownFields, other._unknownFields);
 570        }
 571
 572        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 573        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 574        public override int GetHashCode() {
 0575          int hash = 1;
 0576          if (_unknownFields != null) {
 0577            hash ^= _unknownFields.GetHashCode();
 578          }
 0579          return hash;
 580        }
 581
 582        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 583        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 584        public override string ToString() {
 0585          return pb::JsonFormatter.ToDiagnosticString(this);
 586        }
 587
 588        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 589        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 590        public void WriteTo(pb::CodedOutputStream output) {
 591        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 592          output.WriteRawMessage(this);
 593        #else
 0594          if (_unknownFields != null) {
 0595            _unknownFields.WriteTo(output);
 596          }
 597        #endif
 0598        }
 599
 600        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 601        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 602        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 603        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 604          if (_unknownFields != null) {
 605            _unknownFields.WriteTo(ref output);
 606          }
 607        }
 608        #endif
 609
 610        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 611        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 612        public int CalculateSize() {
 0613          int size = 0;
 0614          if (_unknownFields != null) {
 0615            size += _unknownFields.CalculateSize();
 616          }
 0617          return size;
 618        }
 619
 620        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 621        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 622        public void MergeFrom(BoxMesh other) {
 0623          if (other == null) {
 0624            return;
 625          }
 0626          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0627        }
 628
 629        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 630        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 631        public void MergeFrom(pb::CodedInputStream input) {
 632        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 633          input.ReadRawMessage(this);
 634        #else
 635          uint tag;
 0636          while ((tag = input.ReadTag()) != 0) {
 637            switch(tag) {
 638              default:
 0639                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 640                break;
 641            }
 642          }
 643        #endif
 0644        }
 645
 646        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 647        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 648        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 649        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 650          uint tag;
 651          while ((tag = input.ReadTag()) != 0) {
 652            switch(tag) {
 653              default:
 654                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 655                break;
 656            }
 657          }
 658        }
 659        #endif
 660
 661      }
 662
 663      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 664      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 665          , pb::IBufferMessage
 666      #endif
 667      {
 1668        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 669        private pb::UnknownFieldSet _unknownFields;
 670        private int _hasBits0;
 671        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 672        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0673        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 674
 675        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 676        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 677        public static pbr::MessageDescriptor Descriptor {
 0678          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[1]; }
 679        }
 680
 681        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 682        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 683        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0684          get { return Descriptor; }
 685        }
 686
 687        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 688        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1689        public CylinderMesh() {
 690          OnConstruction();
 1691        }
 692
 693        partial void OnConstruction();
 694
 695        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 696        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0697        public CylinderMesh(CylinderMesh other) : this() {
 0698          _hasBits0 = other._hasBits0;
 0699          radiusTop_ = other.radiusTop_;
 0700          radiusBottom_ = other.radiusBottom_;
 0701          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0702        }
 703
 704        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 705        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 706        public CylinderMesh Clone() {
 0707          return new CylinderMesh(this);
 708        }
 709
 710        /// <summary>Field number for the "radius_top" field.</summary>
 711        public const int RadiusTopFieldNumber = 1;
 712        private float radiusTop_;
 713        /// <summary>
 714        /// default=1.0
 715        /// </summary>
 716        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 717        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 718        public float RadiusTop {
 8719          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 720          set {
 0721            _hasBits0 |= 1;
 0722            radiusTop_ = value;
 0723          }
 724        }
 725        /// <summary>Gets whether the "radius_top" field is set</summary>
 726        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 727        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 728        public bool HasRadiusTop {
 0729          get { return (_hasBits0 & 1) != 0; }
 730        }
 731        /// <summary>Clears the value of the "radius_top" field</summary>
 732        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 733        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 734        public void ClearRadiusTop() {
 0735          _hasBits0 &= ~1;
 0736        }
 737
 738        /// <summary>Field number for the "radius_bottom" field.</summary>
 739        public const int RadiusBottomFieldNumber = 2;
 740        private float radiusBottom_;
 741        /// <summary>
 742        /// default=1.0
 743        /// </summary>
 744        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 745        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 746        public float RadiusBottom {
 10747          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 748          set {
 1749            _hasBits0 |= 2;
 1750            radiusBottom_ = value;
 1751          }
 752        }
 753        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 754        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 755        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 756        public bool HasRadiusBottom {
 0757          get { return (_hasBits0 & 2) != 0; }
 758        }
 759        /// <summary>Clears the value of the "radius_bottom" field</summary>
 760        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 761        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 762        public void ClearRadiusBottom() {
 0763          _hasBits0 &= ~2;
 0764        }
 765
 766        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 767        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 768        public override bool Equals(object other) {
 1769          return Equals(other as CylinderMesh);
 770        }
 771
 772        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 773        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 774        public bool Equals(CylinderMesh other) {
 2775          if (ReferenceEquals(other, null)) {
 0776            return false;
 777          }
 2778          if (ReferenceEquals(other, this)) {
 0779            return true;
 780          }
 2781          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 4782          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0783          return Equals(_unknownFields, other._unknownFields);
 784        }
 785
 786        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 787        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 788        public override int GetHashCode() {
 0789          int hash = 1;
 0790          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 0791          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 0792          if (_unknownFields != null) {
 0793            hash ^= _unknownFields.GetHashCode();
 794          }
 0795          return hash;
 796        }
 797
 798        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 799        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 800        public override string ToString() {
 0801          return pb::JsonFormatter.ToDiagnosticString(this);
 802        }
 803
 804        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 805        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 806        public void WriteTo(pb::CodedOutputStream output) {
 807        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 808          output.WriteRawMessage(this);
 809        #else
 0810          if (HasRadiusTop) {
 0811            output.WriteRawTag(13);
 0812            output.WriteFloat(RadiusTop);
 813          }
 0814          if (HasRadiusBottom) {
 0815            output.WriteRawTag(21);
 0816            output.WriteFloat(RadiusBottom);
 817          }
 0818          if (_unknownFields != null) {
 0819            _unknownFields.WriteTo(output);
 820          }
 821        #endif
 0822        }
 823
 824        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 825        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 826        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 827        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 828          if (HasRadiusTop) {
 829            output.WriteRawTag(13);
 830            output.WriteFloat(RadiusTop);
 831          }
 832          if (HasRadiusBottom) {
 833            output.WriteRawTag(21);
 834            output.WriteFloat(RadiusBottom);
 835          }
 836          if (_unknownFields != null) {
 837            _unknownFields.WriteTo(ref output);
 838          }
 839        }
 840        #endif
 841
 842        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 843        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 844        public int CalculateSize() {
 0845          int size = 0;
 0846          if (HasRadiusTop) {
 0847            size += 1 + 4;
 848          }
 0849          if (HasRadiusBottom) {
 0850            size += 1 + 4;
 851          }
 0852          if (_unknownFields != null) {
 0853            size += _unknownFields.CalculateSize();
 854          }
 0855          return size;
 856        }
 857
 858        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 859        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 860        public void MergeFrom(CylinderMesh other) {
 0861          if (other == null) {
 0862            return;
 863          }
 0864          if (other.HasRadiusTop) {
 0865            RadiusTop = other.RadiusTop;
 866          }
 0867          if (other.HasRadiusBottom) {
 0868            RadiusBottom = other.RadiusBottom;
 869          }
 0870          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0871        }
 872
 873        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 874        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 875        public void MergeFrom(pb::CodedInputStream input) {
 876        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 877          input.ReadRawMessage(this);
 878        #else
 879          uint tag;
 0880          while ((tag = input.ReadTag()) != 0) {
 881            switch(tag) {
 882              default:
 0883                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0884                break;
 885              case 13: {
 0886                RadiusTop = input.ReadFloat();
 0887                break;
 888              }
 889              case 21: {
 0890                RadiusBottom = input.ReadFloat();
 891                break;
 892              }
 893            }
 894          }
 895        #endif
 0896        }
 897
 898        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 899        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 900        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 901        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 902          uint tag;
 903          while ((tag = input.ReadTag()) != 0) {
 904            switch(tag) {
 905              default:
 906                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 907                break;
 908              case 13: {
 909                RadiusTop = input.ReadFloat();
 910                break;
 911              }
 912              case 21: {
 913                RadiusBottom = input.ReadFloat();
 914                break;
 915              }
 916            }
 917          }
 918        }
 919        #endif
 920
 921      }
 922
 923      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 924      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 925          , pb::IBufferMessage
 926      #endif
 927      {
 1928        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 929        private pb::UnknownFieldSet _unknownFields;
 930        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 931        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0932        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 933
 934        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 935        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 936        public static pbr::MessageDescriptor Descriptor {
 0937          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[2]; }
 938        }
 939
 940        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 941        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 942        pbr::MessageDescriptor pb::IMessage.Descriptor {
 0943          get { return Descriptor; }
 944        }
 945
 946        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 947        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3948        public PlaneMesh() {
 949          OnConstruction();
 3950        }
 951
 952        partial void OnConstruction();
 953
 954        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 955        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0956        public PlaneMesh(PlaneMesh other) : this() {
 0957          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0958        }
 959
 960        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 961        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 962        public PlaneMesh Clone() {
 0963          return new PlaneMesh(this);
 964        }
 965
 966        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 967        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 968        public override bool Equals(object other) {
 0969          return Equals(other as PlaneMesh);
 970        }
 971
 972        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 973        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 974        public bool Equals(PlaneMesh other) {
 0975          if (ReferenceEquals(other, null)) {
 0976            return false;
 977          }
 0978          if (ReferenceEquals(other, this)) {
 0979            return true;
 980          }
 0981          return Equals(_unknownFields, other._unknownFields);
 982        }
 983
 984        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 985        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 986        public override int GetHashCode() {
 0987          int hash = 1;
 0988          if (_unknownFields != null) {
 0989            hash ^= _unknownFields.GetHashCode();
 990          }
 0991          return hash;
 992        }
 993
 994        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 995        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 996        public override string ToString() {
 0997          return pb::JsonFormatter.ToDiagnosticString(this);
 998        }
 999
 1000        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1001        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1002        public void WriteTo(pb::CodedOutputStream output) {
 1003        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1004          output.WriteRawMessage(this);
 1005        #else
 01006          if (_unknownFields != null) {
 01007            _unknownFields.WriteTo(output);
 1008          }
 1009        #endif
 01010        }
 1011
 1012        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1013        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1014        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1015        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1016          if (_unknownFields != null) {
 1017            _unknownFields.WriteTo(ref output);
 1018          }
 1019        }
 1020        #endif
 1021
 1022        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1023        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1024        public int CalculateSize() {
 01025          int size = 0;
 01026          if (_unknownFields != null) {
 01027            size += _unknownFields.CalculateSize();
 1028          }
 01029          return size;
 1030        }
 1031
 1032        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1033        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1034        public void MergeFrom(PlaneMesh other) {
 01035          if (other == null) {
 01036            return;
 1037          }
 01038          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01039        }
 1040
 1041        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1042        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1043        public void MergeFrom(pb::CodedInputStream input) {
 1044        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1045          input.ReadRawMessage(this);
 1046        #else
 1047          uint tag;
 01048          while ((tag = input.ReadTag()) != 0) {
 1049            switch(tag) {
 1050              default:
 01051                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1052                break;
 1053            }
 1054          }
 1055        #endif
 01056        }
 1057
 1058        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1059        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1060        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1061        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1062          uint tag;
 1063          while ((tag = input.ReadTag()) != 0) {
 1064            switch(tag) {
 1065              default:
 1066                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1067                break;
 1068            }
 1069          }
 1070        }
 1071        #endif
 1072
 1073      }
 1074
 1075      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1076      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1077          , pb::IBufferMessage
 1078      #endif
 1079      {
 11080        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1081        private pb::UnknownFieldSet _unknownFields;
 1082        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1083        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01084        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1085
 1086        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1087        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1088        public static pbr::MessageDescriptor Descriptor {
 01089          get { return global::DCL.ECSComponents.PBMeshCollider.Descriptor.NestedTypes[3]; }
 1090        }
 1091
 1092        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1093        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1094        pbr::MessageDescriptor pb::IMessage.Descriptor {
 01095          get { return Descriptor; }
 1096        }
 1097
 1098        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1099        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11100        public SphereMesh() {
 1101          OnConstruction();
 11102        }
 1103
 1104        partial void OnConstruction();
 1105
 1106        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1107        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01108        public SphereMesh(SphereMesh other) : this() {
 01109          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01110        }
 1111
 1112        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1113        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1114        public SphereMesh Clone() {
 01115          return new SphereMesh(this);
 1116        }
 1117
 1118        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1119        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1120        public override bool Equals(object other) {
 01121          return Equals(other as SphereMesh);
 1122        }
 1123
 1124        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1125        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1126        public bool Equals(SphereMesh other) {
 01127          if (ReferenceEquals(other, null)) {
 01128            return false;
 1129          }
 01130          if (ReferenceEquals(other, this)) {
 01131            return true;
 1132          }
 01133          return Equals(_unknownFields, other._unknownFields);
 1134        }
 1135
 1136        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1137        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1138        public override int GetHashCode() {
 01139          int hash = 1;
 01140          if (_unknownFields != null) {
 01141            hash ^= _unknownFields.GetHashCode();
 1142          }
 01143          return hash;
 1144        }
 1145
 1146        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1147        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1148        public override string ToString() {
 01149          return pb::JsonFormatter.ToDiagnosticString(this);
 1150        }
 1151
 1152        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1153        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1154        public void WriteTo(pb::CodedOutputStream output) {
 1155        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1156          output.WriteRawMessage(this);
 1157        #else
 01158          if (_unknownFields != null) {
 01159            _unknownFields.WriteTo(output);
 1160          }
 1161        #endif
 01162        }
 1163
 1164        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1165        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1166        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1167        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1168          if (_unknownFields != null) {
 1169            _unknownFields.WriteTo(ref output);
 1170          }
 1171        }
 1172        #endif
 1173
 1174        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1175        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1176        public int CalculateSize() {
 01177          int size = 0;
 01178          if (_unknownFields != null) {
 01179            size += _unknownFields.CalculateSize();
 1180          }
 01181          return size;
 1182        }
 1183
 1184        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1185        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1186        public void MergeFrom(SphereMesh other) {
 01187          if (other == null) {
 01188            return;
 1189          }
 01190          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01191        }
 1192
 1193        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1194        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1195        public void MergeFrom(pb::CodedInputStream input) {
 1196        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1197          input.ReadRawMessage(this);
 1198        #else
 1199          uint tag;
 01200          while ((tag = input.ReadTag()) != 0) {
 1201            switch(tag) {
 1202              default:
 01203                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1204                break;
 1205            }
 1206          }
 1207        #endif
 01208        }
 1209
 1210        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1211        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1212        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1213        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1214          uint tag;
 1215          while ((tag = input.ReadTag()) != 0) {
 1216            switch(tag) {
 1217              default:
 1218                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1219                break;
 1220            }
 1221          }
 1222        }
 1223        #endif
 1224
 1225      }
 1226
 1227    }
 1228    #endregion
 1229
 1230  }
 1231
 1232  #endregion
 1233
 1234}
 1235
 1236#endregion Designer generated code

Methods/Properties

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