< Summary

Class:DCL.ECSComponents.MeshColliderReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/MeshCollider.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:1237
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

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