< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MeshRendererReflection()0%110100%

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 {
 3620      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static MeshRendererReflection() {
 125      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="));
 141      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          }));
 149    }
 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  {
 59    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)]
 63    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 {
 68      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 {
 74      get { return Descriptor; }
 75    }
 76
 77    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 78    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 79    public PBMeshRenderer() {
 80      OnConstruction();
 81    }
 82
 83    partial void OnConstruction();
 84
 85    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 86    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 87    public PBMeshRenderer(PBMeshRenderer other) : this() {
 88      switch (other.MeshCase) {
 89        case MeshOneofCase.Box:
 90          Box = other.Box.Clone();
 91          break;
 92        case MeshOneofCase.Sphere:
 93          Sphere = other.Sphere.Clone();
 94          break;
 95        case MeshOneofCase.Cylinder:
 96          Cylinder = other.Cylinder.Clone();
 97          break;
 98        case MeshOneofCase.Plane:
 99          Plane = other.Plane.Clone();
 100          break;
 101      }
 102
 103      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 104    }
 105
 106    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 107    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 108    public PBMeshRenderer Clone() {
 109      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 {
 117      get { return meshCase_ == MeshOneofCase.Box ? (global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh) mesh_ : nul
 118      set {
 119        mesh_ = value;
 120        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Box;
 121      }
 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 {
 129      get { return meshCase_ == MeshOneofCase.Sphere ? (global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh) mesh_
 130      set {
 131        mesh_ = value;
 132        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Sphere;
 133      }
 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 {
 141      get { return meshCase_ == MeshOneofCase.Cylinder ? (global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh) m
 142      set {
 143        mesh_ = value;
 144        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Cylinder;
 145      }
 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 {
 153      get { return meshCase_ == MeshOneofCase.Plane ? (global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh) mesh_ :
 154      set {
 155        mesh_ = value;
 156        meshCase_ = value == null ? MeshOneofCase.None : MeshOneofCase.Plane;
 157      }
 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 {
 173      get { return meshCase_; }
 174    }
 175
 176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 178    public void ClearMesh() {
 179      meshCase_ = MeshOneofCase.None;
 180      mesh_ = null;
 181    }
 182
 183    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 184    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 185    public override bool Equals(object other) {
 186      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) {
 192      if (ReferenceEquals(other, null)) {
 193        return false;
 194      }
 195      if (ReferenceEquals(other, this)) {
 196        return true;
 197      }
 198      if (!object.Equals(Box, other.Box)) return false;
 199      if (!object.Equals(Sphere, other.Sphere)) return false;
 200      if (!object.Equals(Cylinder, other.Cylinder)) return false;
 201      if (!object.Equals(Plane, other.Plane)) return false;
 202      if (MeshCase != other.MeshCase) return false;
 203      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() {
 209      int hash = 1;
 210      if (meshCase_ == MeshOneofCase.Box) hash ^= Box.GetHashCode();
 211      if (meshCase_ == MeshOneofCase.Sphere) hash ^= Sphere.GetHashCode();
 212      if (meshCase_ == MeshOneofCase.Cylinder) hash ^= Cylinder.GetHashCode();
 213      if (meshCase_ == MeshOneofCase.Plane) hash ^= Plane.GetHashCode();
 214      hash ^= (int) meshCase_;
 215      if (_unknownFields != null) {
 216        hash ^= _unknownFields.GetHashCode();
 217      }
 218      return hash;
 219    }
 220
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public override string ToString() {
 224      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
 233      if (meshCase_ == MeshOneofCase.Box) {
 234        output.WriteRawTag(10);
 235        output.WriteMessage(Box);
 236      }
 237      if (meshCase_ == MeshOneofCase.Sphere) {
 238        output.WriteRawTag(18);
 239        output.WriteMessage(Sphere);
 240      }
 241      if (meshCase_ == MeshOneofCase.Cylinder) {
 242        output.WriteRawTag(26);
 243        output.WriteMessage(Cylinder);
 244      }
 245      if (meshCase_ == MeshOneofCase.Plane) {
 246        output.WriteRawTag(34);
 247        output.WriteMessage(Plane);
 248      }
 249      if (_unknownFields != null) {
 250        _unknownFields.WriteTo(output);
 251      }
 252    #endif
 253    }
 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() {
 284      int size = 0;
 285      if (meshCase_ == MeshOneofCase.Box) {
 286        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box);
 287      }
 288      if (meshCase_ == MeshOneofCase.Sphere) {
 289        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sphere);
 290      }
 291      if (meshCase_ == MeshOneofCase.Cylinder) {
 292        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cylinder);
 293      }
 294      if (meshCase_ == MeshOneofCase.Plane) {
 295        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Plane);
 296      }
 297      if (_unknownFields != null) {
 298        size += _unknownFields.CalculateSize();
 299      }
 300      return size;
 301    }
 302
 303    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 304    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 305    public void MergeFrom(PBMeshRenderer other) {
 306      if (other == null) {
 307        return;
 308      }
 309      switch (other.MeshCase) {
 310        case MeshOneofCase.Box:
 311          if (Box == null) {
 312            Box = new global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh();
 313          }
 314          Box.MergeFrom(other.Box);
 315          break;
 316        case MeshOneofCase.Sphere:
 317          if (Sphere == null) {
 318            Sphere = new global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh();
 319          }
 320          Sphere.MergeFrom(other.Sphere);
 321          break;
 322        case MeshOneofCase.Cylinder:
 323          if (Cylinder == null) {
 324            Cylinder = new global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh();
 325          }
 326          Cylinder.MergeFrom(other.Cylinder);
 327          break;
 328        case MeshOneofCase.Plane:
 329          if (Plane == null) {
 330            Plane = new global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh();
 331          }
 332          Plane.MergeFrom(other.Plane);
 333          break;
 334      }
 335
 336      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 337    }
 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;
 346      while ((tag = input.ReadTag()) != 0) {
 347        switch(tag) {
 348          default:
 349            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 350            break;
 351          case 10: {
 352            global::DCL.ECSComponents.PBMeshRenderer.Types.BoxMesh subBuilder = new global::DCL.ECSComponents.PBMeshRend
 353            if (meshCase_ == MeshOneofCase.Box) {
 354              subBuilder.MergeFrom(Box);
 355            }
 356            input.ReadMessage(subBuilder);
 357            Box = subBuilder;
 358            break;
 359          }
 360          case 18: {
 361            global::DCL.ECSComponents.PBMeshRenderer.Types.SphereMesh subBuilder = new global::DCL.ECSComponents.PBMeshR
 362            if (meshCase_ == MeshOneofCase.Sphere) {
 363              subBuilder.MergeFrom(Sphere);
 364            }
 365            input.ReadMessage(subBuilder);
 366            Sphere = subBuilder;
 367            break;
 368          }
 369          case 26: {
 370            global::DCL.ECSComponents.PBMeshRenderer.Types.CylinderMesh subBuilder = new global::DCL.ECSComponents.PBMes
 371            if (meshCase_ == MeshOneofCase.Cylinder) {
 372              subBuilder.MergeFrom(Cylinder);
 373            }
 374            input.ReadMessage(subBuilder);
 375            Cylinder = subBuilder;
 376            break;
 377          }
 378          case 34: {
 379            global::DCL.ECSComponents.PBMeshRenderer.Types.PlaneMesh subBuilder = new global::DCL.ECSComponents.PBMeshRe
 380            if (meshCase_ == MeshOneofCase.Plane) {
 381              subBuilder.MergeFrom(Plane);
 382            }
 383            input.ReadMessage(subBuilder);
 384            Plane = subBuilder;
 385            break;
 386          }
 387        }
 388      }
 389    #endif
 390    }
 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      {
 453        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)]
 457        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 {
 462          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 {
 468          get { return Descriptor; }
 469        }
 470
 471        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 472        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 473        public BoxMesh() {
 474          OnConstruction();
 475        }
 476
 477        partial void OnConstruction();
 478
 479        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 480        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 481        public BoxMesh(BoxMesh other) : this() {
 482          uvs_ = other.uvs_.Clone();
 483          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 484        }
 485
 486        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 487        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 488        public BoxMesh Clone() {
 489          return new BoxMesh(this);
 490        }
 491
 492        /// <summary>Field number for the "uvs" field.</summary>
 493        public const int UvsFieldNumber = 1;
 494        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 495            = pb::FieldCodec.ForFloat(10);
 496        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 {
 500          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) {
 506          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) {
 512          if (ReferenceEquals(other, null)) {
 513            return false;
 514          }
 515          if (ReferenceEquals(other, this)) {
 516            return true;
 517          }
 518          if(!uvs_.Equals(other.uvs_)) return false;
 519          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() {
 525          int hash = 1;
 526          hash ^= uvs_.GetHashCode();
 527          if (_unknownFields != null) {
 528            hash ^= _unknownFields.GetHashCode();
 529          }
 530          return hash;
 531        }
 532
 533        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 534        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 535        public override string ToString() {
 536          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
 545          uvs_.WriteTo(output, _repeated_uvs_codec);
 546          if (_unknownFields != null) {
 547            _unknownFields.WriteTo(output);
 548          }
 549        #endif
 550        }
 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() {
 566          int size = 0;
 567          size += uvs_.CalculateSize(_repeated_uvs_codec);
 568          if (_unknownFields != null) {
 569            size += _unknownFields.CalculateSize();
 570          }
 571          return size;
 572        }
 573
 574        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 575        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 576        public void MergeFrom(BoxMesh other) {
 577          if (other == null) {
 578            return;
 579          }
 580          uvs_.Add(other.uvs_);
 581          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 582        }
 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;
 591          while ((tag = input.ReadTag()) != 0) {
 592            switch(tag) {
 593              default:
 594                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 595                break;
 596              case 10:
 597              case 13: {
 598                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 599                break;
 600              }
 601            }
 602          }
 603        #endif
 604        }
 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      {
 633        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)]
 638        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 {
 643          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 {
 649          get { return Descriptor; }
 650        }
 651
 652        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 653        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 654        public CylinderMesh() {
 655          OnConstruction();
 656        }
 657
 658        partial void OnConstruction();
 659
 660        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 661        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 662        public CylinderMesh(CylinderMesh other) : this() {
 663          _hasBits0 = other._hasBits0;
 664          radiusTop_ = other.radiusTop_;
 665          radiusBottom_ = other.radiusBottom_;
 666          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 667        }
 668
 669        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 670        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 671        public CylinderMesh Clone() {
 672          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 {
 684          get { if ((_hasBits0 & 1) != 0) { return radiusTop_; } else { return 0F; } }
 685          set {
 686            _hasBits0 |= 1;
 687            radiusTop_ = value;
 688          }
 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 {
 694          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() {
 700          _hasBits0 &= ~1;
 701        }
 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 {
 712          get { if ((_hasBits0 & 2) != 0) { return radiusBottom_; } else { return 0F; } }
 713          set {
 714            _hasBits0 |= 2;
 715            radiusBottom_ = value;
 716          }
 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 {
 722          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() {
 728          _hasBits0 &= ~2;
 729        }
 730
 731        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 732        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 733        public override bool Equals(object other) {
 734          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) {
 740          if (ReferenceEquals(other, null)) {
 741            return false;
 742          }
 743          if (ReferenceEquals(other, this)) {
 744            return true;
 745          }
 746          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return f
 747          if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) re
 748          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() {
 754          int hash = 1;
 755          if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop);
 756          if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBo
 757          if (_unknownFields != null) {
 758            hash ^= _unknownFields.GetHashCode();
 759          }
 760          return hash;
 761        }
 762
 763        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 764        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 765        public override string ToString() {
 766          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
 775          if (HasRadiusTop) {
 776            output.WriteRawTag(13);
 777            output.WriteFloat(RadiusTop);
 778          }
 779          if (HasRadiusBottom) {
 780            output.WriteRawTag(21);
 781            output.WriteFloat(RadiusBottom);
 782          }
 783          if (_unknownFields != null) {
 784            _unknownFields.WriteTo(output);
 785          }
 786        #endif
 787        }
 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() {
 810          int size = 0;
 811          if (HasRadiusTop) {
 812            size += 1 + 4;
 813          }
 814          if (HasRadiusBottom) {
 815            size += 1 + 4;
 816          }
 817          if (_unknownFields != null) {
 818            size += _unknownFields.CalculateSize();
 819          }
 820          return size;
 821        }
 822
 823        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 824        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 825        public void MergeFrom(CylinderMesh other) {
 826          if (other == null) {
 827            return;
 828          }
 829          if (other.HasRadiusTop) {
 830            RadiusTop = other.RadiusTop;
 831          }
 832          if (other.HasRadiusBottom) {
 833            RadiusBottom = other.RadiusBottom;
 834          }
 835          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 836        }
 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;
 845          while ((tag = input.ReadTag()) != 0) {
 846            switch(tag) {
 847              default:
 848                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 849                break;
 850              case 13: {
 851                RadiusTop = input.ReadFloat();
 852                break;
 853              }
 854              case 21: {
 855                RadiusBottom = input.ReadFloat();
 856                break;
 857              }
 858            }
 859          }
 860        #endif
 861        }
 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      {
 893        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)]
 897        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 {
 902          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 {
 908          get { return Descriptor; }
 909        }
 910
 911        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 912        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 913        public PlaneMesh() {
 914          OnConstruction();
 915        }
 916
 917        partial void OnConstruction();
 918
 919        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 920        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 921        public PlaneMesh(PlaneMesh other) : this() {
 922          uvs_ = other.uvs_.Clone();
 923          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 924        }
 925
 926        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 927        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 928        public PlaneMesh Clone() {
 929          return new PlaneMesh(this);
 930        }
 931
 932        /// <summary>Field number for the "uvs" field.</summary>
 933        public const int UvsFieldNumber = 1;
 934        private static readonly pb::FieldCodec<float> _repeated_uvs_codec
 935            = pb::FieldCodec.ForFloat(10);
 936        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 {
 940          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) {
 946          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) {
 952          if (ReferenceEquals(other, null)) {
 953            return false;
 954          }
 955          if (ReferenceEquals(other, this)) {
 956            return true;
 957          }
 958          if(!uvs_.Equals(other.uvs_)) return false;
 959          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() {
 965          int hash = 1;
 966          hash ^= uvs_.GetHashCode();
 967          if (_unknownFields != null) {
 968            hash ^= _unknownFields.GetHashCode();
 969          }
 970          return hash;
 971        }
 972
 973        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 974        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 975        public override string ToString() {
 976          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
 985          uvs_.WriteTo(output, _repeated_uvs_codec);
 986          if (_unknownFields != null) {
 987            _unknownFields.WriteTo(output);
 988          }
 989        #endif
 990        }
 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() {
 1006          int size = 0;
 1007          size += uvs_.CalculateSize(_repeated_uvs_codec);
 1008          if (_unknownFields != null) {
 1009            size += _unknownFields.CalculateSize();
 1010          }
 1011          return size;
 1012        }
 1013
 1014        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1015        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1016        public void MergeFrom(PlaneMesh other) {
 1017          if (other == null) {
 1018            return;
 1019          }
 1020          uvs_.Add(other.uvs_);
 1021          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1022        }
 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;
 1031          while ((tag = input.ReadTag()) != 0) {
 1032            switch(tag) {
 1033              default:
 1034                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1035                break;
 1036              case 10:
 1037              case 13: {
 1038                uvs_.AddEntriesFrom(input, _repeated_uvs_codec);
 1039                break;
 1040              }
 1041            }
 1042          }
 1043        #endif
 1044        }
 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      {
 1073        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)]
 1077        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 {
 1082          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 {
 1088          get { return Descriptor; }
 1089        }
 1090
 1091        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1092        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1093        public SphereMesh() {
 1094          OnConstruction();
 1095        }
 1096
 1097        partial void OnConstruction();
 1098
 1099        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1100        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1101        public SphereMesh(SphereMesh other) : this() {
 1102          _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 1103        }
 1104
 1105        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1106        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1107        public SphereMesh Clone() {
 1108          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) {
 1114          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) {
 1120          if (ReferenceEquals(other, null)) {
 1121            return false;
 1122          }
 1123          if (ReferenceEquals(other, this)) {
 1124            return true;
 1125          }
 1126          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() {
 1132          int hash = 1;
 1133          if (_unknownFields != null) {
 1134            hash ^= _unknownFields.GetHashCode();
 1135          }
 1136          return hash;
 1137        }
 1138
 1139        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1140        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1141        public override string ToString() {
 1142          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
 1151          if (_unknownFields != null) {
 1152            _unknownFields.WriteTo(output);
 1153          }
 1154        #endif
 1155        }
 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() {
 1170          int size = 0;
 1171          if (_unknownFields != null) {
 1172            size += _unknownFields.CalculateSize();
 1173          }
 1174          return size;
 1175        }
 1176
 1177        [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1178        [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1179        public void MergeFrom(SphereMesh other) {
 1180          if (other == null) {
 1181            return;
 1182          }
 1183          _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1184        }
 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;
 1193          while ((tag = input.ReadTag()) != 0) {
 1194            switch(tag) {
 1195              default:
 1196                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1197                break;
 1198            }
 1199          }
 1200        #endif
 1201        }
 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