< Summary

Class:DCL.ECSComponents.PBMeshRenderer
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/MeshRenderer.gen.cs
Covered lines:118
Uncovered lines:216
Coverable lines:334
Total lines:1229
Line coverage:35.3% (118 of 334)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBMeshRenderer()0%110100%
get_Descriptor()0%110100%
PBMeshRenderer()0%110100%
PBMeshRenderer(...)0%30500%
Clone()0%2100%
ClearMesh()0%2100%
Equals(...)0%110100%
Equals(...)0%40.778020%
GetHashCode()0%6.026092.31%
ToString()0%110100%
WriteTo(...)0%9.666053.33%
CalculateSize()0%7.336066.67%
MergeFrom(...)0%1101000%
MergeFrom(...)0%60.1711025.93%
BoxMesh()0%110100%
get_Descriptor()0%110100%
BoxMesh(...)0%2100%
Clone()0%2100%
BoxMesh()0%110100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%2.032080%
ToString()0%2100%
WriteTo(...)0%2.062075%
CalculateSize()0%2.032080%
MergeFrom(...)0%6200%
MergeFrom(...)0%7.464040%
CylinderMesh()0%110100%
get_Descriptor()0%110100%
CylinderMesh()0%110100%
CylinderMesh(...)0%2100%
Clone()0%2100%
ClearRadiusTop()0%2100%
ClearRadiusBottom()0%2100%
Equals(...)0%2100%
Equals(...)0%30500%
GetHashCode()0%4.844062.5%
ToString()0%2100%
WriteTo(...)0%20400%
CalculateSize()0%20400%
MergeFrom(...)0%20400%
MergeFrom(...)0%20400%
PlaneMesh()0%110100%
get_Descriptor()0%110100%
PlaneMesh(...)0%2100%
Clone()0%2100%
PlaneMesh()0%110100%
Equals(...)0%2100%
Equals(...)0%20400%
GetHashCode()0%2.032080%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%20400%
SphereMesh()0%110100%
get_Descriptor()0%110100%
SphereMesh()0%110100%
SphereMesh(...)0%2100%
Clone()0%2100%
Equals(...)0%2100%
Equals(...)0%12300%
GetHashCode()0%2.062075%
ToString()0%2100%
WriteTo(...)0%6200%
CalculateSize()0%6200%
MergeFrom(...)0%6200%
MergeFrom(...)0%6200%

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/mesh_renderer.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from decentraland/sdk/components/mesh_renderer.proto</summary
 15  public static partial class MeshRendererReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/mesh_renderer.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshRendererReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ci9kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvbWVzaF9yZW5kZXJlci5w",
 28            "cm90bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzIuIDCg5QQk1lc2hS",
 29            "ZW5kZXJlchJCCgNib3gYASABKAsyMy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBv",
 30            "bmVudHMuUEJNZXNoUmVuZGVyZXIuQm94TWVzaEgAEkgKBnNwaGVyZRgCIAEo",
 31            "CzI2LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5QQk1lc2hSZW5kZXJl",
 32            "ci5TcGhlcmVNZXNoSAASTAoIY3lsaW5kZXIYAyABKAsyOC5kZWNlbnRyYWxh",
 33            "bmQuc2RrLmNvbXBvbmVudHMuUEJNZXNoUmVuZGVyZXIuQ3lsaW5kZXJNZXNo",
 34            "SAASRgoFcGxhbmUYBCABKAsyNS5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVu",
 35            "dHMuUEJNZXNoUmVuZGVyZXIuUGxhbmVNZXNoSAAaFgoHQm94TWVzaBILCgN1",
 36            "dnMYASADKAIaZAoMQ3lsaW5kZXJNZXNoEhcKCnJhZGl1c190b3AYASABKAJI",
 37            "AIgBARIaCg1yYWRpdXNfYm90dG9tGAIgASgCSAGIAQFCDQoLX3JhZGl1c190",
 38            "b3BCEAoOX3JhZGl1c19ib3R0b20aGAoJUGxhbmVNZXNoEgsKA3V2cxgBIAMo",
 39            "AhoMCgpTcGhlcmVNZXNoQgYKBG1lc2hCFKoCEURDTC5FQ1NDb21wb25lbnRz",
 40            "YgZwcm90bzM="));
 41      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 42          new pbr::FileDescriptor[] { },
 43          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer), global::DCL.ECSComponents.PB
 45            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh), global::D
 46            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh), global::DCL.
 47            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh), global::DCL
 48          }));
 49    }
 50    #endregion
 51
 52  }
 53  #region Messages
 54  public sealed partial class PBMeshRenderer : pb::IMessage<PBMeshRenderer>
 55  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 56      , pb::IBufferMessage
 57  #endif
 58  {
 159    private static readonly pb::MessageParser<PBMeshRenderer> _parser = new pb::MessageParser<PBMeshRenderer>(() => new 
 60    private pb::UnknownFieldSet _unknownFields;
 61    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 62    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public static pb::MessageParser<PBMeshRenderer> Parser { get { return _parser; } }
 64
 65    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 66    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 67    public static pbr::MessageDescriptor Descriptor {
 3668      get { return global::DCL.ECSComponents.MeshRendererReflection.Descriptor.MessageTypes[0]; }
 69    }
 70
 71    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 72    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 73    pbr::MessageDescriptor pb::IMessage.Descriptor {
 2074      get { return Descriptor; }
 75    }
 76
 77    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1379    public PBMeshRenderer() {
 80      OnConstruction();
 1381    }
 82
 83    partial void OnConstruction();
 84
 85    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 86    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 087    public PBMeshRenderer(PBMeshRenderer other) : this() {
 088      switch (other.MeshCase) {
 89        case MeshOneofCase.Box:
 090          Box = other.Box.Clone();
 091          break;
 92        case MeshOneofCase.Sphere:
 093          Sphere = other.Sphere.Clone();
 094          break;
 95        case MeshOneofCase.Cylinder:
 096          Cylinder = other.Cylinder.Clone();
 097          break;
 98        case MeshOneofCase.Plane:
 099          Plane = other.Plane.Clone();
 100          break;
 101      }
 102
 0103      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0104    }
 105
 106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108    public PBMeshRenderer Clone() {
 0109      return new PBMeshRenderer(this);
 110    }
 111
 112    /// <summary>Field number for the "box" field.</summary>
 113    public const int BoxFieldNumber = 1;
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116    public global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh Box {
 74117      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh) mesh_ : nul
 118      set {
 8119        mesh_ = value;
 8120        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 8121      }
 122    }
 123
 124    /// <summary>Field number for the "sphere" field.</summary>
 125    public const int SphereFieldNumber = 2;
 126    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 127    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 128    public global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh Sphere {
 26129      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh) mesh_
 130      set {
 1131        mesh_ = value;
 1132        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 1133      }
 134    }
 135
 136    /// <summary>Field number for the "cylinder" field.</summary>
 137    public const int CylinderFieldNumber = 3;
 138    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 139    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 140    public global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh Cylinder {
 37141      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh) m
 142      set {
 2143        mesh_ = value;
 2144        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 2145      }
 146    }
 147
 148    /// <summary>Field number for the "plane" field.</summary>
 149    public const int PlaneFieldNumber = 4;
 150    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 151    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 152    public global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh Plane {
 27153      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh) mesh_ :
 154      set {
 1155        mesh_ = value;
 1156        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 1157      }
 158    }
 159
 160    private object mesh_;
 161    /// <summary>Enum of possible cases for the "mesh" oneof.</summary>
 162    public enum MeshOneofCase {
 163      None = 0,
 164      Box = 1,
 165      Sphere = 2,
 166      Cylinder = 3,
 167      Plane = 4,
 168    }
 169    private MeshOneofCase meshCase_ = MeshOneofCase.None;
 170    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 171    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 172    public MeshOneofCase MeshCase {
 13173      get { return meshCase_; }
 174    }
 175
 176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 178    public void ClearMesh() {
 0179      meshCase_ = MeshOneofCase.None;
 0180      mesh_ = null;
 0181    }
 182
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 185    public override bool Equals(object other) {
 45186      return Equals(other as PBMeshRenderer);
 187    }
 188
 189    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 190    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 191    public bool Equals(PBMeshRenderer other) {
 45192      if (ReferenceEquals(other, null)) {
 0193        return false;
 194      }
 45195      if (ReferenceEquals(other, this)) {
 45196        return true;
 197      }
 0198      if (!object.Equals(Box, other.Box)) return false;
 0199      if (!object.Equals(Sphere, other.Sphere)) return false;
 0200      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 0201      if (!object.Equals(Plane, other.Plane)) return false;
 0202      if (MeshCase != other.MeshCase) return false;
 0203      return Equals(_unknownFields, other._unknownFields);
 204    }
 205
 206    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 207    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 208    public override int GetHashCode() {
 67209      int hash = 1;
 109210      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 73211      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 80212      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 73213      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 67214      hash ^= (int) meshCase_;
 67215      if (_unknownFields != null) {
 0216        hash ^= _unknownFields.GetHashCode();
 217      }
 67218      return hash;
 219    }
 220
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public override string ToString() {
 10224      return pb::JsonFormatter.ToDiagnosticString(this);
 225    }
 226
 227    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 228    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 229    public void WriteTo(pb::CodedOutputStream output) {
 230    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 231      output.WriteRawMessage(this);
 232    #else
 2233      if (meshCase_ == MeshOneofCase.Box) {
 2234        output.WriteRawTag(10);
 2235        output.WriteMessage(Box);
 236      }
 2237      if (meshCase_ == MeshOneofCase.Sphere) {
 0238        output.WriteRawTag(18);
 0239        output.WriteMessage(Sphere);
 240      }
 2241      if (meshCase_ == MeshOneofCase.Cylinder) {
 0242        output.WriteRawTag(26);
 0243        output.WriteMessage(Cylinder);
 244      }
 2245      if (meshCase_ == MeshOneofCase.Plane) {
 0246        output.WriteRawTag(34);
 0247        output.WriteMessage(Plane);
 248      }
 2249      if (_unknownFields != null) {
 0250        _unknownFields.WriteTo(output);
 251      }
 252    #endif
 2253    }
 254
 255    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 256    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 257    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 258    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 259      if (meshCase_ == MeshOneofCase.Box) {
 260        output.WriteRawTag(10);
 261        output.WriteMessage(Box);
 262      }
 263      if (meshCase_ == MeshOneofCase.Sphere) {
 264        output.WriteRawTag(18);
 265        output.WriteMessage(Sphere);
 266      }
 267      if (meshCase_ == MeshOneofCase.Cylinder) {
 268        output.WriteRawTag(26);
 269        output.WriteMessage(Cylinder);
 270      }
 271      if (meshCase_ == MeshOneofCase.Plane) {
 272        output.WriteRawTag(34);
 273        output.WriteMessage(Plane);
 274      }
 275      if (_unknownFields != null) {
 276        _unknownFields.WriteTo(ref output);
 277      }
 278    }
 279    #endif
 280
 281    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 282    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 283    public int CalculateSize() {
 2284      int size = 0;
 2285      if (meshCase_ == MeshOneofCase.Box) {
 2286        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 287      }
 2288      if (meshCase_ == MeshOneofCase.Sphere) {
 0289        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 290      }
 2291      if (meshCase_ == MeshOneofCase.Cylinder) {
 0292        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 293      }
 2294      if (meshCase_ == MeshOneofCase.Plane) {
 0295        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 296      }
 2297      if (_unknownFields != null) {
 0298        size += _unknownFields.CalculateSize();
 299      }
 2300      return size;
 301    }
 302
 303    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 304    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 305    public void MergeFrom(PBMeshRenderer other) {
 0306      if (other == null) {
 0307        return;
 308      }
 0309      switch (other.MeshCase) {
 310        case MeshOneofCase.Box:
 0311          if (Box == null) {
 0312            Box = new global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh();
 313          }
 0314          Box.MergeFrom(other.Box);
 0315          break;
 316        case MeshOneofCase.Sphere:
 0317          if (Sphere == null) {
 0318            Sphere = new global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh();
 319          }
 0320          Sphere.MergeFrom(other.Sphere);
 0321          break;
 322        case MeshOneofCase.Cylinder:
 0323          if (Cylinder == null) {
 0324            Cylinder = new global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh();
 325          }
 0326          Cylinder.MergeFrom(other.Cylinder);
 0327          break;
 328        case MeshOneofCase.Plane:
 0329          if (Plane == null) {
 0330            Plane = new global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh();
 331          }
 0332          Plane.MergeFrom(other.Plane);
 333          break;
 334      }
 335
 0336      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0337    }
 338
 339    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 340    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 341    public void MergeFrom(pb::CodedInputStream input) {
 342    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 343      input.ReadRawMessage(this);
 344    #else
 345      uint tag;
 4346      while ((tag = input.ReadTag()) != 0) {
 347        switch(tag) {
 348          default:
 0349            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0350            break;
 351          case 10: {
 2352            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 2353            if (meshCase_ == MeshOneofCase.Box) {
 0354              subBuilder.MergeFrom(Box);
 355            }
 2356            input.ReadMessage(subBuilder);
 2357            Box = subBuilder;
 2358            break;
 359          }
 360          case 18: {
 0361            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 0362            if (meshCase_ == MeshOneofCase.Sphere) {
 0363              subBuilder.MergeFrom(Sphere);
 364            }
 0365            input.ReadMessage(subBuilder);
 0366            Sphere = subBuilder;
 0367            break;
 368          }
 369          case 26: {
 0370            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 0371            if (meshCase_ == MeshOneofCase.Cylinder) {
 0372              subBuilder.MergeFrom(Cylinder);
 373            }
 0374            input.ReadMessage(subBuilder);
 0375            Cylinder = subBuilder;
 0376            break;
 377          }
 378          case 34: {
 0379            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 0380            if (meshCase_ == MeshOneofCase.Plane) {
 0381              subBuilder.MergeFrom(Plane);
 382            }
 0383            input.ReadMessage(subBuilder);
 0384            Plane = subBuilder;
 385            break;
 386          }
 387        }
 388      }
 389    #endif
 2390    }
 391
 392    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 393    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 394    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 395    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 396      uint tag;
 397      while ((tag = input.ReadTag()) != 0) {
 398        switch(tag) {
 399          default:
 400            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 401            break;
 402          case 10: {
 403            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 404            if (meshCase_ == MeshOneofCase.Box) {
 405              subBuilder.MergeFrom(Box);
 406            }
 407            input.ReadMessage(subBuilder);
 408            Box = subBuilder;
 409            break;
 410          }
 411          case 18: {
 412            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 413            if (meshCase_ == MeshOneofCase.Sphere) {
 414              subBuilder.MergeFrom(Sphere);
 415            }
 416            input.ReadMessage(subBuilder);
 417            Sphere = subBuilder;
 418            break;
 419          }
 420          case 26: {
 421            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 422            if (meshCase_ == MeshOneofCase.Cylinder) {
 423              subBuilder.MergeFrom(Cylinder);
 424            }
 425            input.ReadMessage(subBuilder);
 426            Cylinder = subBuilder;
 427            break;
 428          }
 429          case 34: {
 430            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 431            if (meshCase_ == MeshOneofCase.Plane) {
 432              subBuilder.MergeFrom(Plane);
 433            }
 434            input.ReadMessage(subBuilder);
 435            Plane = subBuilder;
 436            break;
 437          }
 438        }
 439      }
 440    }
 441    #endif
 442
 443    #region Nested types
 444    /// <summary>Container for nested types declared in the PBMeshRenderer message type.</summary>
 445    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 446    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 447    public static partial class Types {
 448      public sealed partial class BoxMesh : pb::IMessage<BoxMesh>
 449      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 450          , pb::IBufferMessage
 451      #endif
 452      {
 1453        private static readonly pb::MessageParser<BoxMesh> _parser = new pb::MessageParser<BoxMesh>(() => new BoxMesh())
 454        private pb::UnknownFieldSet _unknownFields;
 455        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 456        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1457        public static pb::MessageParser<BoxMesh> Parser { get { return _parser; } }
 458
 459        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 460        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 461        public static pbr::MessageDescriptor Descriptor {
 4462          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[0]; }
 463        }
 464
 465        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 466        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 467        pbr::MessageDescriptor pb::IMessage.Descriptor {
 4468          get { return Descriptor; }
 469        }
 470
 471        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 8473        public BoxMesh() {
 474          OnConstruction();
 8475        }
 476
 477        partial void OnConstruction();
 478
 479        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 480        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0481        public BoxMesh(BoxMesh other) : this() {
 0482          uvs_ = other.uvs_.Clone();
 0483          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0484        }
 485
 486        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 487        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 488        public BoxMesh Clone() {
 0489          return new BoxMesh(this);
 490        }
 491
 492        /// <summary>Field number for the "uvs" field.</summary>
 493        public const int UvsFieldNumber = 1;
 1494        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 495            = pb::FieldCodec.ForFloat(10);
 8496        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 497        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 498        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 499        public pbc::RepeatedField<float> Uvs {
 10500          get { return uvs_; }
 501        }
 502
 503        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 504        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 505        public override bool Equals(object other) {
 0506          return Equals(other as BoxMesh);
 507        }
 508
 509        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 510        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 511        public bool Equals(BoxMesh other) {
 0512          if (ReferenceEquals(other, null)) {
 0513            return false;
 514          }
 0515          if (ReferenceEquals(other, this)) {
 0516            return true;
 517          }
 0518          if(!uvs_.Equals(other.uvs_)) return false;
 0519          return Equals(_unknownFields, other._unknownFields);
 520        }
 521
 522        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 523        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 524        public override int GetHashCode() {
 42525          int hash = 1;
 42526          hash ^= uvs_.GetHashCode();
 42527          if (_unknownFields != null) {
 0528            hash ^= _unknownFields.GetHashCode();
 529          }
 42530          return hash;
 531        }
 532
 533        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 534        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 535        public override string ToString() {
 0536          return pb::JsonFormatter.ToDiagnosticString(this);
 537        }
 538
 539        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 540        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 541        public void WriteTo(pb::CodedOutputStream output) {
 542        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 543          output.WriteRawMessage(this);
 544        #else
 2545          uvs_.WriteTo(output, _repeated_uvs_codec);
 2546          if (_unknownFields != null) {
 0547            _unknownFields.WriteTo(output);
 548          }
 549        #endif
 2550        }
 551
 552        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 553        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 554        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 555        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 556          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 557          if (_unknownFields != null) {
 558            _unknownFields.WriteTo(ref output);
 559          }
 560        }
 561        #endif
 562
 563        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 564        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 565        public int CalculateSize() {
 4566          int size = 0;
 4567          size += uvs_.CalculateSize(_repeated_uvs_codec);
 4568          if (_unknownFields != null) {
 0569            size += _unknownFields.CalculateSize();
 570          }
 4571          return size;
 572        }
 573
 574        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 575        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 576        public void MergeFrom(BoxMesh other) {
 0577          if (other == null) {
 0578            return;
 579          }
 0580          uvs_.Add(other.uvs_);
 0581          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0582        }
 583
 584        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 585        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 586        public void MergeFrom(pb::CodedInputStream input) {
 587        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 588          input.ReadRawMessage(this);
 589        #else
 590          uint tag;
 2591          while ((tag = input.ReadTag()) != 0) {
 592            switch(tag) {
 593              default:
 0594                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0595                break;
 596              case 10:
 597              case 13: {
 0598                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 599                break;
 600              }
 601            }
 602          }
 603        #endif
 2604        }
 605
 606        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 607        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 608        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 609        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 610          uint tag;
 611          while ((tag = input.ReadTag()) != 0) {
 612            switch(tag) {
 613              default:
 614                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 615                break;
 616              case 10:
 617              case 13: {
 618                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 619                break;
 620              }
 621            }
 622          }
 623        }
 624        #endif
 625
 626      }
 627
 628      public sealed partial class CylinderMesh : pb::IMessage<CylinderMesh>
 629      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 630          , pb::IBufferMessage
 631      #endif
 632      {
 1633        private static readonly pb::MessageParser<CylinderMesh> _parser = new pb::MessageParser<CylinderMesh>(() => new 
 634        private pb::UnknownFieldSet _unknownFields;
 635        private int _hasBits0;
 636        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 637        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1638        public static pb::MessageParser<CylinderMesh> Parser { get { return _parser; } }
 639
 640        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 641        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 642        public static pbr::MessageDescriptor Descriptor {
 4643          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[1]; }
 644        }
 645
 646        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 647        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 648        pbr::MessageDescriptor pb::IMessage.Descriptor {
 4649          get { return Descriptor; }
 650        }
 651
 652        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 653        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 2654        public CylinderMesh() {
 655          OnConstruction();
 2656        }
 657
 658        partial void OnConstruction();
 659
 660        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 661        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0662        public CylinderMesh(CylinderMesh other) : this() {
 0663          _hasBits0 = other._hasBits0;
 0664          radiusTop_ = other.radiusTop_;
 0665          radiusBottom_ = other.radiusBottom_;
 0666          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0667        }
 668
 669        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 670        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 671        public CylinderMesh Clone() {
 0672          return new CylinderMesh(this);
 673        }
 674
 675        /// <summary>Field number for the "radius_top" field.</summary>
 676        public const int RadiusTopFieldNumber = 1;
 677        private float radiusTop_;
 678        /// <summary>
 679        /// default=1.0
 680        /// </summary>
 681        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 682        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 683        public float RadiusTop {
 4684          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 685          set {
 0686            _hasBits0 |= 1;
 0687            radiusTop_ = value;
 0688          }
 689        }
 690        /// <summary>Gets whether the "radius_top" field is set</summary>
 691        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 692        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 693        public bool HasRadiusTop {
 17694          get { return (_hasBits0 & 1) != 0; }
 695        }
 696        /// <summary>Clears the value of the "radius_top" field</summary>
 697        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 698        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 699        public void ClearRadiusTop() {
 0700          _hasBits0 &= ~1;
 0701        }
 702
 703        /// <summary>Field number for the "radius_bottom" field.</summary>
 704        public const int RadiusBottomFieldNumber = 2;
 705        private float radiusBottom_;
 706        /// <summary>
 707        /// default=1.0
 708        /// </summary>
 709        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 710        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 711        public float RadiusBottom {
 4712          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 713          set {
 0714            _hasBits0 |= 2;
 0715            radiusBottom_ = value;
 0716          }
 717        }
 718        /// <summary>Gets whether the "radius_bottom" field is set</summary>
 719        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 720        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 721        public bool HasRadiusBottom {
 17722          get { return (_hasBits0 & 2) != 0; }
 723        }
 724        /// <summary>Clears the value of the "radius_bottom" field</summary>
 725        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 726        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 727        public void ClearRadiusBottom() {
 0728          _hasBits0 &= ~2;
 0729        }
 730
 731        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 732        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 733        public override bool Equals(object other) {
 0734          return Equals(other as CylinderMesh);
 735        }
 736
 737        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 738        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 739        public bool Equals(CylinderMesh other) {
 0740          if (ReferenceEquals(other, null)) {
 0741            return false;
 742          }
 0743          if (ReferenceEquals(other, this)) {
 0744            return true;
 745          }
 0746          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 0747          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 0748          return Equals(_unknownFields, other._unknownFields);
 749        }
 750
 751        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 752        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 753        public override int GetHashCode() {
 13754          int hash = 1;
 13755          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 13756          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 13757          if (_unknownFields != null) {
 0758            hash ^= _unknownFields.GetHashCode();
 759          }
 13760          return hash;
 761        }
 762
 763        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 764        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 765        public override string ToString() {
 0766          return pb::JsonFormatter.ToDiagnosticString(this);
 767        }
 768
 769        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 770        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 771        public void WriteTo(pb::CodedOutputStream output) {
 772        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 773          output.WriteRawMessage(this);
 774        #else
 0775          if (HasRadiusTop) {
 0776            output.WriteRawTag(13);
 0777            output.WriteFloat(RadiusTop);
 778          }
 0779          if (HasRadiusBottom) {
 0780            output.WriteRawTag(21);
 0781            output.WriteFloat(RadiusBottom);
 782          }
 0783          if (_unknownFields != null) {
 0784            _unknownFields.WriteTo(output);
 785          }
 786        #endif
 0787        }
 788
 789        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 790        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 791        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 792        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 793          if (HasRadiusTop) {
 794            output.WriteRawTag(13);
 795            output.WriteFloat(RadiusTop);
 796          }
 797          if (HasRadiusBottom) {
 798            output.WriteRawTag(21);
 799            output.WriteFloat(RadiusBottom);
 800          }
 801          if (_unknownFields != null) {
 802            _unknownFields.WriteTo(ref output);
 803          }
 804        }
 805        #endif
 806
 807        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 808        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 809        public int CalculateSize() {
 0810          int size = 0;
 0811          if (HasRadiusTop) {
 0812            size += 1 + 4;
 813          }
 0814          if (HasRadiusBottom) {
 0815            size += 1 + 4;
 816          }
 0817          if (_unknownFields != null) {
 0818            size += _unknownFields.CalculateSize();
 819          }
 0820          return size;
 821        }
 822
 823        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 824        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 825        public void MergeFrom(CylinderMesh other) {
 0826          if (other == null) {
 0827            return;
 828          }
 0829          if (other.HasRadiusTop) {
 0830            RadiusTop = other.RadiusTop;
 831          }
 0832          if (other.HasRadiusBottom) {
 0833            RadiusBottom = other.RadiusBottom;
 834          }
 0835          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 0836        }
 837
 838        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 839        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 840        public void MergeFrom(pb::CodedInputStream input) {
 841        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 842          input.ReadRawMessage(this);
 843        #else
 844          uint tag;
 0845          while ((tag = input.ReadTag()) != 0) {
 846            switch(tag) {
 847              default:
 0848                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 0849                break;
 850              case 13: {
 0851                RadiusTop = input.ReadFloat();
 0852                break;
 853              }
 854              case 21: {
 0855                RadiusBottom = input.ReadFloat();
 856                break;
 857              }
 858            }
 859          }
 860        #endif
 0861        }
 862
 863        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 864        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 865        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 866        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 867          uint tag;
 868          while ((tag = input.ReadTag()) != 0) {
 869            switch(tag) {
 870              default:
 871                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 872                break;
 873              case 13: {
 874                RadiusTop = input.ReadFloat();
 875                break;
 876              }
 877              case 21: {
 878                RadiusBottom = input.ReadFloat();
 879                break;
 880              }
 881            }
 882          }
 883        }
 884        #endif
 885
 886      }
 887
 888      public sealed partial class PlaneMesh : pb::IMessage<PlaneMesh>
 889      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 890          , pb::IBufferMessage
 891      #endif
 892      {
 1893        private static readonly pb::MessageParser<PlaneMesh> _parser = new pb::MessageParser<PlaneMesh>(() => new PlaneM
 894        private pb::UnknownFieldSet _unknownFields;
 895        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 896        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1897        public static pb::MessageParser<PlaneMesh> Parser { get { return _parser; } }
 898
 899        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 900        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 901        public static pbr::MessageDescriptor Descriptor {
 4902          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[2]; }
 903        }
 904
 905        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 906        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 907        pbr::MessageDescriptor pb::IMessage.Descriptor {
 4908          get { return Descriptor; }
 909        }
 910
 911        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 912        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1913        public PlaneMesh() {
 914          OnConstruction();
 1915        }
 916
 917        partial void OnConstruction();
 918
 919        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 920        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 0921        public PlaneMesh(PlaneMesh other) : this() {
 0922          uvs_ = other.uvs_.Clone();
 0923          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0924        }
 925
 926        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 927        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 928        public PlaneMesh Clone() {
 0929          return new PlaneMesh(this);
 930        }
 931
 932        /// <summary>Field number for the "uvs" field.</summary>
 933        public const int UvsFieldNumber = 1;
 1934        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 935            = pb::FieldCodec.ForFloat(10);
 1936        private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>();
 937        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 938        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 939        public pbc::RepeatedField<float> Uvs {
 3940          get { return uvs_; }
 941        }
 942
 943        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 944        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 945        public override bool Equals(object other) {
 0946          return Equals(other as PlaneMesh);
 947        }
 948
 949        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 950        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 951        public bool Equals(PlaneMesh other) {
 0952          if (ReferenceEquals(other, null)) {
 0953            return false;
 954          }
 0955          if (ReferenceEquals(other, this)) {
 0956            return true;
 957          }
 0958          if(!uvs_.Equals(other.uvs_)) return false;
 0959          return Equals(_unknownFields, other._unknownFields);
 960        }
 961
 962        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 963        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 964        public override int GetHashCode() {
 6965          int hash = 1;
 6966          hash ^= uvs_.GetHashCode();
 6967          if (_unknownFields != null) {
 0968            hash ^= _unknownFields.GetHashCode();
 969          }
 6970          return hash;
 971        }
 972
 973        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 974        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 975        public override string ToString() {
 0976          return pb::JsonFormatter.ToDiagnosticString(this);
 977        }
 978
 979        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 980        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 981        public void WriteTo(pb::CodedOutputStream output) {
 982        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 983          output.WriteRawMessage(this);
 984        #else
 0985          uvs_.WriteTo(output, _repeated_uvs_codec);
 0986          if (_unknownFields != null) {
 0987            _unknownFields.WriteTo(output);
 988          }
 989        #endif
 0990        }
 991
 992        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 993        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 994        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 995        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 996          uvs_.WriteTo(ref output, _repeated_uvs_codec);
 997          if (_unknownFields != null) {
 998            _unknownFields.WriteTo(ref output);
 999          }
 1000        }
 1001        #endif
 1002
 1003        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1004        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1005        public int CalculateSize() {
 01006          int size = 0;
 01007          size += uvs_.CalculateSize(_repeated_uvs_codec);
 01008          if (_unknownFields != null) {
 01009            size += _unknownFields.CalculateSize();
 1010          }
 01011          return size;
 1012        }
 1013
 1014        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1015        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1016        public void MergeFrom(PlaneMesh other) {
 01017          if (other == null) {
 01018            return;
 1019          }
 01020          uvs_.Add(other.uvs_);
 01021          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01022        }
 1023
 1024        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1025        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1026        public void MergeFrom(pb::CodedInputStream input) {
 1027        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1028          input.ReadRawMessage(this);
 1029        #else
 1030          uint tag;
 01031          while ((tag = input.ReadTag()) != 0) {
 1032            switch(tag) {
 1033              default:
 01034                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 01035                break;
 1036              case 10:
 1037              case 13: {
 01038                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 1039                break;
 1040              }
 1041            }
 1042          }
 1043        #endif
 01044        }
 1045
 1046        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1047        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1048        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1049        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1050          uint tag;
 1051          while ((tag = input.ReadTag()) != 0) {
 1052            switch(tag) {
 1053              default:
 1054                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1055                break;
 1056              case 10:
 1057              case 13: {
 1058                uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec);
 1059                break;
 1060              }
 1061            }
 1062          }
 1063        }
 1064        #endif
 1065
 1066      }
 1067
 1068      public sealed partial class SphereMesh : pb::IMessage<SphereMesh>
 1069      #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1070          , pb::IBufferMessage
 1071      #endif
 1072      {
 11073        private static readonly pb::MessageParser<SphereMesh> _parser = new pb::MessageParser<SphereMesh>(() => new Sphe
 1074        private pb::UnknownFieldSet _unknownFields;
 1075        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1076        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11077        public static pb::MessageParser<SphereMesh> Parser { get { return _parser; } }
 1078
 1079        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1080        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1081        public static pbr::MessageDescriptor Descriptor {
 41082          get { return global::DCL.ECSComponents.PBMeshRenderer.Descriptor.NestedTypes[3]; }
 1083        }
 1084
 1085        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1086        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1087        pbr::MessageDescriptor pb::IMessage.Descriptor {
 41088          get { return Descriptor; }
 1089        }
 1090
 1091        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1092        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 11093        public SphereMesh() {
 1094          OnConstruction();
 11095        }
 1096
 1097        partial void OnConstruction();
 1098
 1099        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1100        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 01101        public SphereMesh(SphereMesh other) : this() {
 01102          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 01103        }
 1104
 1105        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1106        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1107        public SphereMesh Clone() {
 01108          return new SphereMesh(this);
 1109        }
 1110
 1111        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1112        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1113        public override bool Equals(object other) {
 01114          return Equals(other as SphereMesh);
 1115        }
 1116
 1117        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1118        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1119        public bool Equals(SphereMesh other) {
 01120          if (ReferenceEquals(other, null)) {
 01121            return false;
 1122          }
 01123          if (ReferenceEquals(other, this)) {
 01124            return true;
 1125          }
 01126          return Equals(_unknownFields, other._unknownFields);
 1127        }
 1128
 1129        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1130        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1131        public override int GetHashCode() {
 61132          int hash = 1;
 61133          if (_unknownFields != null) {
 01134            hash ^= _unknownFields.GetHashCode();
 1135          }
 61136          return hash;
 1137        }
 1138
 1139        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1140        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1141        public override string ToString() {
 01142          return pb::JsonFormatter.ToDiagnosticString(this);
 1143        }
 1144
 1145        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1146        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1147        public void WriteTo(pb::CodedOutputStream output) {
 1148        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1149          output.WriteRawMessage(this);
 1150        #else
 01151          if (_unknownFields != null) {
 01152            _unknownFields.WriteTo(output);
 1153          }
 1154        #endif
 01155        }
 1156
 1157        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1158        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1159        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1160        void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 1161          if (_unknownFields != null) {
 1162            _unknownFields.WriteTo(ref output);
 1163          }
 1164        }
 1165        #endif
 1166
 1167        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1168        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1169        public int CalculateSize() {
 01170          int size = 0;
 01171          if (_unknownFields != null) {
 01172            size += _unknownFields.CalculateSize();
 1173          }
 01174          return size;
 1175        }
 1176
 1177        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1178        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1179        public void MergeFrom(SphereMesh other) {
 01180          if (other == null) {
 01181            return;
 1182          }
 01183          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01184        }
 1185
 1186        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1187        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1188        public void MergeFrom(pb::CodedInputStream input) {
 1189        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1190          input.ReadRawMessage(this);
 1191        #else
 1192          uint tag;
 01193          while ((tag = input.ReadTag()) != 0) {
 1194            switch(tag) {
 1195              default:
 01196                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1197                break;
 1198            }
 1199          }
 1200        #endif
 01201        }
 1202
 1203        #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1204        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1205        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1206        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1207          uint tag;
 1208          while ((tag = input.ReadTag()) != 0) {
 1209            switch(tag) {
 1210              default:
 1211                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1212                break;
 1213            }
 1214          }
 1215        }
 1216        #endif
 1217
 1218      }
 1219
 1220    }
 1221    #endregion
 1222
 1223  }
 1224
 1225  #endregion
 1226
 1227}
 1228
 1229#endregion Designer generated code

Methods/Properties

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