@shipload/sdk 2.0.0-rc3 → 2.0.0-rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/shipload.d.ts CHANGED
@@ -261,6 +261,7 @@ declare namespace Types {
261
261
  ship_loaders: loader_stats;
262
262
  ship_trade: trade_stats;
263
263
  ship_extractor: extractor_stats;
264
+ ship_warp: warp_stats;
264
265
  warehouse_capacity: UInt32;
265
266
  warehouse_z: UInt16;
266
267
  warehouse_loaders: loader_stats;
@@ -398,6 +399,11 @@ declare namespace Types {
398
399
  }
399
400
  class getstarter extends Struct {
400
401
  }
402
+ class getstratum extends Struct {
403
+ x: Int64;
404
+ y: Int64;
405
+ stratum: UInt16;
406
+ }
401
407
  class getsummaries extends Struct {
402
408
  owner: Name;
403
409
  entity_type?: Name;
@@ -438,6 +444,7 @@ declare namespace Types {
438
444
  class location_derived extends Struct {
439
445
  static_props: location_static;
440
446
  epoch_props: location_epoch;
447
+ size: UInt16;
441
448
  }
442
449
  class location_item extends Struct {
443
450
  id: UInt16;
@@ -535,6 +542,12 @@ declare namespace Types {
535
542
  entitygroup?: UInt64;
536
543
  group_members?: entity_ref[];
537
544
  }
545
+ class resource_stats extends Struct {
546
+ purity: UInt16;
547
+ density: UInt16;
548
+ reactivity: UInt16;
549
+ resonance: UInt16;
550
+ }
538
551
  class salt extends Struct {
539
552
  salt: UInt64;
540
553
  }
@@ -578,6 +591,16 @@ declare namespace Types {
578
591
  seed: Checksum256;
579
592
  commit: Checksum256;
580
593
  }
594
+ class stratum_info extends Struct {
595
+ item_id: UInt16;
596
+ seed: UInt64;
597
+ richness: UInt16;
598
+ reserve: UInt32;
599
+ }
600
+ class stratum_data extends Struct {
601
+ stratum: stratum_info;
602
+ stats: resource_stats;
603
+ }
581
604
  class supply_row extends Struct {
582
605
  id: UInt64;
583
606
  coordinates: coordinates;
@@ -631,6 +654,12 @@ declare namespace Types {
631
654
  loaders: loader_stats;
632
655
  schedule?: schedule;
633
656
  }
657
+ class warp extends Struct {
658
+ entity_type: Name;
659
+ id: UInt64;
660
+ x: Int64;
661
+ y: Int64;
662
+ }
634
663
  class wipe extends Struct {
635
664
  }
636
665
  class wipesequence extends Struct {
@@ -683,6 +712,7 @@ declare namespace ActionParams {
683
712
  ship_loaders: Type.loader_stats;
684
713
  ship_trade: Type.trade_stats;
685
714
  ship_extractor: Type.extractor_stats;
715
+ ship_warp: Type.warp_stats;
686
716
  warehouse_capacity: UInt32Type;
687
717
  warehouse_z: UInt16Type;
688
718
  warehouse_loaders: Type.loader_stats;
@@ -713,6 +743,9 @@ declare namespace ActionParams {
713
743
  depth: UInt16Type;
714
744
  drill: UInt16Type;
715
745
  }
746
+ interface warp_stats {
747
+ range: UInt32Type;
748
+ }
716
749
  interface item_def {
717
750
  id: UInt16Type;
718
751
  base_price: UInt32Type;
@@ -839,6 +872,11 @@ declare namespace ActionParams {
839
872
  }
840
873
  interface getstarter {
841
874
  }
875
+ interface getstratum {
876
+ x: Int64Type;
877
+ y: Int64Type;
878
+ stratum: UInt16Type;
879
+ }
842
880
  interface getsummaries {
843
881
  owner: NameType;
844
882
  entity_type?: NameType;
@@ -916,6 +954,12 @@ declare namespace ActionParams {
916
954
  account: NameType;
917
955
  amount: Int64Type;
918
956
  }
957
+ interface warp {
958
+ entity_type: NameType;
959
+ id: UInt64Type;
960
+ x: Int64Type;
961
+ y: Int64Type;
962
+ }
919
963
  interface wipe {
920
964
  }
921
965
  interface wipesequence {
@@ -943,6 +987,7 @@ interface ActionNameParams {
943
987
  getnearby: ActionParams.getnearby;
944
988
  getplayer: ActionParams.getplayer;
945
989
  getstarter: ActionParams.getstarter;
990
+ getstratum: ActionParams.getstratum;
946
991
  getsummaries: ActionParams.getsummaries;
947
992
  grouptravel: ActionParams.grouptravel;
948
993
  hash: ActionParams.hash;
@@ -961,6 +1006,7 @@ interface ActionNameParams {
961
1006
  travel: ActionParams.travel;
962
1007
  updatecredit: ActionParams.updatecredit;
963
1008
  updatedebt: ActionParams.updatedebt;
1009
+ warp: ActionParams.warp;
964
1010
  wipe: ActionParams.wipe;
965
1011
  wipesequence: ActionParams.wipesequence;
966
1012
  }
@@ -978,6 +1024,7 @@ interface ActionReturnValues {
978
1024
  getnearby: Types.nearby_info;
979
1025
  getplayer: Types.player_info;
980
1026
  getstarter: Types.starter_info;
1027
+ getstratum: Types.stratum_data;
981
1028
  getsummaries: Types.entity_summary[];
982
1029
  grouptravel: Types.task_results;
983
1030
  hash: Checksum256;
@@ -987,6 +1034,7 @@ interface ActionReturnValues {
987
1034
  sellitems: Types.task_results;
988
1035
  transfer: Types.task_results;
989
1036
  travel: Types.task_results;
1037
+ warp: Types.task_results;
990
1038
  }
991
1039
  type ActionReturnNames = keyof ActionReturnValues;
992
1040
  declare class Contract extends Contract$2 {