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