< Summary

Class:DCL.ECSComponents.PBMeshCollider
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/MeshCollider.gen.cs
Covered lines:49
Uncovered lines:283
Coverable lines:332
Total lines:1237
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/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 {
 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            "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="));
 41      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          }));
 49    }
 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  {
 168    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)]
 073    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 {
 078      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 {
 084      get { return Descriptor; }
 85    }
 86
 87    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 88    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 189    public PBMeshCollider() {
 90      OnConstruction();
 191    }
 92
 93    partial void OnConstruction();
 94
 95    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 96    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 097    public PBMeshCollider(PBMeshCollider other) : this() {
 098      _hasBits0 = other._hasBits0;
 099      collisionMask_ = other.collisionMask_;
 0100      switch (other.MeshCase) {
 101        case MeshOneofCase.Box:
 0102          Box = other.Box.Clone();
 0103          break;
 104        case MeshOneofCase.Sphere:
 0105          Sphere = other.Sphere.Clone();
 0106          break;
 107        case MeshOneofCase.Cylinder:
 0108          Cylinder = other.Cylinder.Clone();
 0109          break;
 110        case MeshOneofCase.Plane:
 0111          Plane = other.Plane.Clone();
 112          break;
 113      }
 114
 0115      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0116    }
 117
 118    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 119    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 120    public PBMeshCollider Clone() {
 0121      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 {
 0133      get { if ((_hasBits0 & 1) != 0) { return collisionMask_; } else { return 0; } }
 134      set {
 7135        _hasBits0 |= 1;
 7136        collisionMask_ = value;
 7137      }
 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 {
 0143      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() {
 0149      _hasBits0 &= ~1;
 0150    }
 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 {
 2157      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh) mesh_ : nul
 158      set {
 6159        mesh_ = value;
 6160        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 6161      }
 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 {
 2169      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh) mesh_
 170      set {
 1171        mesh_ = value;
 1172        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1173      }
 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 {
 10181      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh) m
 182      set {
 3183        mesh_ = value;
 3184        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 3185      }
 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 {
 0193      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh) mesh_ :
 194      set {
 4195        mesh_ = value;
 4196        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 4197      }
 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 {
 0213      get { return meshCase_; }
 214    }
 215
 216    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 217    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 218    public void ClearMesh() {
 0219      meshCase_ = MeshOneofCase.None;
 0220      mesh_ = null;
 0221    }
 222
 223    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 224    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 225    public override bool Equals(object other) {
 0226      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) {
 7232      if (ReferenceEquals(other, null)) {
 0233        return false;
 234      }
 7235      if (ReferenceEquals(other, this)) {
 0236        return true;
 237      }
 13238      if (CollisionMask != other.CollisionMask) return false;
 1239      if (!object.Equals(Box, other.Box)) return false;
 1240      if (!object.Equals(Sphere, other.Sphere)) return false;
 2241      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0242      if (!object.Equals(Plane, other.Plane)) return false;
 0243      if (MeshCase != other.MeshCase) return false;
 0244      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() {
 0250      int hash = 1;
 0251      if (HasCollisionMask) hash ^= CollisionMask.GetHashCode();
 0252      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 0253      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 0254      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 0255      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 0256      hash ^= (int) meshCase_;
 0257      if (_unknownFields != null) {
 0258        hash ^= _unknownFields.GetHashCode();
 259      }
 0260      return hash;
 261    }
 262
 263    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 264    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 265    public override string ToString() {
 0266      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
 0275      if (HasCollisionMask) {
 0276        output.WriteRawTag(8);
 0277        output.WriteInt32(CollisionMask);
 278      }
 0279      if (meshCase_ == MeshOneofCase.Box) {
 0280        output.WriteRawTag(18);
 0281        output.WriteMessage(Box);
 282      }
 0283      if (meshCase_ == MeshOneofCase.Sphere) {
 0284        output.WriteRawTag(26);
 0285        output.WriteMessage(Sphere);
 286      }
 0287      if (meshCase_ == MeshOneofCase.Cylinder) {
 0288        output.WriteRawTag(34);
 0289        output.WriteMessage(Cylinder);
 290      }
 0291      if (meshCase_ == MeshOneofCase.Plane) {
 0292        output.WriteRawTag(42);
 0293        output.WriteMessage(Plane);
 294      }
 0295      if (_unknownFields != null) {
 0296        _unknownFields.WriteTo(output);
 297      }
 298    #endif
 0299    }
 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() {
 0334      int size = 0;
 0335      if (HasCollisionMask) {
 0336        size += 1 + pb::CodedOutputStream.ComputeInt32Size(CollisionMask);
 337      }
 0338      if (meshCase_ == MeshOneofCase.Box) {
 0339        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 340      }
 0341      if (meshCase_ == MeshOneofCase.Sphere) {
 0342        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 343      }
 0344      if (meshCase_ == MeshOneofCase.Cylinder) {
 0345        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 346      }
 0347      if (meshCase_ == MeshOneofCase.Plane) {
 0348        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 349      }
 0350      if (_unknownFields != null) {
 0351        size += _unknownFields.CalculateSize();
 352      }
 0353      return size;
 354    }
 355
 356    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 357    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 358    public void MergeFrom(PBMeshCollider other) {
 0359      if (other == null) {
 0360        return;
 361      }
 0362      if (other.HasCollisionMask) {
 0363        CollisionMask = other.CollisionMask;
 364      }
 0365      switch (other.MeshCase) {
 366        case MeshOneofCase.Box:
 0367          if (Box == null) {
 0368            Box = new global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh();
 369          }
 0370          Box.MergeFrom(other.Box);
 0371          break;
 372        case MeshOneofCase.Sphere:
 0373          if (Sphere == null) {
 0374            Sphere = new global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh();
 375          }
 0376          Sphere.MergeFrom(other.Sphere);
 0377          break;
 378        case MeshOneofCase.Cylinder:
 0379          if (Cylinder == null) {
 0380            Cylinder = new global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh();
 381          }
 0382          Cylinder.MergeFrom(other.Cylinder);
 0383          break;
 384        case MeshOneofCase.Plane:
 0385          if (Plane == null) {
 0386            Plane = new global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh();
 387          }
 0388          Plane.MergeFrom(other.Plane);
 389          break;
 390      }
 391
 0392      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0393    }
 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;
 0402      while ((tag = input.ReadTag()) != 0) {
 403        switch(tag) {
 404          default:
 0405            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0406            break;
 407          case 8: {
 0408            CollisionMask = input.ReadInt32();
 0409            break;
 410          }
 411          case 18: {
 0412            global::DCL.ECSComponents.PBMeshCollider.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshColl
 0413            if (meshCase_ == MeshOneofCase.Box) {
 0414              subBuilder.MergeFrom(Box);
 415            }
 0416            input.ReadMessage(subBuilder);
 0417            Box = subBuilder;
 0418            break;
 419          }
 420          case 26: {
 0421            global::DCL.ECSComponents.PBMeshCollider.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshC
 0422            if (meshCase_ == MeshOneofCase.Sphere) {
 0423              subBuilder.MergeFrom(Sphere);
 424            }
 0425            input.ReadMessage(subBuilder);
 0426            Sphere = subBuilder;
 0427            break;
 428          }
 429          case 34: {
 0430            global::DCL.ECSComponents.PBMeshCollider.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0431            if (meshCase_ == MeshOneofCase.Cylinder) {
 0432              subBuilder.MergeFrom(Cylinder);
 433            }
 0434            input.ReadMessage(subBuilder);
 0435            Cylinder = subBuilder;
 0436            break;
 437          }
 438          case 42: {
 0439            global::DCL.ECSComponents.PBMeshCollider.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshCo
 0440            if (meshCase_ == MeshOneofCase.Plane) {
 0441              subBuilder.MergeFrom(Plane);
 442            }
 0443            input.ReadMessage(subBuilder);
 0444            Plane = subBuilder;
 445            break;
 446          }
 447        }
 448      }
 449    #endif
 0450    }
 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      {
 1517        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)]
 0521        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 {
 0526          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 {
 0532          get { return Descriptor; }
 533        }
 534
 535        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 536        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1537        public BoxMesh() {
 538          OnConstruction();
 1539        }
 540
 541        partial void OnConstruction();
 542
 543        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 544        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0545        public BoxMesh(BoxMesh other) : this() {
 0546          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0547        }
 548
 549        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 550        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 551        public BoxMesh Clone() {
 0552          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) {
 0558          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) {
 0564          if (ReferenceEquals(other, null)) {
 0565            return false;
 566          }
 0567          if (ReferenceEquals(other, this)) {
 0568            return true;
 569          }
 0570          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() {
 0576          int hash = 1;
 0577          if (_unknownFields != null) {
 0578            hash ^= _unknownFields.GetHashCode();
 579          }
 0580          return hash;
 581        }
 582
 583        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 584        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 585        public override string ToString() {
 0586          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
 0595          if (_unknownFields != null) {
 0596            _unknownFields.WriteTo(output);
 597          }
 598        #endif
 0599        }
 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() {
 0614          int size = 0;
 0615          if (_unknownFields != null) {
 0616            size += _unknownFields.CalculateSize();
 617          }
 0618          return size;
 619        }
 620
 621        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 622        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 623        public void MergeFrom(BoxMesh other) {
 0624          if (other == null) {
 0625            return;
 626          }
 0627          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0628        }
 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;
 0637          while ((tag = input.ReadTag()) != 0) {
 638            switch(tag) {
 639              default:
 0640                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 641                break;
 642            }
 643          }
 644        #endif
 0645        }
 646
 647        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 648        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 649        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 650        void pb::IBufferMessage.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      {
 1669        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)]
 0674        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 {
 0679          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 {
 0685          get { return Descriptor; }
 686        }
 687
 688        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 689        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1690        public CylinderMesh() {
 691          OnConstruction();
 1692        }
 693
 694        partial void OnConstruction();
 695
 696        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 697        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0698        public CylinderMesh(CylinderMesh other) : this() {
 0699          _hasBits0 = other._hasBits0;
 0700          radiusTop_ = other.radiusTop_;
 0701          radiusBottom_ = other.radiusBottom_;
 0702          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0703        }
 704
 705        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 706        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 707        public CylinderMesh Clone() {
 0708          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 {
 8720          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 721          set {
 0722            _hasBits0 |= 1;
 0723            radiusTop_ = value;
 0724          }
 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 {
 0730          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() {
 0736          _hasBits0 &= ~1;
 0737        }
 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 {
 10748          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 749          set {
 1750            _hasBits0 |= 2;
 1751            radiusBottom_ = value;
 1752          }
 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 {
 0758          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() {
 0764          _hasBits0 &= ~2;
 0765        }
 766
 767        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 768        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 769        public override bool Equals(object other) {
 1770          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) {
 2776          if (ReferenceEquals(other, null)) {
 0777            return false;
 778          }
 2779          if (ReferenceEquals(other, this)) {
 0780            return true;
 781          }
 2782          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 4783          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0784          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() {
 0790          int hash = 1;
 0791          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 0792          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 0793          if (_unknownFields != null) {
 0794            hash ^= _unknownFields.GetHashCode();
 795          }
 0796          return hash;
 797        }
 798
 799        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 800        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 801        public override string ToString() {
 0802          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
 0811          if (HasRadiusTop) {
 0812            output.WriteRawTag(13);
 0813            output.WriteFloat(RadiusTop);
 814          }
 0815          if (HasRadiusBottom) {
 0816            output.WriteRawTag(21);
 0817            output.WriteFloat(RadiusBottom);
 818          }
 0819          if (_unknownFields != null) {
 0820            _unknownFields.WriteTo(output);
 821          }
 822        #endif
 0823        }
 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() {
 0846          int size = 0;
 0847          if (HasRadiusTop) {
 0848            size += 1 + 4;
 849          }
 0850          if (HasRadiusBottom) {
 0851            size += 1 + 4;
 852          }
 0853          if (_unknownFields != null) {
 0854            size += _unknownFields.CalculateSize();
 855          }
 0856          return size;
 857        }
 858
 859        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 860        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 861        public void MergeFrom(CylinderMesh other) {
 0862          if (other == null) {
 0863            return;
 864          }
 0865          if (other.HasRadiusTop) {
 0866            RadiusTop = other.RadiusTop;
 867          }
 0868          if (other.HasRadiusBottom) {
 0869            RadiusBottom = other.RadiusBottom;
 870          }
 0871          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0872        }
 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;
 0881          while ((tag = input.ReadTag()) != 0) {
 882            switch(tag) {
 883              default:
 0884                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0885                break;
 886              case 13: {
 0887                RadiusTop = input.ReadFloat();
 0888                break;
 889              }
 890              case 21: {
 0891                RadiusBottom = input.ReadFloat();
 892                break;
 893              }
 894            }
 895          }
 896        #endif
 0897        }
 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      {
 1929        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)]
 0933        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 {
 0938          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 {
 0944          get { return Descriptor; }
 945        }
 946
 947        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 948        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3949        public PlaneMesh() {
 950          OnConstruction();
 3951        }
 952
 953        partial void OnConstruction();
 954
 955        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 956        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0957        public PlaneMesh(PlaneMesh other) : this() {
 0958          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0959        }
 960
 961        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 962        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 963        public PlaneMesh Clone() {
 0964          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) {
 0970          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) {
 0976          if (ReferenceEquals(other, null)) {
 0977            return false;
 978          }
 0979          if (ReferenceEquals(other, this)) {
 0980            return true;
 981          }
 0982          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() {
 0988          int hash = 1;
 0989          if (_unknownFields != null) {
 0990            hash ^= _unknownFields.GetHashCode();
 991          }
 0992          return hash;
 993        }
 994
 995        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 996        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 997        public override string ToString() {
 0998          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
 01007          if (_unknownFields != null) {
 01008            _unknownFields.WriteTo(output);
 1009          }
 1010        #endif
 01011        }
 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() {
 01026          int size = 0;
 01027          if (_unknownFields != null) {
 01028            size += _unknownFields.CalculateSize();
 1029          }
 01030          return size;
 1031        }
 1032
 1033        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1034        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1035        public void MergeFrom(PlaneMesh other) {
 01036          if (other == null) {
 01037            return;
 1038          }
 01039          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01040        }
 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;
 01049          while ((tag = input.ReadTag()) != 0) {
 1050            switch(tag) {
 1051              default:
 01052                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1053                break;
 1054            }
 1055          }
 1056        #endif
 01057        }
 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      {
 11081        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)]
 01085        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 {
 01090          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 {
 01096          get { return Descriptor; }
 1097        }
 1098
 1099        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1100        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11101        public SphereMesh() {
 1102          OnConstruction();
 11103        }
 1104
 1105        partial void OnConstruction();
 1106
 1107        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1108        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01109        public SphereMesh(SphereMesh other) : this() {
 01110          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01111        }
 1112
 1113        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1114        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1115        public SphereMesh Clone() {
 01116          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) {
 01122          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) {
 01128          if (ReferenceEquals(other, null)) {
 01129            return false;
 1130          }
 01131          if (ReferenceEquals(other, this)) {
 01132            return true;
 1133          }
 01134          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() {
 01140          int hash = 1;
 01141          if (_unknownFields != null) {
 01142            hash ^= _unknownFields.GetHashCode();
 1143          }
 01144          return hash;
 1145        }
 1146
 1147        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1148        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1149        public override string ToString() {
 01150          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
 01159          if (_unknownFields != null) {
 01160            _unknownFields.WriteTo(output);
 1161          }
 1162        #endif
 01163        }
 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() {
 01178          int size = 0;
 01179          if (_unknownFields != null) {
 01180            size += _unknownFields.CalculateSize();
 1181          }
 01182          return size;
 1183        }
 1184
 1185        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1186        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1187        public void MergeFrom(SphereMesh other) {
 01188          if (other == null) {
 01189            return;
 1190          }
 01191          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01192        }
 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;
 01201          while ((tag = input.ReadTag()) != 0) {
 1202            switch(tag) {
 1203              default:
 01204                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1205                break;
 1206            }
 1207          }
 1208        #endif
 01209        }
 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

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)