| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: OnPointerDownResult.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 OnPointerDownResult.proto</summary> |
| | 15 | | public static partial class OnPointerDownResultReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for OnPointerDownResult.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static OnPointerDownResultReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChlPblBvaW50ZXJEb3duUmVzdWx0LnByb3RvEhBkZWNlbnRyYWxhbmQuZWNz", |
| | 28 | | "GhRjb21tb24vVmVjdG9yMy5wcm90bxoZY29tbW9uL0FjdGlvbkJ1dHRvbi5w", |
| | 29 | | "cm90byLXAQoVUEJPblBvaW50ZXJEb3duUmVzdWx0Eh0KBmJ1dHRvbhgCIAEo", |
| | 30 | | "DjINLkFjdGlvbkJ1dHRvbhIQCghtZXNoTmFtZRgDIAEoCRIYCgZvcmlnaW4Y", |
| | 31 | | "BCABKAsyCC5WZWN0b3IzEhsKCWRpcmVjdGlvbhgFIAEoCzIILlZlY3RvcjMS", |
| | 32 | | "FwoFcG9pbnQYBiABKAsyCC5WZWN0b3IzEhgKBm5vcm1hbBgHIAEoCzIILlZl", |
| | 33 | | "Y3RvcjMSEAoIZGlzdGFuY2UYCCABKAISEQoJdGltZXN0YW1wGAkgASgFQhSq", |
| | 34 | | "AhFEQ0wuRUNTQ29tcG9uZW50c2IGcHJvdG8z")); |
| | 35 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 36 | | new pbr::FileDescriptor[] { global::Vector3Reflection.Descriptor, global::ActionButtonReflection.Descriptor, } |
| | 37 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 38 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBOnPointerDownResult), global::DCL.ECSCompon |
| | 39 | | })); |
| | 40 | | } |
| | 41 | | #endregion |
| | 42 | |
|
| | 43 | | } |
| | 44 | | #region Messages |
| | 45 | | public sealed partial class PBOnPointerDownResult : pb::IMessage<PBOnPointerDownResult> |
| | 46 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 47 | | , pb::IBufferMessage |
| | 48 | | #endif |
| | 49 | | { |
| 1 | 50 | | private static readonly pb::MessageParser<PBOnPointerDownResult> _parser = new pb::MessageParser<PBOnPointerDownResu |
| | 51 | | private pb::UnknownFieldSet _unknownFields; |
| | 52 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 53 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 54 | | public static pb::MessageParser<PBOnPointerDownResult> 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.OnPointerDownResultReflection.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 PBOnPointerDownResult() { |
| | 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 PBOnPointerDownResult(PBOnPointerDownResult other) : this() { |
| 0 | 79 | | button_ = other.button_; |
| 0 | 80 | | meshName_ = other.meshName_; |
| 0 | 81 | | origin_ = other.origin_ != null ? other.origin_.Clone() : null; |
| 0 | 82 | | direction_ = other.direction_ != null ? other.direction_.Clone() : null; |
| 0 | 83 | | point_ = other.point_ != null ? other.point_.Clone() : null; |
| 0 | 84 | | normal_ = other.normal_ != null ? other.normal_.Clone() : null; |
| 0 | 85 | | distance_ = other.distance_; |
| 0 | 86 | | timestamp_ = other.timestamp_; |
| 0 | 87 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 88 | | } |
| | 89 | |
|
| | 90 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 91 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 92 | | public PBOnPointerDownResult Clone() { |
| 0 | 93 | | return new PBOnPointerDownResult(this); |
| | 94 | | } |
| | 95 | |
|
| | 96 | | /// <summary>Field number for the "button" field.</summary> |
| | 97 | | public const int ButtonFieldNumber = 2; |
| | 98 | | private global::ActionButton button_ = global::ActionButton.Pointer; |
| | 99 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 101 | | public global::ActionButton Button { |
| 0 | 102 | | get { return button_; } |
| | 103 | | set { |
| 1 | 104 | | button_ = value; |
| 1 | 105 | | } |
| | 106 | | } |
| | 107 | |
|
| | 108 | | /// <summary>Field number for the "meshName" field.</summary> |
| | 109 | | public const int MeshNameFieldNumber = 3; |
| 1 | 110 | | private string meshName_ = ""; |
| | 111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 113 | | public string MeshName { |
| 0 | 114 | | get { return meshName_; } |
| | 115 | | set { |
| 1 | 116 | | meshName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 1 | 117 | | } |
| | 118 | | } |
| | 119 | |
|
| | 120 | | /// <summary>Field number for the "origin" field.</summary> |
| | 121 | | public const int OriginFieldNumber = 4; |
| | 122 | | private global::Vector3 origin_; |
| | 123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 125 | | public global::Vector3 Origin { |
| 0 | 126 | | get { return origin_; } |
| | 127 | | set { |
| 1 | 128 | | origin_ = value; |
| 1 | 129 | | } |
| | 130 | | } |
| | 131 | |
|
| | 132 | | /// <summary>Field number for the "direction" field.</summary> |
| | 133 | | public const int DirectionFieldNumber = 5; |
| | 134 | | private global::Vector3 direction_; |
| | 135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 137 | | public global::Vector3 Direction { |
| 0 | 138 | | get { return direction_; } |
| | 139 | | set { |
| 1 | 140 | | direction_ = value; |
| 1 | 141 | | } |
| | 142 | | } |
| | 143 | |
|
| | 144 | | /// <summary>Field number for the "point" field.</summary> |
| | 145 | | public const int PointFieldNumber = 6; |
| | 146 | | private global::Vector3 point_; |
| | 147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 149 | | public global::Vector3 Point { |
| 0 | 150 | | get { return point_; } |
| | 151 | | set { |
| 1 | 152 | | point_ = value; |
| 1 | 153 | | } |
| | 154 | | } |
| | 155 | |
|
| | 156 | | /// <summary>Field number for the "normal" field.</summary> |
| | 157 | | public const int NormalFieldNumber = 7; |
| | 158 | | private global::Vector3 normal_; |
| | 159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 161 | | public global::Vector3 Normal { |
| 0 | 162 | | get { return normal_; } |
| | 163 | | set { |
| 1 | 164 | | normal_ = value; |
| 1 | 165 | | } |
| | 166 | | } |
| | 167 | |
|
| | 168 | | /// <summary>Field number for the "distance" field.</summary> |
| | 169 | | public const int DistanceFieldNumber = 8; |
| | 170 | | private float distance_; |
| | 171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 172 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 173 | | public float Distance { |
| 0 | 174 | | get { return distance_; } |
| | 175 | | set { |
| 1 | 176 | | distance_ = value; |
| 1 | 177 | | } |
| | 178 | | } |
| | 179 | |
|
| | 180 | | /// <summary>Field number for the "timestamp" field.</summary> |
| | 181 | | public const int TimestampFieldNumber = 9; |
| | 182 | | private int timestamp_; |
| | 183 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 184 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 185 | | public int Timestamp { |
| 0 | 186 | | get { return timestamp_; } |
| | 187 | | set { |
| 0 | 188 | | timestamp_ = value; |
| 0 | 189 | | } |
| | 190 | | } |
| | 191 | |
|
| | 192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 194 | | public override bool Equals(object other) { |
| 0 | 195 | | return Equals(other as PBOnPointerDownResult); |
| | 196 | | } |
| | 197 | |
|
| | 198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 200 | | public bool Equals(PBOnPointerDownResult other) { |
| 0 | 201 | | if (ReferenceEquals(other, null)) { |
| 0 | 202 | | return false; |
| | 203 | | } |
| 0 | 204 | | if (ReferenceEquals(other, this)) { |
| 0 | 205 | | return true; |
| | 206 | | } |
| 0 | 207 | | if (Button != other.Button) return false; |
| 0 | 208 | | if (MeshName != other.MeshName) return false; |
| 0 | 209 | | if (!object.Equals(Origin, other.Origin)) return false; |
| 0 | 210 | | if (!object.Equals(Direction, other.Direction)) return false; |
| 0 | 211 | | if (!object.Equals(Point, other.Point)) return false; |
| 0 | 212 | | if (!object.Equals(Normal, other.Normal)) return false; |
| 0 | 213 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Distance, other.Distance)) return false; |
| 0 | 214 | | if (Timestamp != other.Timestamp) return false; |
| 0 | 215 | | return Equals(_unknownFields, other._unknownFields); |
| | 216 | | } |
| | 217 | |
|
| | 218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 220 | | public override int GetHashCode() { |
| 0 | 221 | | int hash = 1; |
| 0 | 222 | | if (Button != global::ActionButton.Pointer) hash ^= Button.GetHashCode(); |
| 0 | 223 | | if (MeshName.Length != 0) hash ^= MeshName.GetHashCode(); |
| 0 | 224 | | if (origin_ != null) hash ^= Origin.GetHashCode(); |
| 0 | 225 | | if (direction_ != null) hash ^= Direction.GetHashCode(); |
| 0 | 226 | | if (point_ != null) hash ^= Point.GetHashCode(); |
| 0 | 227 | | if (normal_ != null) hash ^= Normal.GetHashCode(); |
| 0 | 228 | | if (Distance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Distance); |
| 0 | 229 | | if (Timestamp != 0) hash ^= Timestamp.GetHashCode(); |
| 0 | 230 | | if (_unknownFields != null) { |
| 0 | 231 | | hash ^= _unknownFields.GetHashCode(); |
| | 232 | | } |
| 0 | 233 | | return hash; |
| | 234 | | } |
| | 235 | |
|
| | 236 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 237 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 238 | | public override string ToString() { |
| 0 | 239 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 240 | | } |
| | 241 | |
|
| | 242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 244 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 245 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 246 | | output.WriteRawMessage(this); |
| | 247 | | #else |
| 0 | 248 | | if (Button != global::ActionButton.Pointer) { |
| 0 | 249 | | output.WriteRawTag(16); |
| 0 | 250 | | output.WriteEnum((int) Button); |
| | 251 | | } |
| 0 | 252 | | if (MeshName.Length != 0) { |
| 0 | 253 | | output.WriteRawTag(26); |
| 0 | 254 | | output.WriteString(MeshName); |
| | 255 | | } |
| 0 | 256 | | if (origin_ != null) { |
| 0 | 257 | | output.WriteRawTag(34); |
| 0 | 258 | | output.WriteMessage(Origin); |
| | 259 | | } |
| 0 | 260 | | if (direction_ != null) { |
| 0 | 261 | | output.WriteRawTag(42); |
| 0 | 262 | | output.WriteMessage(Direction); |
| | 263 | | } |
| 0 | 264 | | if (point_ != null) { |
| 0 | 265 | | output.WriteRawTag(50); |
| 0 | 266 | | output.WriteMessage(Point); |
| | 267 | | } |
| 0 | 268 | | if (normal_ != null) { |
| 0 | 269 | | output.WriteRawTag(58); |
| 0 | 270 | | output.WriteMessage(Normal); |
| | 271 | | } |
| 0 | 272 | | if (Distance != 0F) { |
| 0 | 273 | | output.WriteRawTag(69); |
| 0 | 274 | | output.WriteFloat(Distance); |
| | 275 | | } |
| 0 | 276 | | if (Timestamp != 0) { |
| 0 | 277 | | output.WriteRawTag(72); |
| 0 | 278 | | output.WriteInt32(Timestamp); |
| | 279 | | } |
| 0 | 280 | | if (_unknownFields != null) { |
| 0 | 281 | | _unknownFields.WriteTo(output); |
| | 282 | | } |
| | 283 | | #endif |
| 0 | 284 | | } |
| | 285 | |
|
| | 286 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 289 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 290 | | if (Button != global::ActionButton.Pointer) { |
| | 291 | | output.WriteRawTag(16); |
| | 292 | | output.WriteEnum((int) Button); |
| | 293 | | } |
| | 294 | | if (MeshName.Length != 0) { |
| | 295 | | output.WriteRawTag(26); |
| | 296 | | output.WriteString(MeshName); |
| | 297 | | } |
| | 298 | | if (origin_ != null) { |
| | 299 | | output.WriteRawTag(34); |
| | 300 | | output.WriteMessage(Origin); |
| | 301 | | } |
| | 302 | | if (direction_ != null) { |
| | 303 | | output.WriteRawTag(42); |
| | 304 | | output.WriteMessage(Direction); |
| | 305 | | } |
| | 306 | | if (point_ != null) { |
| | 307 | | output.WriteRawTag(50); |
| | 308 | | output.WriteMessage(Point); |
| | 309 | | } |
| | 310 | | if (normal_ != null) { |
| | 311 | | output.WriteRawTag(58); |
| | 312 | | output.WriteMessage(Normal); |
| | 313 | | } |
| | 314 | | if (Distance != 0F) { |
| | 315 | | output.WriteRawTag(69); |
| | 316 | | output.WriteFloat(Distance); |
| | 317 | | } |
| | 318 | | if (Timestamp != 0) { |
| | 319 | | output.WriteRawTag(72); |
| | 320 | | output.WriteInt32(Timestamp); |
| | 321 | | } |
| | 322 | | if (_unknownFields != null) { |
| | 323 | | _unknownFields.WriteTo(ref output); |
| | 324 | | } |
| | 325 | | } |
| | 326 | | #endif |
| | 327 | |
|
| | 328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 330 | | public int CalculateSize() { |
| 0 | 331 | | int size = 0; |
| 0 | 332 | | if (Button != global::ActionButton.Pointer) { |
| 0 | 333 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Button); |
| | 334 | | } |
| 0 | 335 | | if (MeshName.Length != 0) { |
| 0 | 336 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(MeshName); |
| | 337 | | } |
| 0 | 338 | | if (origin_ != null) { |
| 0 | 339 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Origin); |
| | 340 | | } |
| 0 | 341 | | if (direction_ != null) { |
| 0 | 342 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Direction); |
| | 343 | | } |
| 0 | 344 | | if (point_ != null) { |
| 0 | 345 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Point); |
| | 346 | | } |
| 0 | 347 | | if (normal_ != null) { |
| 0 | 348 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Normal); |
| | 349 | | } |
| 0 | 350 | | if (Distance != 0F) { |
| 0 | 351 | | size += 1 + 4; |
| | 352 | | } |
| 0 | 353 | | if (Timestamp != 0) { |
| 0 | 354 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Timestamp); |
| | 355 | | } |
| 0 | 356 | | if (_unknownFields != null) { |
| 0 | 357 | | size += _unknownFields.CalculateSize(); |
| | 358 | | } |
| 0 | 359 | | return size; |
| | 360 | | } |
| | 361 | |
|
| | 362 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 363 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 364 | | public void MergeFrom(PBOnPointerDownResult other) { |
| 0 | 365 | | if (other == null) { |
| 0 | 366 | | return; |
| | 367 | | } |
| 0 | 368 | | if (other.Button != global::ActionButton.Pointer) { |
| 0 | 369 | | Button = other.Button; |
| | 370 | | } |
| 0 | 371 | | if (other.MeshName.Length != 0) { |
| 0 | 372 | | MeshName = other.MeshName; |
| | 373 | | } |
| 0 | 374 | | if (other.origin_ != null) { |
| 0 | 375 | | if (origin_ == null) { |
| 0 | 376 | | Origin = new global::Vector3(); |
| | 377 | | } |
| 0 | 378 | | Origin.MergeFrom(other.Origin); |
| | 379 | | } |
| 0 | 380 | | if (other.direction_ != null) { |
| 0 | 381 | | if (direction_ == null) { |
| 0 | 382 | | Direction = new global::Vector3(); |
| | 383 | | } |
| 0 | 384 | | Direction.MergeFrom(other.Direction); |
| | 385 | | } |
| 0 | 386 | | if (other.point_ != null) { |
| 0 | 387 | | if (point_ == null) { |
| 0 | 388 | | Point = new global::Vector3(); |
| | 389 | | } |
| 0 | 390 | | Point.MergeFrom(other.Point); |
| | 391 | | } |
| 0 | 392 | | if (other.normal_ != null) { |
| 0 | 393 | | if (normal_ == null) { |
| 0 | 394 | | Normal = new global::Vector3(); |
| | 395 | | } |
| 0 | 396 | | Normal.MergeFrom(other.Normal); |
| | 397 | | } |
| 0 | 398 | | if (other.Distance != 0F) { |
| 0 | 399 | | Distance = other.Distance; |
| | 400 | | } |
| 0 | 401 | | if (other.Timestamp != 0) { |
| 0 | 402 | | Timestamp = other.Timestamp; |
| | 403 | | } |
| 0 | 404 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 405 | | } |
| | 406 | |
|
| | 407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 409 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 410 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 411 | | input.ReadRawMessage(this); |
| | 412 | | #else |
| | 413 | | uint tag; |
| 0 | 414 | | while ((tag = input.ReadTag()) != 0) { |
| | 415 | | switch(tag) { |
| | 416 | | default: |
| 0 | 417 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 418 | | break; |
| | 419 | | case 16: { |
| 0 | 420 | | Button = (global::ActionButton) input.ReadEnum(); |
| 0 | 421 | | break; |
| | 422 | | } |
| | 423 | | case 26: { |
| 0 | 424 | | MeshName = input.ReadString(); |
| 0 | 425 | | break; |
| | 426 | | } |
| | 427 | | case 34: { |
| 0 | 428 | | if (origin_ == null) { |
| 0 | 429 | | Origin = new global::Vector3(); |
| | 430 | | } |
| 0 | 431 | | input.ReadMessage(Origin); |
| 0 | 432 | | break; |
| | 433 | | } |
| | 434 | | case 42: { |
| 0 | 435 | | if (direction_ == null) { |
| 0 | 436 | | Direction = new global::Vector3(); |
| | 437 | | } |
| 0 | 438 | | input.ReadMessage(Direction); |
| 0 | 439 | | break; |
| | 440 | | } |
| | 441 | | case 50: { |
| 0 | 442 | | if (point_ == null) { |
| 0 | 443 | | Point = new global::Vector3(); |
| | 444 | | } |
| 0 | 445 | | input.ReadMessage(Point); |
| 0 | 446 | | break; |
| | 447 | | } |
| | 448 | | case 58: { |
| 0 | 449 | | if (normal_ == null) { |
| 0 | 450 | | Normal = new global::Vector3(); |
| | 451 | | } |
| 0 | 452 | | input.ReadMessage(Normal); |
| 0 | 453 | | break; |
| | 454 | | } |
| | 455 | | case 69: { |
| 0 | 456 | | Distance = input.ReadFloat(); |
| 0 | 457 | | break; |
| | 458 | | } |
| | 459 | | case 72: { |
| 0 | 460 | | Timestamp = input.ReadInt32(); |
| | 461 | | break; |
| | 462 | | } |
| | 463 | | } |
| | 464 | | } |
| | 465 | | #endif |
| 0 | 466 | | } |
| | 467 | |
|
| | 468 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 471 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 472 | | uint tag; |
| | 473 | | while ((tag = input.ReadTag()) != 0) { |
| | 474 | | switch(tag) { |
| | 475 | | default: |
| | 476 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 477 | | break; |
| | 478 | | case 16: { |
| | 479 | | Button = (global::ActionButton) input.ReadEnum(); |
| | 480 | | break; |
| | 481 | | } |
| | 482 | | case 26: { |
| | 483 | | MeshName = input.ReadString(); |
| | 484 | | break; |
| | 485 | | } |
| | 486 | | case 34: { |
| | 487 | | if (origin_ == null) { |
| | 488 | | Origin = new global::Vector3(); |
| | 489 | | } |
| | 490 | | input.ReadMessage(Origin); |
| | 491 | | break; |
| | 492 | | } |
| | 493 | | case 42: { |
| | 494 | | if (direction_ == null) { |
| | 495 | | Direction = new global::Vector3(); |
| | 496 | | } |
| | 497 | | input.ReadMessage(Direction); |
| | 498 | | break; |
| | 499 | | } |
| | 500 | | case 50: { |
| | 501 | | if (point_ == null) { |
| | 502 | | Point = new global::Vector3(); |
| | 503 | | } |
| | 504 | | input.ReadMessage(Point); |
| | 505 | | break; |
| | 506 | | } |
| | 507 | | case 58: { |
| | 508 | | if (normal_ == null) { |
| | 509 | | Normal = new global::Vector3(); |
| | 510 | | } |
| | 511 | | input.ReadMessage(Normal); |
| | 512 | | break; |
| | 513 | | } |
| | 514 | | case 69: { |
| | 515 | | Distance = input.ReadFloat(); |
| | 516 | | break; |
| | 517 | | } |
| | 518 | | case 72: { |
| | 519 | | Timestamp = input.ReadInt32(); |
| | 520 | | break; |
| | 521 | | } |
| | 522 | | } |
| | 523 | | } |
| | 524 | | } |
| | 525 | | #endif |
| | 526 | |
|
| | 527 | | } |
| | 528 | |
|
| | 529 | | #endregion |
| | 530 | |
|
| | 531 | | } |
| | 532 | |
|
| | 533 | | #endregion Designer generated code |