-
Notifications
You must be signed in to change notification settings - Fork 14
/
Entity.cs
1640 lines (1476 loc) · 36 KB
/
Entity.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using System;
using System.Collections.Generic;
using System.Globalization;
using EVE.ISXEVE;
using EVE.ISXEVE.Extensions;
using EVE.ISXEVE.Interfaces;
using LavishScriptAPI;
namespace EVE.ISXEVE
{
/// <summary>
/// Wrapper for the entity data type.
/// </summary>
public class Entity : LavishScriptObject
{
#region Constructors
/// <summary>
/// Copy constructor for the Entity object.
/// </summary>
/// <param name="Obj"></param>
public Entity(LavishScriptObject Obj)
: base(Obj)
{
}
/// <summary>
/// Search for an Entity using LS Query syntax.
/// </summary>
/// <param queryString="queryString"></param>
public Entity(string queryString)
: base(LavishScript.Objects.GetObject("Entity", queryString))
{
}
/// <summary>
/// Search for an Entity matching the given ID.
/// </summary>
/// <param name="entityID"></param>
public Entity(long entityID)
: base(LavishScript.Objects.GetObject("Entity", entityID.ToString(CultureInfo.CurrentCulture)))
{
}
#endregion
#region Static Members
public static List<Entity> All
{
get
{
return new EVE().QueryEntities();
}
}
#endregion
#region LavishScript Members
private string _alliance;
/// <summary>
/// Wrapper for the Alliance member of the entity type.
/// </summary>
public string Alliance
{
get { return _alliance ?? (_alliance = this.GetString("Alliance")); }
}
private int? _allianceId;
/// <summary>
/// Wrapper for the AllianceID member of the entity type.
/// </summary>
public int AllianceID
{
get
{
if (_allianceId == null)
_allianceId = this.GetInt("AllianceID");
return _allianceId.Value;
}
}
private string _allianceTicker;
/// <summary>
/// Wrapper for the AllianceTicker member of the entity type.
/// </summary>
public string AllianceTicker
{
get { return _allianceTicker ?? (_allianceTicker = this.GetString("AllianceTicker")); }
}
private double? _bounty;
/// <summary>
/// Wrapper for the Bounty member of the Entity datatype.
/// </summary>
public double Bounty
{
get
{
if (_bounty == null)
_bounty = this.GetDouble("Bounty");
return _bounty.Value;
}
}
private string _category;
/// <summary>
/// Wrapper for the Category member of the entity type.
/// </summary>
public string Category
{
get { return _category ?? (_category = this.GetString("Category")); }
}
private int? _categoryId;
/// <summary>
/// Wrapper for the CategoryID member of the entity type.
/// </summary>
public int CategoryID
{
get
{
if (_categoryId == null)
_categoryId = this.GetInt("CategoryID");
return _categoryId.Value;
}
}
/// <summary>
/// Wrapper for the CategoryType member of the entity type.
/// </summary>
public CategoryType CategoryType
{
get
{
return (CategoryType)CategoryID;
}
}
private Int64? _charId;
/// <summary>
/// Wrapper for the CharID member of the entity type.
/// </summary>
public Int64 CharID
{
get
{
if (_charId == null)
_charId = this.GetInt64("CharID");
return _charId.Value;
}
}
private Corporation _corp;
/// <summary>
/// Wrapper for the Corporation member of the entity type.
/// </summary>
public Corporation Corp
{
get
{
return _corp ?? (_corp = new Corporation(GetMember("Corporation")));
}
}
private int? _formationId;
/// <summary>
/// Wrapper for the FormationID member of the entity type.
/// </summary>
public int FormationID
{
get
{
if (_formationId == null)
_formationId = this.GetInt("FormationID");
return _formationId.Value;
}
}
private string _group;
/// <summary>
/// Wrapper for the Group member of the entity type.
/// </summary>
public string Group
{
get { return _group ?? (_group = this.GetString("Group")); }
}
private int? _groupId;
/// <summary>
/// Wrapper for the GroupID member of the entity type.
/// </summary>
public int GroupID
{
get
{
if (_groupId == null)
_groupId = this.GetInt("GroupID");
return _groupId.Value;
}
}
private Int64? _id;
/// <summary>
/// Wrapper for the ID member of the entity type.
/// </summary>
public Int64 ID
{
get
{
Tracing.SendCallback("Entity.ID");
if (_id == null)
_id = this.GetInt64("ID");
return _id.Value;
}
}
private bool? _isWreckViewed;
public bool IsWreckViewed
{
get
{
if (_isWreckViewed == null)
_isWreckViewed = this.GetBool("IsWreckViewed");
return _isWreckViewed.Value;
}
}
private bool? _isAbandoned;
public bool IsAbandoned
{
get
{
if (_isAbandoned == null)
_isAbandoned = this.GetBool("IsAbandoned");
return _isAbandoned.Value;
}
}
private double? _maxVelocity;
/// <summary>
/// Wrapper for the MaxVelocity member of the entity type.
/// </summary>
public double MaxVelocity
{
get
{
if (_maxVelocity == null)
_maxVelocity = this.GetDouble("MaxVelocity");
return _maxVelocity.Value;
}
}
private string _name;
/// <summary>
/// Wrapper for the Name member of the entity type.
/// </summary>
public string Name
{
get { return _name ?? (_name = this.GetString("Name")); }
}
private Pilot _owner;
/// <summary>
/// Only valid if the owner is on the locals list. Use OwnerID otherwise.
/// </summary>
public Pilot Owner
{
get { return _owner ?? (_owner = new Pilot(GetMember("Owner"))); }
}
private Int64? _ownerId;
/// <summary>
/// Wrapper for the OwnerID member of the entity type.
/// </summary>
public Int64 OwnerID
{
get
{
if (_ownerId == null)
_ownerId = this.GetInt64("OwnerID");
return _ownerId.Value;
}
}
private double? _security;
/// <summary>
/// Wrapper for the Security member of the entity type.
/// </summary>
public double Security
{
get
{
if (_security == null)
_security = this.GetDouble("Security");
return _security.Value;
}
}
private string _type;
/// <summary>
/// Wrapper for the Type member of the entity type.
/// </summary>
public string Type
{
get { return _type ?? (_type = this.GetString("Type")); }
}
private int? _typeId;
/// <summary>
/// Wrapper for the TypeID member of the entity type.
/// </summary>
public int TypeID
{
get
{
if (_typeId == null)
_typeId = this.GetInt("TypeID");
return _typeId.Value;
}
}
private int? _wreckId;
/// <summary>
/// Wrapper for the WreckID member of the entity type.
/// </summary>
public int WreckID
{
get
{
if (_wreckId == null)
_wreckId = this.GetInt("WreckID");
return _wreckId.Value;
}
}
private ActiveDrone _toActiveDrone;
/// <summary>
/// Wrapper for the ToActiveDrone member of the entity type.
/// </summary>
public ActiveDrone ToActiveDrone
{
get { return _toActiveDrone ?? (_toActiveDrone = new ActiveDrone(GetMember("ToActiveDrone"))); }
}
private List<ActiveDrone> _activeDrones;
/// <summary>
/// Wrapper for the GetActiveDrones member of the entity type.
/// </summary>
/// <returns></returns>
public List<ActiveDrone> GetActiveDrones()
{
Tracing.SendCallback("Entity.GetActiveDrones");
return _activeDrones ?? (_activeDrones = Util.GetListFromMethod<ActiveDrone>(this, "GetActiveDrones", "activedrone"));
}
private bool? _isWreckEmpty;
/// <summary>
/// Wrapper for the IsWreckEmpty member of the entity type.
/// </summary>
public bool IsWreckEmpty
{
get
{
if (_isWreckEmpty == null)
_isWreckEmpty = this.GetBool("IsWreckEmpty");
return _isWreckEmpty.Value;
}
}
private bool? _isOwnedByCorpMember;
/// <summary>
/// Wrapper for the IsOwnedByCorpMember member of the entity type.
/// </summary>
public bool IsOwnedByCorpMember
{
get
{
if (_isOwnedByCorpMember == null)
_isOwnedByCorpMember = this.GetBool("IsOwnedByCorpMember");
return _isOwnedByCorpMember.Value;
}
}
private bool? _isOwnedByAllianceMember;
/// <summary>
/// Wrapper for the IsOwnedByAllianceMember member of the entity type.
/// </summary>
public bool IsOwnedByAllianceMember
{
get
{
if (_isOwnedByAllianceMember == null)
_isOwnedByAllianceMember = this.GetBool("IsOwnedByAllianceMember");
return _isOwnedByAllianceMember.Value;
}
}
#region Location
private double? _x;
/// <summary>
/// Wrapper for the X member of the entity type.
/// </summary>
public double X
{
get
{
if (_x == null)
_x = this.GetDouble("X");
return _x.Value;
}
}
private double? _y;
/// <summary>
/// Wrapper for the Y member of the entity type.
/// </summary>
public double Y
{
get
{
if (_y == null)
_y = this.GetDouble("Y");
return _y.Value;
}
}
private double? _z;
/// <summary>
/// Wrapper for the Z member of the entity type.
/// </summary>
public double Z
{
get
{
if (_z == null)
_z = this.GetDouble("Z");
return _z.Value;
}
}
private double? _vx;
/// <summary>
/// Wrapper for the vX member of the entity type.
/// </summary>
#pragma warning disable IDE1006 // Naming Styles
public double vX
#pragma warning restore IDE1006 // Naming Styles
{
get
{
if (_vx == null)
_vx = this.GetDouble("vX");
return _vx.Value;
}
}
private double? _vy;
/// <summary>
/// Wrapper for the vY member of the entity type.
/// </summary>
#pragma warning disable IDE1006 // Naming Styles
public double vY
#pragma warning restore IDE1006 // Naming Styles
{
get
{
if (_vy == null)
_vy = this.GetDouble("vY");
return _vy.Value;
}
}
private double? _vz;
/// <summary>
/// Wrapper for the vZ member of the entity type.
/// </summary>
#pragma warning disable IDE1006 // Naming Styles
public double vZ
#pragma warning restore IDE1006 // Naming Styles
{
get
{
if (_vz == null)
_vz = this.GetDouble("vZ");
return _vz.Value;
}
}
private double? _pitch;
/// <summary>
/// Wrapper for the Pitch member of the entity type.
/// </summary>
public double Pitch
{
get
{
if (_pitch == null)
_pitch = this.GetDouble("Pitch");
return _pitch.Value;
}
}
private double? _roll;
/// <summary>
/// Wrapper for the Roll member of the entity type.
/// </summary>
public double Roll
{
get
{
if (_roll == null)
_roll = this.GetDouble("Roll");
return _roll.Value;
}
}
private double? _yaw;
/// <summary>
/// Wrapper for the Yaw member of the entity type.
/// </summary>
public double Yaw
{
get
{
if (_yaw == null)
_yaw = this.GetDouble("Yaw");
return _yaw.Value;
}
}
private double? _velocity;
/// <summary>
/// Wrapper for the Velocity member of the entity type.
/// </summary>
public double Velocity
{
get
{
if (_velocity == null)
_velocity = this.GetDouble("Velocity");
return _velocity.Value;
}
}
private double? _distance;
/// <summary>
/// Wrapper for the Distance member of the entity type.
/// </summary>
public double Distance
{
get
{
if (_distance == null)
_distance = this.GetDouble("Distance");
return _distance.Value;
}
}
/// <summary>
/// Wrapper for the DistanceTo member of the entity type.
/// </summary>
/// <param name="entityId"></param>
/// <returns></returns>
public double DistanceTo(long entityId)
{
return this.GetDouble("DistanceTo", entityId.ToString(CultureInfo.CurrentCulture));
}
private double? _followRange;
/// <summary>
/// Wrapper for the FollowRange member of the entity type.
/// </summary>
public double FollowRange
{
get
{
if (_followRange == null)
_followRange = this.GetDouble("FollowRange");
return _followRange.Value;
}
}
#endregion
#region Physical
private double? _mass;
/// <summary>
/// Wrapper for the Mass member of the entity type.
/// </summary>
public double Mass
{
get
{
if (_mass == null)
_mass = this.GetDouble("Mass");
return _mass.Value;
}
}
private double? _radius;
/// <summary>
/// Wrapper for the Radius member of the entity type.
/// </summary>
public double Radius
{
get
{
if (_radius == null)
_radius = this.GetDouble("Radius");
return _radius.Value;
}
}
private double? _shieldPct;
/// <summary>
/// Wrapper for the ShieldPct member of the entity type.
/// </summary>
public double ShieldPct
{
get
{
if (_shieldPct == null)
_shieldPct = this.GetDouble("ShieldPct");
return _shieldPct.Value;
}
}
private double? _armorPct;
/// <summary>
/// Wrapper for the ArmorPct member of the entity type.
/// </summary>
public double ArmorPct
{
get
{
if (_armorPct == null)
_armorPct = this.GetDouble("ArmorPct");
return _armorPct.Value;
}
}
private double? _structurePct;
/// <summary>
/// Wrapper for the StructurePct member of the entity type.
/// </summary>
public double StructurePct
{
get
{
if (_structurePct == null)
_structurePct = this.GetDouble("StructurePct");
return _structurePct.Value;
}
}
#endregion
#region Logical
private bool? _isCloaked;
/// <summary>
/// Wrapper for the IsCloaked member of the entity type.
/// </summary>
public bool IsCloaked
{
get
{
if (_isCloaked == null)
_isCloaked = this.GetBool("IsCloaked");
return _isCloaked.Value;
}
}
private bool? _isInteractive;
/// <summary>
/// Wrapper for the IsInteractive member of the entity type.
/// </summary>
public bool IsInteractive
{
get
{
if (_isInteractive == null)
_isInteractive = this.GetBool("IsInteractive");
return _isInteractive.Value;
}
}
private bool? _isMassive;
/// <summary>
/// Wrapper for the IsMassive member of the entity type.
/// </summary>
public bool IsMassive
{
get
{
if (_isMassive == null)
_isMassive = this.GetBool("IsMassive");
return _isMassive.Value;
}
}
private bool? _isGlobal;
/// <summary>
/// Wrapper for the IsGlobal member of the entity type.
/// </summary>
public bool IsGlobal
{
get
{
if (_isGlobal == null)
_isGlobal = this.GetBool("IsGlobal");
return _isGlobal.Value;
}
}
private bool? _isMoribund;
/// <summary>
/// Wrapper for the IsMoribund member of the entity type.
/// </summary>
public bool IsMoribund
{
get
{
if (_isMoribund == null)
_isMoribund = this.GetBool("IsMoribund");
return _isMoribund.Value;
}
}
private bool? _isWarpScrambled;
/// <summary>
/// Wrapper for the IsWarpScrambled member of the entity type.
/// </summary>
public bool IsWarpScrambled
{
get
{
if (_isWarpScrambled == null)
_isWarpScrambled = this.GetBool("IsWarpScrambled");
return _isWarpScrambled.Value;
}
}
private bool? _isActiveTarget;
/// <summary>
/// Wrapper for the IsActiveTarget member of the entity type.
/// </summary>
public bool IsActiveTarget
{
get
{
if (_isActiveTarget == null)
_isActiveTarget = this.GetBool("IsActiveTarget");
return _isActiveTarget.Value;
}
}
private bool? _isLockedTarget;
/// <summary>
/// Wrapper for the IsLockedTarget member of the entity type.
/// </summary>
public bool IsLockedTarget
{
get
{
if (_isLockedTarget == null)
_isLockedTarget = this.GetBool("IsLockedTarget");
return _isLockedTarget.Value;
}
}
private bool? _isNpc;
/// <summary>
/// Wrapper for the IsNPC member of the entity type.
/// </summary>
public bool IsNPC
{
get
{
if (_isNpc == null)
_isNpc = this.GetBool("IsNPC");
return _isNpc.Value;
}
}
private bool? _isPc;
/// <summary>
/// Wrapper for the IsPC member of the entity type.
/// </summary>
public bool IsPC
{
get
{
if (_isPc == null)
_isPc = this.GetBool("IsPC");
return _isPc.Value;
}
}
private bool? _haveLootRights;
/// <summary>
/// Wrapper for the HaveLootRights member of the entity type.
/// </summary>
public bool HaveLootRights
{
get
{
if (_haveLootRights == null)
_haveLootRights = this.GetBool("HaveLootRights");
return _haveLootRights.Value;
}
}
public int? _mode;
/// <summary>
/// Known Modes
/// 2 - Stopped
/// 3 - Warping (in warp)
/// </summary>
public int Mode
{
get
{
if (_mode == null)
_mode = this.GetInt("Mode");
return _mode.Value;
}
}
private bool? _isTargetingMe;
/// <summary>
/// Wrapper for the IsTargetingMe member of the entity type.
/// </summary>
public bool IsTargetingMe
{
get
{
if (_isTargetingMe == null)
_isTargetingMe = this.GetBool("IsTargetingMe");
return _isTargetingMe.Value;
}
}
private bool? _isWarpScramblingMe;
/// <summary>
/// Wrapper for the IsWarpScramblingMe member of the entity type.
/// </summary>
public bool IsWarpScramblingMe
{
get
{
if (_isWarpScramblingMe == null)
_isWarpScramblingMe = this.GetBool("IsWarpScramblingMe");
return _isWarpScramblingMe.Value;
}
}
private bool? _isTargetJammingMe;
/// <summary>
/// Wrapper for the IsTargetJammingMe member of the entity type.
/// </summary>
public bool IsTargetJammingMe
{
get
{
if (_isTargetJammingMe == null)
_isTargetJammingMe = this.GetBool("IsTargetJammingMe");
return _isTargetJammingMe.Value;
}
}
private bool? _beingTargeted;
/// <summary>
/// Wrapper for the BeingTargeted member of the entity type.
/// </summary>
public bool BeingTargeted
{
get
{
if (_beingTargeted == null)
_beingTargeted = this.GetBool("BeingTargeted");
return _beingTargeted.Value;
}
}
private Entity _approaching;
/// <summary>
/// Wrapper for the Approaching member of the entity type.
/// </summary>
public Entity Approaching
{
get
{
return _approaching ?? (_approaching = new Entity(GetMember("Approaching")));
}
}
private Entity _following;
/// <summary>
/// Wrapper for the Following member of the entity type.
/// </summary>
public Entity Following
{
get
{
return _following ?? (_following = new Entity(GetMember("Following")));
}
}
#endregion
#region Cargo
private double? _cargoCapacity;
/// <summary>
/// Wrapper for the CargoCapacity member of the entity type.
/// </summary>
public double CargoCapacity
{
get
{
if (_cargoCapacity == null)
_cargoCapacity = this.GetDouble("CargoCapacity");
return _cargoCapacity.Value;
}
}
private double? _usedCargoCapacity;
/// <summary>
/// Wrapper for the UsedCargoCapacity member of the entity type.
/// </summary>
public double UsedCargoCapacity
{
get
{
if (_usedCargoCapacity == null)
_usedCargoCapacity = this.GetDouble("UsedCargoCapacity");
return _usedCargoCapacity.Value;
}
}
private List<IItem> _cargo;
/// <summary>
/// List of all cargo items. Keep in mind this might
/// be empty or invalid if the cargo hold isn't open
/// </summary>
/// <returns></returns>
public List<IItem> GetCargo()
{
Tracing.SendCallback("Entity.GetCargo");
return _cargo ?? (_cargo = Util.GetListFromMethod<IItem>(this, "GetCargo", "item"));
}
private bool? _hasOreHold;
/// <summary>
/// Wrapper for the HasOreHold member of the entity type.
/// </summary>
public bool HasOreHold
{
get
{
if (_hasOreHold == null)
_hasOreHold = this.GetBool("HasOreHold");
return _hasOreHold.Value;
}
}
#endregion
private Attacker _attacker;
/// <summary>
/// Wrapper for the ToAttacker member of the Entity datatype.
/// </summary>
public Attacker ToAttacker
{
get
{
return _attacker ?? (_attacker = new Attacker(GetMember("ToAttacker")));
}
}
private Jammer _jammer;
/// <summary>
/// Get the Jammer member of the Entity object
/// </summary>
public Jammer ToJammer
{
get
{
return _jammer ?? (_jammer = new Jammer(GetMember("ToJammer")));
}
}
private EntityWormhole _entityWormhole;
public EntityWormhole ToEntityWormhole
{
get { return _entityWormhole ?? (_entityWormhole = new EntityWormhole(GetMember("ToWormhole"))); }
}
private Int64? _surveyScannerOreQuantity;
/// <summary>