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