| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: CylinderShape.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 CylinderShape.proto</summary> |
| | 15 | | public static partial class CylinderShapeReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for CylinderShape.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static CylinderShapeReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChNDeWxpbmRlclNoYXBlLnByb3RvEhBkZWNlbnRyYWxhbmQuZWNzIvMBCg9Q", |
| | 28 | | "QkN5bGluZGVyU2hhcGUSHAoPd2l0aF9jb2xsaXNpb25zGAEgASgISACIAQES", |
| | 29 | | "HwoSaXNfcG9pbnRlcl9ibG9ja2VyGAIgASgISAGIAQESFAoHdmlzaWJsZRgD", |
| | 30 | | "IAEoCEgCiAEBEhcKCnJhZGl1c190b3AYBCABKAJIA4gBARIaCg1yYWRpdXNf", |
| | 31 | | "Ym90dG9tGAUgASgCSASIAQFCEgoQX3dpdGhfY29sbGlzaW9uc0IVChNfaXNf", |
| | 32 | | "cG9pbnRlcl9ibG9ja2VyQgoKCF92aXNpYmxlQg0KC19yYWRpdXNfdG9wQhAK", |
| | 33 | | "Dl9yYWRpdXNfYm90dG9tQhSqAhFEQ0wuRUNTQ29tcG9uZW50c2IGcHJvdG8z")); |
| | 34 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 35 | | new pbr::FileDescriptor[] { }, |
| | 36 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 37 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBCylinderShape), global::DCL.ECSComponents.P |
| | 38 | | })); |
| | 39 | | } |
| | 40 | | #endregion |
| | 41 | |
|
| | 42 | | } |
| | 43 | | #region Messages |
| | 44 | | public sealed partial class PBCylinderShape : pb::IMessage<PBCylinderShape> |
| | 45 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 46 | | , pb::IBufferMessage |
| | 47 | | #endif |
| | 48 | | { |
| 4 | 49 | | private static readonly pb::MessageParser<PBCylinderShape> _parser = new pb::MessageParser<PBCylinderShape>(() => ne |
| | 50 | | private pb::UnknownFieldSet _unknownFields; |
| | 51 | | private int _hasBits0; |
| | 52 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 53 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 54 | | public static pb::MessageParser<PBCylinderShape> Parser { get { return _parser; } } |
| | 55 | |
|
| | 56 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 57 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 58 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 59 | | get { return global::DCL.ECSComponents.CylinderShapeReflection.Descriptor.MessageTypes[0]; } |
| | 60 | | } |
| | 61 | |
|
| | 62 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 63 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 64 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 65 | | get { return Descriptor; } |
| | 66 | | } |
| | 67 | |
|
| | 68 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 69 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 70 | | public PBCylinderShape() { |
| | 71 | | OnConstruction(); |
| 1 | 72 | | } |
| | 73 | |
|
| | 74 | | partial void OnConstruction(); |
| | 75 | |
|
| | 76 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 77 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 78 | | public PBCylinderShape(PBCylinderShape other) : this() { |
| 0 | 79 | | _hasBits0 = other._hasBits0; |
| 0 | 80 | | withCollisions_ = other.withCollisions_; |
| 0 | 81 | | isPointerBlocker_ = other.isPointerBlocker_; |
| 0 | 82 | | visible_ = other.visible_; |
| 0 | 83 | | radiusTop_ = other.radiusTop_; |
| 0 | 84 | | radiusBottom_ = other.radiusBottom_; |
| 0 | 85 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 86 | | } |
| | 87 | |
|
| | 88 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 89 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 90 | | public PBCylinderShape Clone() { |
| 0 | 91 | | return new PBCylinderShape(this); |
| | 92 | | } |
| | 93 | |
|
| | 94 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 95 | | public const int WithCollisionsFieldNumber = 1; |
| | 96 | | private bool withCollisions_; |
| | 97 | | /// <summary> |
| | 98 | | /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 |
| | 99 | | /// </summary> |
| | 100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 102 | | public bool WithCollisions { |
| 0 | 103 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 104 | | set { |
| 6 | 105 | | _hasBits0 |= 1; |
| 6 | 106 | | withCollisions_ = value; |
| 6 | 107 | | } |
| | 108 | | } |
| | 109 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 112 | | public bool HasWithCollisions { |
| 0 | 113 | | get { return (_hasBits0 & 1) != 0; } |
| | 114 | | } |
| | 115 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 118 | | public void ClearWithCollisions() { |
| 0 | 119 | | _hasBits0 &= ~1; |
| 0 | 120 | | } |
| | 121 | |
|
| | 122 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 123 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 124 | | private bool isPointerBlocker_; |
| | 125 | | /// <summary> |
| | 126 | | /// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 |
| | 127 | | /// </summary> |
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 130 | | public bool IsPointerBlocker { |
| 0 | 131 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 132 | | set { |
| 6 | 133 | | _hasBits0 |= 2; |
| 6 | 134 | | isPointerBlocker_ = value; |
| 6 | 135 | | } |
| | 136 | | } |
| | 137 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 140 | | public bool HasIsPointerBlocker { |
| 0 | 141 | | get { return (_hasBits0 & 2) != 0; } |
| | 142 | | } |
| | 143 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 146 | | public void ClearIsPointerBlocker() { |
| 0 | 147 | | _hasBits0 &= ~2; |
| 0 | 148 | | } |
| | 149 | |
|
| | 150 | | /// <summary>Field number for the "visible" field.</summary> |
| | 151 | | public const int VisibleFieldNumber = 3; |
| | 152 | | private bool visible_; |
| | 153 | | /// <summary> |
| | 154 | | /// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 |
| | 155 | | /// </summary> |
| | 156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 158 | | public bool Visible { |
| 0 | 159 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 160 | | set { |
| 6 | 161 | | _hasBits0 |= 4; |
| 6 | 162 | | visible_ = value; |
| 6 | 163 | | } |
| | 164 | | } |
| | 165 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 166 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 167 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 168 | | public bool HasVisible { |
| 0 | 169 | | get { return (_hasBits0 & 4) != 0; } |
| | 170 | | } |
| | 171 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 174 | | public void ClearVisible() { |
| 0 | 175 | | _hasBits0 &= ~4; |
| 0 | 176 | | } |
| | 177 | |
|
| | 178 | | /// <summary>Field number for the "radius_top" field.</summary> |
| | 179 | | public const int RadiusTopFieldNumber = 4; |
| | 180 | | private float radiusTop_; |
| | 181 | | /// <summary> |
| | 182 | | /// default=1.0 |
| | 183 | | /// </summary> |
| | 184 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 185 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 186 | | public float RadiusTop { |
| 18 | 187 | | get { if ((_hasBits0 & 8) != 0) { return radiusTop_; } else { return 0F; } } |
| | 188 | | set { |
| 6 | 189 | | _hasBits0 |= 8; |
| 6 | 190 | | radiusTop_ = value; |
| 6 | 191 | | } |
| | 192 | | } |
| | 193 | | /// <summary>Gets whether the "radius_top" field is set</summary> |
| | 194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 196 | | public bool HasRadiusTop { |
| 0 | 197 | | get { return (_hasBits0 & 8) != 0; } |
| | 198 | | } |
| | 199 | | /// <summary>Clears the value of the "radius_top" field</summary> |
| | 200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 202 | | public void ClearRadiusTop() { |
| 0 | 203 | | _hasBits0 &= ~8; |
| 0 | 204 | | } |
| | 205 | |
|
| | 206 | | /// <summary>Field number for the "radius_bottom" field.</summary> |
| | 207 | | public const int RadiusBottomFieldNumber = 5; |
| | 208 | | private float radiusBottom_; |
| | 209 | | /// <summary> |
| | 210 | | /// default=1.0 |
| | 211 | | /// </summary> |
| | 212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 214 | | public float RadiusBottom { |
| 18 | 215 | | get { if ((_hasBits0 & 16) != 0) { return radiusBottom_; } else { return 0F; } } |
| | 216 | | set { |
| 6 | 217 | | _hasBits0 |= 16; |
| 6 | 218 | | radiusBottom_ = value; |
| 6 | 219 | | } |
| | 220 | | } |
| | 221 | | /// <summary>Gets whether the "radius_bottom" field is set</summary> |
| | 222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 224 | | public bool HasRadiusBottom { |
| 0 | 225 | | get { return (_hasBits0 & 16) != 0; } |
| | 226 | | } |
| | 227 | | /// <summary>Clears the value of the "radius_bottom" field</summary> |
| | 228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 230 | | public void ClearRadiusBottom() { |
| 0 | 231 | | _hasBits0 &= ~16; |
| 0 | 232 | | } |
| | 233 | |
|
| | 234 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 235 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 236 | | public override bool Equals(object other) { |
| 18 | 237 | | return Equals(other as PBCylinderShape); |
| | 238 | | } |
| | 239 | |
|
| | 240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 242 | | public bool Equals(PBCylinderShape other) { |
| 18 | 243 | | if (ReferenceEquals(other, null)) { |
| 0 | 244 | | return false; |
| | 245 | | } |
| 18 | 246 | | if (ReferenceEquals(other, this)) { |
| 18 | 247 | | return true; |
| | 248 | | } |
| 0 | 249 | | if (WithCollisions != other.WithCollisions) return false; |
| 0 | 250 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| 0 | 251 | | if (Visible != other.Visible) return false; |
| 0 | 252 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false |
| 0 | 253 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return |
| 0 | 254 | | return Equals(_unknownFields, other._unknownFields); |
| | 255 | | } |
| | 256 | |
|
| | 257 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 258 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 259 | | public override int GetHashCode() { |
| 41 | 260 | | int hash = 1; |
| 41 | 261 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| 41 | 262 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| 41 | 263 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| 41 | 264 | | if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop); |
| 41 | 265 | | if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBottom |
| 41 | 266 | | if (_unknownFields != null) { |
| 0 | 267 | | hash ^= _unknownFields.GetHashCode(); |
| | 268 | | } |
| 41 | 269 | | return hash; |
| | 270 | | } |
| | 271 | |
|
| | 272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 274 | | public override string ToString() { |
| 0 | 275 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 276 | | } |
| | 277 | |
|
| | 278 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 279 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 280 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 281 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 282 | | output.WriteRawMessage(this); |
| | 283 | | #else |
| 4 | 284 | | if (HasWithCollisions) { |
| 3 | 285 | | output.WriteRawTag(8); |
| 3 | 286 | | output.WriteBool(WithCollisions); |
| | 287 | | } |
| 4 | 288 | | if (HasIsPointerBlocker) { |
| 3 | 289 | | output.WriteRawTag(16); |
| 3 | 290 | | output.WriteBool(IsPointerBlocker); |
| | 291 | | } |
| 4 | 292 | | if (HasVisible) { |
| 3 | 293 | | output.WriteRawTag(24); |
| 3 | 294 | | output.WriteBool(Visible); |
| | 295 | | } |
| 4 | 296 | | if (HasRadiusTop) { |
| 3 | 297 | | output.WriteRawTag(37); |
| 3 | 298 | | output.WriteFloat(RadiusTop); |
| | 299 | | } |
| 4 | 300 | | if (HasRadiusBottom) { |
| 3 | 301 | | output.WriteRawTag(45); |
| 3 | 302 | | output.WriteFloat(RadiusBottom); |
| | 303 | | } |
| 4 | 304 | | if (_unknownFields != null) { |
| 0 | 305 | | _unknownFields.WriteTo(output); |
| | 306 | | } |
| | 307 | | #endif |
| 4 | 308 | | } |
| | 309 | |
|
| | 310 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 313 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 314 | | if (HasWithCollisions) { |
| | 315 | | output.WriteRawTag(8); |
| | 316 | | output.WriteBool(WithCollisions); |
| | 317 | | } |
| | 318 | | if (HasIsPointerBlocker) { |
| | 319 | | output.WriteRawTag(16); |
| | 320 | | output.WriteBool(IsPointerBlocker); |
| | 321 | | } |
| | 322 | | if (HasVisible) { |
| | 323 | | output.WriteRawTag(24); |
| | 324 | | output.WriteBool(Visible); |
| | 325 | | } |
| | 326 | | if (HasRadiusTop) { |
| | 327 | | output.WriteRawTag(37); |
| | 328 | | output.WriteFloat(RadiusTop); |
| | 329 | | } |
| | 330 | | if (HasRadiusBottom) { |
| | 331 | | output.WriteRawTag(45); |
| | 332 | | output.WriteFloat(RadiusBottom); |
| | 333 | | } |
| | 334 | | if (_unknownFields != null) { |
| | 335 | | _unknownFields.WriteTo(ref output); |
| | 336 | | } |
| | 337 | | } |
| | 338 | | #endif |
| | 339 | |
|
| | 340 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 341 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 342 | | public int CalculateSize() { |
| 0 | 343 | | int size = 0; |
| 0 | 344 | | if (HasWithCollisions) { |
| 0 | 345 | | size += 1 + 1; |
| | 346 | | } |
| 0 | 347 | | if (HasIsPointerBlocker) { |
| 0 | 348 | | size += 1 + 1; |
| | 349 | | } |
| 0 | 350 | | if (HasVisible) { |
| 0 | 351 | | size += 1 + 1; |
| | 352 | | } |
| 0 | 353 | | if (HasRadiusTop) { |
| 0 | 354 | | size += 1 + 4; |
| | 355 | | } |
| 0 | 356 | | if (HasRadiusBottom) { |
| 0 | 357 | | size += 1 + 4; |
| | 358 | | } |
| 0 | 359 | | if (_unknownFields != null) { |
| 0 | 360 | | size += _unknownFields.CalculateSize(); |
| | 361 | | } |
| 0 | 362 | | return size; |
| | 363 | | } |
| | 364 | |
|
| | 365 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 366 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 367 | | public void MergeFrom(PBCylinderShape other) { |
| 0 | 368 | | if (other == null) { |
| 0 | 369 | | return; |
| | 370 | | } |
| 0 | 371 | | if (other.HasWithCollisions) { |
| 0 | 372 | | WithCollisions = other.WithCollisions; |
| | 373 | | } |
| 0 | 374 | | if (other.HasIsPointerBlocker) { |
| 0 | 375 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 376 | | } |
| 0 | 377 | | if (other.HasVisible) { |
| 0 | 378 | | Visible = other.Visible; |
| | 379 | | } |
| 0 | 380 | | if (other.HasRadiusTop) { |
| 0 | 381 | | RadiusTop = other.RadiusTop; |
| | 382 | | } |
| 0 | 383 | | if (other.HasRadiusBottom) { |
| 0 | 384 | | RadiusBottom = other.RadiusBottom; |
| | 385 | | } |
| 0 | 386 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 387 | | } |
| | 388 | |
|
| | 389 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 390 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 391 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 392 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 393 | | input.ReadRawMessage(this); |
| | 394 | | #else |
| | 395 | | uint tag; |
| 18 | 396 | | while ((tag = input.ReadTag()) != 0) { |
| | 397 | | switch(tag) { |
| | 398 | | default: |
| 0 | 399 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 400 | | break; |
| | 401 | | case 8: { |
| 3 | 402 | | WithCollisions = input.ReadBool(); |
| 3 | 403 | | break; |
| | 404 | | } |
| | 405 | | case 16: { |
| 3 | 406 | | IsPointerBlocker = input.ReadBool(); |
| 3 | 407 | | break; |
| | 408 | | } |
| | 409 | | case 24: { |
| 3 | 410 | | Visible = input.ReadBool(); |
| 3 | 411 | | break; |
| | 412 | | } |
| | 413 | | case 37: { |
| 3 | 414 | | RadiusTop = input.ReadFloat(); |
| 3 | 415 | | break; |
| | 416 | | } |
| | 417 | | case 45: { |
| 3 | 418 | | RadiusBottom = input.ReadFloat(); |
| | 419 | | break; |
| | 420 | | } |
| | 421 | | } |
| | 422 | | } |
| | 423 | | #endif |
| 3 | 424 | | } |
| | 425 | |
|
| | 426 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 429 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 430 | | uint tag; |
| | 431 | | while ((tag = input.ReadTag()) != 0) { |
| | 432 | | switch(tag) { |
| | 433 | | default: |
| | 434 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 435 | | break; |
| | 436 | | case 8: { |
| | 437 | | WithCollisions = input.ReadBool(); |
| | 438 | | break; |
| | 439 | | } |
| | 440 | | case 16: { |
| | 441 | | IsPointerBlocker = input.ReadBool(); |
| | 442 | | break; |
| | 443 | | } |
| | 444 | | case 24: { |
| | 445 | | Visible = input.ReadBool(); |
| | 446 | | break; |
| | 447 | | } |
| | 448 | | case 37: { |
| | 449 | | RadiusTop = input.ReadFloat(); |
| | 450 | | break; |
| | 451 | | } |
| | 452 | | case 45: { |
| | 453 | | RadiusBottom = input.ReadFloat(); |
| | 454 | | break; |
| | 455 | | } |
| | 456 | | } |
| | 457 | | } |
| | 458 | | } |
| | 459 | | #endif |
| | 460 | |
|
| | 461 | | } |
| | 462 | |
|
| | 463 | | #endregion |
| | 464 | |
|
| | 465 | | } |
| | 466 | |
|
| | 467 | | #endregion Designer generated code |