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