@shipload/sdk 1.0.0-next.73 → 1.0.0-next.74

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.
Files changed (38) hide show
  1. package/lib/shipload.d.ts +502 -127
  2. package/lib/shipload.js +5871 -4906
  3. package/lib/shipload.js.map +1 -1
  4. package/lib/shipload.m.js +5858 -4900
  5. package/lib/shipload.m.js.map +1 -1
  6. package/lib/testing.d.ts +174 -47
  7. package/lib/testing.js +524 -142
  8. package/lib/testing.js.map +1 -1
  9. package/lib/testing.m.js +524 -142
  10. package/lib/testing.m.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/contracts/server.ts +457 -134
  13. package/src/data/entities.json +2 -2
  14. package/src/index-module.ts +22 -1
  15. package/src/influence/civic-shuttle.test.ts +58 -0
  16. package/src/influence/civic-shuttle.ts +52 -6
  17. package/src/influence/duration.ts +0 -65
  18. package/src/influence/index.ts +4 -5
  19. package/src/influence/influence.test.ts +51 -136
  20. package/src/influence/valuation.ts +75 -0
  21. package/src/managers/actions.ts +37 -10
  22. package/src/managers/balances.test.ts +33 -0
  23. package/src/managers/balances.ts +15 -0
  24. package/src/managers/context.ts +50 -11
  25. package/src/managers/index.ts +14 -0
  26. package/src/managers/jobs.test.ts +82 -1
  27. package/src/managers/jobs.ts +41 -2
  28. package/src/managers/nft.test.ts +173 -1
  29. package/src/managers/nft.ts +35 -2
  30. package/src/managers/shuttle.test.ts +562 -0
  31. package/src/managers/shuttle.ts +397 -0
  32. package/src/scheduling/availability.ts +10 -0
  33. package/src/scheduling/energy.ts +55 -1
  34. package/src/scheduling/jobs.test.ts +171 -1
  35. package/src/scheduling/jobs.ts +110 -13
  36. package/src/scheduling/projection.ts +2 -1
  37. package/src/scheduling/task-effects.ts +38 -0
  38. package/src/shipload.ts +23 -4
package/lib/shipload.d.ts CHANGED
@@ -641,6 +641,56 @@ declare namespace Types$1 {
641
641
  class addoracle extends Struct {
642
642
  oracle_id: Name;
643
643
  }
644
+ class placement extends Struct {
645
+ task_index: UInt8;
646
+ starts_at: TimePoint;
647
+ completes_at: TimePoint;
648
+ schedule_started: TimePoint;
649
+ }
650
+ class coordinates extends Struct {
651
+ x: Int64;
652
+ y: Int64;
653
+ z?: UInt16;
654
+ }
655
+ class entity_ref extends Struct {
656
+ entity_type: Name;
657
+ entity_id: UInt64;
658
+ }
659
+ class coupling extends Struct {
660
+ counterpart: entity_ref;
661
+ hold: UInt64;
662
+ kind: UInt8;
663
+ }
664
+ class refit_op extends Struct {
665
+ op: UInt8;
666
+ slot: UInt8;
667
+ }
668
+ class task extends Struct {
669
+ type: UInt8;
670
+ duration: UInt32;
671
+ cancelable: UInt8;
672
+ coordinates?: coordinates;
673
+ cargo: cargo_item[];
674
+ couplings: coupling[];
675
+ subject?: entity_ref;
676
+ entitygroup?: UInt64;
677
+ energy_cost?: UInt32;
678
+ target_item_id?: UInt16;
679
+ refit?: refit_op;
680
+ charter_node?: UInt32;
681
+ }
682
+ class schedule extends Struct {
683
+ started: TimePoint;
684
+ tasks: task[];
685
+ }
686
+ class lane extends Struct {
687
+ lane_key: UInt8;
688
+ schedule: schedule;
689
+ }
690
+ class append_result extends Struct {
691
+ placed: placement;
692
+ lanes: lane[];
693
+ }
644
694
  class ballot_credit extends Struct {
645
695
  account: Name;
646
696
  amount: UInt64;
@@ -699,11 +749,7 @@ declare namespace Types$1 {
699
749
  dock_id: UInt64;
700
750
  target_item_id: UInt16;
701
751
  inputs: cargo_item[];
702
- }
703
- class coordinates extends Struct {
704
- x: Int64;
705
- y: Int64;
706
- z?: UInt16;
752
+ shuttled_by?: UInt64;
707
753
  }
708
754
  class buildjob_row extends Struct {
709
755
  id: UInt64;
@@ -731,10 +777,6 @@ declare namespace Types$1 {
731
777
  lane_key: UInt8;
732
778
  count: UInt64;
733
779
  }
734
- class entity_ref extends Struct {
735
- entity_type: Name;
736
- entity_id: UInt64;
737
- }
738
780
  class cancel_results extends Struct {
739
781
  entity_id: UInt64;
740
782
  entity_type: Name;
@@ -745,6 +787,7 @@ declare namespace Types$1 {
745
787
  }
746
788
  class cancelbuild extends Struct {
747
789
  job_id: UInt64;
790
+ shuttled_by?: UInt64;
748
791
  }
749
792
  class cancelcivic extends Struct {
750
793
  building: UInt64;
@@ -771,6 +814,17 @@ declare namespace Types$1 {
771
814
  id: UInt64;
772
815
  entity_id?: UInt64;
773
816
  }
817
+ class cargoreserve_row extends Struct {
818
+ id: UInt64;
819
+ entity_id: UInt64;
820
+ hold: UInt64;
821
+ owner: Name;
822
+ item_id: UInt64;
823
+ quantity: UInt64;
824
+ stats: UInt64;
825
+ modules: module_entry[];
826
+ sequence_id?: UInt64;
827
+ }
774
828
  class castballot extends Struct {
775
829
  player: Name;
776
830
  ballot_id: UInt64;
@@ -859,6 +913,7 @@ declare namespace Types$1 {
859
913
  class claimcraft extends Struct {
860
914
  job_id: UInt64;
861
915
  ship_id: UInt64;
916
+ shuttled_by?: UInt64;
862
917
  }
863
918
  class cluster_slot extends Struct {
864
919
  hub: UInt64;
@@ -936,11 +991,6 @@ declare namespace Types$1 {
936
991
  class configlog extends Struct {
937
992
  config: game_config;
938
993
  }
939
- class coupling extends Struct {
940
- counterpart: entity_ref;
941
- hold: UInt64;
942
- kind: UInt8;
943
- }
944
994
  class craft extends Struct {
945
995
  id: UInt64;
946
996
  recipe_id: UInt16;
@@ -961,6 +1011,7 @@ declare namespace Types$1 {
961
1011
  recipe_id: UInt16;
962
1012
  quantity: UInt32;
963
1013
  inputs: cargo_item[];
1014
+ shuttled_by?: UInt64;
964
1015
  }
965
1016
  class craftjob_row extends Struct {
966
1017
  id: UInt64;
@@ -981,6 +1032,27 @@ declare namespace Types$1 {
981
1032
  class craftjobs_result extends Struct {
982
1033
  jobs: craftjob_row[];
983
1034
  }
1035
+ class hold extends Struct {
1036
+ id: UInt64;
1037
+ kind: UInt8;
1038
+ counterpart: entity_ref;
1039
+ until: TimePoint;
1040
+ incoming_mass: UInt32;
1041
+ }
1042
+ class dbgappend extends Struct {
1043
+ lanes: lane[];
1044
+ holds: hold[];
1045
+ new_task: task;
1046
+ lane_key: UInt8;
1047
+ now: TimePoint;
1048
+ min_starts_at?: TimePoint;
1049
+ }
1050
+ class dbgbarrier extends Struct {
1051
+ lanes: lane[];
1052
+ holds: hold[];
1053
+ new_task: task;
1054
+ lane_key: UInt8;
1055
+ }
984
1056
  class dbgcredit extends Struct {
985
1057
  owner: Name;
986
1058
  x: Int64;
@@ -1037,6 +1109,14 @@ declare namespace Types$1 {
1037
1109
  y: Int64;
1038
1110
  seats: UInt32;
1039
1111
  }
1112
+ class dbgstart extends Struct {
1113
+ lanes: lane[];
1114
+ holds: hold[];
1115
+ new_task: task;
1116
+ lane_key: UInt8;
1117
+ now: TimePoint;
1118
+ min_starts_at?: TimePoint;
1119
+ }
1040
1120
  class decomp_bucket extends Struct {
1041
1121
  category: UInt8;
1042
1122
  tier: UInt8;
@@ -1084,11 +1164,13 @@ declare namespace Types$1 {
1084
1164
  ship_id: UInt64;
1085
1165
  depot_id: UInt64;
1086
1166
  items: cargo_item[];
1167
+ shuttled_by?: UInt64;
1087
1168
  }
1088
1169
  class depottake extends Struct {
1089
1170
  ship_id: UInt64;
1090
1171
  depot_id: UInt64;
1091
1172
  items: cargo_item[];
1173
+ shuttled_by?: UInt64;
1092
1174
  }
1093
1175
  class descentity extends Struct {
1094
1176
  item_id: UInt16;
@@ -1142,39 +1224,6 @@ declare namespace Types$1 {
1142
1224
  velocity: UInt16;
1143
1225
  drain: UInt16;
1144
1226
  }
1145
- class refit_op extends Struct {
1146
- op: UInt8;
1147
- slot: UInt8;
1148
- }
1149
- class task extends Struct {
1150
- type: UInt8;
1151
- duration: UInt32;
1152
- cancelable: UInt8;
1153
- coordinates?: coordinates;
1154
- cargo: cargo_item[];
1155
- couplings: coupling[];
1156
- subject?: entity_ref;
1157
- entitygroup?: UInt64;
1158
- energy_cost?: UInt32;
1159
- target_item_id?: UInt16;
1160
- refit?: refit_op;
1161
- charter_node?: UInt32;
1162
- }
1163
- class schedule extends Struct {
1164
- started: TimePoint;
1165
- tasks: task[];
1166
- }
1167
- class lane extends Struct {
1168
- lane_key: UInt8;
1169
- schedule: schedule;
1170
- }
1171
- class hold extends Struct {
1172
- id: UInt64;
1173
- kind: UInt8;
1174
- counterpart: entity_ref;
1175
- until: TimePoint;
1176
- incoming_mass: UInt32;
1177
- }
1178
1227
  class entity_info extends Struct {
1179
1228
  type: Name;
1180
1229
  id: UInt64;
@@ -1314,6 +1363,17 @@ declare namespace Types$1 {
1314
1363
  class getbuildjobs extends Struct {
1315
1364
  building_id: UInt64;
1316
1365
  }
1366
+ class getbuildopts extends Struct {
1367
+ target_id: UInt64;
1368
+ dock_id: UInt64;
1369
+ target_item_id: UInt16;
1370
+ inputs: cargo_item[];
1371
+ candidates: UInt64[];
1372
+ }
1373
+ class getcbldopts extends Struct {
1374
+ job_id: UInt64;
1375
+ candidates: UInt64[];
1376
+ }
1317
1377
  class getcharter extends Struct {
1318
1378
  x: Int64;
1319
1379
  y: Int64;
@@ -1322,6 +1382,11 @@ declare namespace Types$1 {
1322
1382
  }
1323
1383
  class getchrtready extends Struct {
1324
1384
  }
1385
+ class getclaimopts extends Struct {
1386
+ job_id: UInt64;
1387
+ ship_id: UInt64;
1388
+ candidates: UInt64[];
1389
+ }
1325
1390
  class getcluster extends Struct {
1326
1391
  hub_id: UInt64;
1327
1392
  }
@@ -1330,6 +1395,15 @@ declare namespace Types$1 {
1330
1395
  class getcraftjobs extends Struct {
1331
1396
  building_id: UInt64;
1332
1397
  }
1398
+ class getcraftopts extends Struct {
1399
+ ship_id: UInt64;
1400
+ workshop_id: UInt64;
1401
+ recipe_id: UInt16;
1402
+ quantity: UInt32;
1403
+ inputs: cargo_item[];
1404
+ candidates: UInt64[];
1405
+ recharge: boolean;
1406
+ }
1333
1407
  class getdecomp extends Struct {
1334
1408
  item_id: UInt16;
1335
1409
  }
@@ -1448,6 +1522,12 @@ declare namespace Types$1 {
1448
1522
  }
1449
1523
  class getslots extends Struct {
1450
1524
  }
1525
+ class getstoreopts extends Struct {
1526
+ ship_id: UInt64;
1527
+ depot_id: UInt64;
1528
+ items: cargo_item[];
1529
+ candidates: UInt64[];
1530
+ }
1451
1531
  class getstratum extends Struct {
1452
1532
  x: Int64;
1453
1533
  y: Int64;
@@ -1457,6 +1537,14 @@ declare namespace Types$1 {
1457
1537
  owner: Name;
1458
1538
  entity_type?: Name;
1459
1539
  }
1540
+ class gettakeopts extends Struct {
1541
+ ship_id: UInt64;
1542
+ depot_id: UInt64;
1543
+ items: cargo_item[];
1544
+ candidates: UInt64[];
1545
+ }
1546
+ class gettasktypes extends Struct {
1547
+ }
1460
1548
  class getvoteready extends Struct {
1461
1549
  }
1462
1550
  class getvotes extends Struct {
@@ -1997,6 +2085,33 @@ declare namespace Types$1 {
1997
2085
  to_id: UInt64;
1998
2086
  items: cargo_item[];
1999
2087
  }
2088
+ class shuttle_rejection extends Struct {
2089
+ reason: string;
2090
+ at?: TimePoint;
2091
+ until?: TimePoint;
2092
+ have?: UInt64;
2093
+ need?: UInt64;
2094
+ cap?: UInt64;
2095
+ task_type?: UInt8;
2096
+ }
2097
+ class shuttle_option extends Struct {
2098
+ shuttled_by?: UInt64;
2099
+ mode: UInt8;
2100
+ host_id: UInt64;
2101
+ lane_key: UInt8;
2102
+ duration: UInt32;
2103
+ start: TimePoint;
2104
+ finish: TimePoint;
2105
+ bays: UInt8;
2106
+ window_starts_at?: TimePoint;
2107
+ window_completes_at?: TimePoint;
2108
+ energy_cost?: UInt32;
2109
+ rejection?: shuttle_rejection;
2110
+ resolved: boolean;
2111
+ }
2112
+ class shuttle_options extends Struct {
2113
+ options: shuttle_option[];
2114
+ }
2000
2115
  class socket_pick extends Struct {
2001
2116
  found: boolean;
2002
2117
  socket: UInt8;
@@ -2051,6 +2166,18 @@ declare namespace Types$1 {
2051
2166
  class task_results extends Struct {
2052
2167
  entities: entity_task_info[];
2053
2168
  }
2169
+ class task_type_info extends Struct {
2170
+ type: UInt8;
2171
+ position_bound: boolean;
2172
+ mobility: boolean;
2173
+ consumer: boolean;
2174
+ is_terminal: boolean;
2175
+ caps_plan: boolean;
2176
+ cargo_effect_resolve: boolean;
2177
+ }
2178
+ class task_types_result extends Struct {
2179
+ types: task_type_info[];
2180
+ }
2054
2181
  class transit extends Struct {
2055
2182
  id: UInt64;
2056
2183
  ax: Int64;
@@ -2171,6 +2298,7 @@ declare const TableMap$1: {
2171
2298
  buildings: typeof Types$1.buildings_row;
2172
2299
  buildjobs: typeof Types$1.buildjob_row;
2173
2300
  cargo: typeof Types$1.cargo_row;
2301
+ cargoreserve: typeof Types$1.cargoreserve_row;
2174
2302
  citizenship: typeof Types$1.citizenship_row;
2175
2303
  civicconfig: typeof Types$1.civicconfig_row;
2176
2304
  claims: typeof Types$1.claim_row;
@@ -2213,6 +2341,7 @@ interface TableTypes$1 {
2213
2341
  buildings: Types$1.buildings_row;
2214
2342
  buildjobs: Types$1.buildjob_row;
2215
2343
  cargo: Types$1.cargo_row;
2344
+ cargoreserve: Types$1.cargoreserve_row;
2216
2345
  citizenship: Types$1.citizenship_row;
2217
2346
  civicconfig: Types$1.civicconfig_row;
2218
2347
  claims: Types$1.claim_row;
@@ -2297,6 +2426,53 @@ declare namespace ActionParams$1 {
2297
2426
  subtype: UInt8Type;
2298
2427
  tier: UInt8Type;
2299
2428
  }
2429
+ interface lane {
2430
+ lane_key: UInt8Type;
2431
+ schedule: Type.schedule;
2432
+ }
2433
+ interface schedule {
2434
+ started: TimePointType;
2435
+ tasks: Type.task[];
2436
+ }
2437
+ interface task {
2438
+ type: UInt8Type;
2439
+ duration: UInt32Type;
2440
+ cancelable: UInt8Type;
2441
+ coordinates?: Type.coordinates;
2442
+ cargo: Type.cargo_item[];
2443
+ couplings: Type.coupling[];
2444
+ subject?: Type.entity_ref;
2445
+ entitygroup?: UInt64Type;
2446
+ energy_cost?: UInt32Type;
2447
+ target_item_id?: UInt16Type;
2448
+ refit?: Type.refit_op;
2449
+ charter_node?: UInt32Type;
2450
+ }
2451
+ interface coordinates {
2452
+ x: Int64Type;
2453
+ y: Int64Type;
2454
+ z?: UInt16Type;
2455
+ }
2456
+ interface coupling {
2457
+ counterpart: Type.entity_ref;
2458
+ hold: UInt64Type;
2459
+ kind: UInt8Type;
2460
+ }
2461
+ interface entity_ref {
2462
+ entity_type: NameType;
2463
+ entity_id: UInt64Type;
2464
+ }
2465
+ interface refit_op {
2466
+ op: UInt8Type;
2467
+ slot: UInt8Type;
2468
+ }
2469
+ interface hold {
2470
+ id: UInt64Type;
2471
+ kind: UInt8Type;
2472
+ counterpart: Type.entity_ref;
2473
+ until: TimePointType;
2474
+ incoming_mass: UInt32Type;
2475
+ }
2300
2476
  interface craftjob_row {
2301
2477
  id: UInt64Type;
2302
2478
  building: UInt64Type;
@@ -2313,11 +2489,6 @@ declare namespace ActionParams$1 {
2313
2489
  deposited: boolean;
2314
2490
  arrives_at: TimePointType;
2315
2491
  }
2316
- interface coordinates {
2317
- x: Int64Type;
2318
- y: Int64Type;
2319
- z?: UInt16Type;
2320
- }
2321
2492
  interface buildjob_row {
2322
2493
  id: UInt64Type;
2323
2494
  building: UInt64Type;
@@ -2357,48 +2528,6 @@ declare namespace ActionParams$1 {
2357
2528
  lanes: Type.lane[];
2358
2529
  holds: Type.hold[];
2359
2530
  }
2360
- interface lane {
2361
- lane_key: UInt8Type;
2362
- schedule: Type.schedule;
2363
- }
2364
- interface schedule {
2365
- started: TimePointType;
2366
- tasks: Type.task[];
2367
- }
2368
- interface task {
2369
- type: UInt8Type;
2370
- duration: UInt32Type;
2371
- cancelable: UInt8Type;
2372
- coordinates?: Type.coordinates;
2373
- cargo: Type.cargo_item[];
2374
- couplings: Type.coupling[];
2375
- subject?: Type.entity_ref;
2376
- entitygroup?: UInt64Type;
2377
- energy_cost?: UInt32Type;
2378
- target_item_id?: UInt16Type;
2379
- refit?: Type.refit_op;
2380
- charter_node?: UInt32Type;
2381
- }
2382
- interface coupling {
2383
- counterpart: Type.entity_ref;
2384
- hold: UInt64Type;
2385
- kind: UInt8Type;
2386
- }
2387
- interface entity_ref {
2388
- entity_type: NameType;
2389
- entity_id: UInt64Type;
2390
- }
2391
- interface refit_op {
2392
- op: UInt8Type;
2393
- slot: UInt8Type;
2394
- }
2395
- interface hold {
2396
- id: UInt64Type;
2397
- kind: UInt8Type;
2398
- counterpart: Type.entity_ref;
2399
- until: TimePointType;
2400
- incoming_mass: UInt32Type;
2401
- }
2402
2531
  interface cargo_row {
2403
2532
  id: UInt64Type;
2404
2533
  entity_id: UInt64Type;
@@ -2513,6 +2642,7 @@ declare namespace ActionParams$1 {
2513
2642
  dock_id: UInt64Type;
2514
2643
  target_item_id: UInt16Type;
2515
2644
  inputs: Type.cargo_item[];
2645
+ shuttled_by?: UInt64Type;
2516
2646
  }
2517
2647
  interface buildplot {
2518
2648
  builder_id: UInt64Type;
@@ -2525,6 +2655,7 @@ declare namespace ActionParams$1 {
2525
2655
  }
2526
2656
  interface cancelbuild {
2527
2657
  job_id: UInt64Type;
2658
+ shuttled_by?: UInt64Type;
2528
2659
  }
2529
2660
  interface cancelcivic {
2530
2661
  building: UInt64Type;
@@ -2555,6 +2686,7 @@ declare namespace ActionParams$1 {
2555
2686
  interface claimcraft {
2556
2687
  job_id: UInt64Type;
2557
2688
  ship_id: UInt64Type;
2689
+ shuttled_by?: UInt64Type;
2558
2690
  }
2559
2691
  interface claimplot {
2560
2692
  builder_id: UInt64Type;
@@ -2606,6 +2738,21 @@ declare namespace ActionParams$1 {
2606
2738
  recipe_id: UInt16Type;
2607
2739
  quantity: UInt32Type;
2608
2740
  inputs: Type.cargo_item[];
2741
+ shuttled_by?: UInt64Type;
2742
+ }
2743
+ interface dbgappend {
2744
+ lanes: Type.lane[];
2745
+ holds: Type.hold[];
2746
+ new_task: Type.task;
2747
+ lane_key: UInt8Type;
2748
+ now: TimePointType;
2749
+ min_starts_at?: TimePointType;
2750
+ }
2751
+ interface dbgbarrier {
2752
+ lanes: Type.lane[];
2753
+ holds: Type.hold[];
2754
+ new_task: Type.task;
2755
+ lane_key: UInt8Type;
2609
2756
  }
2610
2757
  interface dbgcredit {
2611
2758
  owner: NameType;
@@ -2652,6 +2799,14 @@ declare namespace ActionParams$1 {
2652
2799
  y: Int64Type;
2653
2800
  seats: UInt32Type;
2654
2801
  }
2802
+ interface dbgstart {
2803
+ lanes: Type.lane[];
2804
+ holds: Type.hold[];
2805
+ new_task: Type.task;
2806
+ lane_key: UInt8Type;
2807
+ now: TimePointType;
2808
+ min_starts_at?: TimePointType;
2809
+ }
2655
2810
  interface delentity {
2656
2811
  entity_id: UInt64Type;
2657
2812
  }
@@ -2667,11 +2822,13 @@ declare namespace ActionParams$1 {
2667
2822
  ship_id: UInt64Type;
2668
2823
  depot_id: UInt64Type;
2669
2824
  items: Type.cargo_item[];
2825
+ shuttled_by?: UInt64Type;
2670
2826
  }
2671
2827
  interface depottake {
2672
2828
  ship_id: UInt64Type;
2673
2829
  depot_id: UInt64Type;
2674
2830
  items: Type.cargo_item[];
2831
+ shuttled_by?: UInt64Type;
2675
2832
  }
2676
2833
  interface descentity {
2677
2834
  item_id: UInt16Type;
@@ -2725,6 +2882,17 @@ declare namespace ActionParams$1 {
2725
2882
  interface getbuildjobs {
2726
2883
  building_id: UInt64Type;
2727
2884
  }
2885
+ interface getbuildopts {
2886
+ target_id: UInt64Type;
2887
+ dock_id: UInt64Type;
2888
+ target_item_id: UInt16Type;
2889
+ inputs: Type.cargo_item[];
2890
+ candidates: UInt64Type[];
2891
+ }
2892
+ interface getcbldopts {
2893
+ job_id: UInt64Type;
2894
+ candidates: UInt64Type[];
2895
+ }
2728
2896
  interface getcharter {
2729
2897
  x: Int64Type;
2730
2898
  y: Int64Type;
@@ -2733,6 +2901,11 @@ declare namespace ActionParams$1 {
2733
2901
  }
2734
2902
  interface getchrtready {
2735
2903
  }
2904
+ interface getclaimopts {
2905
+ job_id: UInt64Type;
2906
+ ship_id: UInt64Type;
2907
+ candidates: UInt64Type[];
2908
+ }
2736
2909
  interface getcluster {
2737
2910
  hub_id: UInt64Type;
2738
2911
  }
@@ -2741,6 +2914,15 @@ declare namespace ActionParams$1 {
2741
2914
  interface getcraftjobs {
2742
2915
  building_id: UInt64Type;
2743
2916
  }
2917
+ interface getcraftopts {
2918
+ ship_id: UInt64Type;
2919
+ workshop_id: UInt64Type;
2920
+ recipe_id: UInt16Type;
2921
+ quantity: UInt32Type;
2922
+ inputs: Type.cargo_item[];
2923
+ candidates: UInt64Type[];
2924
+ recharge: boolean;
2925
+ }
2744
2926
  interface getdecomp {
2745
2927
  item_id: UInt16Type;
2746
2928
  }
@@ -2859,6 +3041,12 @@ declare namespace ActionParams$1 {
2859
3041
  }
2860
3042
  interface getslots {
2861
3043
  }
3044
+ interface getstoreopts {
3045
+ ship_id: UInt64Type;
3046
+ depot_id: UInt64Type;
3047
+ items: Type.cargo_item[];
3048
+ candidates: UInt64Type[];
3049
+ }
2862
3050
  interface getstratum {
2863
3051
  x: Int64Type;
2864
3052
  y: Int64Type;
@@ -2868,6 +3056,14 @@ declare namespace ActionParams$1 {
2868
3056
  owner: NameType;
2869
3057
  entity_type?: NameType;
2870
3058
  }
3059
+ interface gettakeopts {
3060
+ ship_id: UInt64Type;
3061
+ depot_id: UInt64Type;
3062
+ items: Type.cargo_item[];
3063
+ candidates: UInt64Type[];
3064
+ }
3065
+ interface gettasktypes {
3066
+ }
2871
3067
  interface getvoteready {
2872
3068
  }
2873
3069
  interface getvotes {
@@ -3185,6 +3381,8 @@ interface ActionNameParams$1 {
3185
3381
  configlog: ActionParams$1.configlog;
3186
3382
  craft: ActionParams$1.craft;
3187
3383
  craftjob: ActionParams$1.craftjob;
3384
+ dbgappend: ActionParams$1.dbgappend;
3385
+ dbgbarrier: ActionParams$1.dbgbarrier;
3188
3386
  dbgcredit: ActionParams$1.dbgcredit;
3189
3387
  dbgjobs: ActionParams$1.dbgjobs;
3190
3388
  dbgmandate: ActionParams$1.dbgmandate;
@@ -3194,6 +3392,7 @@ interface ActionNameParams$1 {
3194
3392
  dbgpurge: ActionParams$1.dbgpurge;
3195
3393
  dbgrepack: ActionParams$1.dbgrepack;
3196
3394
  dbgseats: ActionParams$1.dbgseats;
3395
+ dbgstart: ActionParams$1.dbgstart;
3197
3396
  delentity: ActionParams$1.delentity;
3198
3397
  demolish: ActionParams$1.demolish;
3199
3398
  deploy: ActionParams$1.deploy;
@@ -3211,12 +3410,16 @@ interface ActionNameParams$1 {
3211
3410
  genesisfleet: ActionParams$1.genesisfleet;
3212
3411
  genesisworld: ActionParams$1.genesisworld;
3213
3412
  getbuildjobs: ActionParams$1.getbuildjobs;
3413
+ getbuildopts: ActionParams$1.getbuildopts;
3414
+ getcbldopts: ActionParams$1.getcbldopts;
3214
3415
  getcharter: ActionParams$1.getcharter;
3215
3416
  getcharttree: ActionParams$1.getcharttree;
3216
3417
  getchrtready: ActionParams$1.getchrtready;
3418
+ getclaimopts: ActionParams$1.getclaimopts;
3217
3419
  getcluster: ActionParams$1.getcluster;
3218
3420
  getconfig: ActionParams$1.getconfig;
3219
3421
  getcraftjobs: ActionParams$1.getcraftjobs;
3422
+ getcraftopts: ActionParams$1.getcraftopts;
3220
3423
  getdecomp: ActionParams$1.getdecomp;
3221
3424
  getdemand: ActionParams$1.getdemand;
3222
3425
  getdeposit: ActionParams$1.getdeposit;
@@ -3255,8 +3458,11 @@ interface ActionNameParams$1 {
3255
3458
  getreserves: ActionParams$1.getreserves;
3256
3459
  getresources: ActionParams$1.getresources;
3257
3460
  getslots: ActionParams$1.getslots;
3461
+ getstoreopts: ActionParams$1.getstoreopts;
3258
3462
  getstratum: ActionParams$1.getstratum;
3259
3463
  getsummaries: ActionParams$1.getsummaries;
3464
+ gettakeopts: ActionParams$1.gettakeopts;
3465
+ gettasktypes: ActionParams$1.gettasktypes;
3260
3466
  getvoteready: ActionParams$1.getvoteready;
3261
3467
  getvotes: ActionParams$1.getvotes;
3262
3468
  getwormhole: ActionParams$1.getwormhole;
@@ -3341,9 +3547,12 @@ interface ActionReturnValues {
3341
3547
  clustercraft: Types$1.task_results;
3342
3548
  craft: Types$1.task_results;
3343
3549
  craftjob: Types$1.window_receipt;
3550
+ dbgappend: Types$1.append_result;
3551
+ dbgbarrier: TimePoint;
3344
3552
  dbgpick: Types$1.socket_pick;
3345
3553
  dbgplace: Types$1.reserved_window;
3346
3554
  dbgrepack: Types$1.repack_result;
3555
+ dbgstart: TimePoint;
3347
3556
  demolish: Types$1.task_results;
3348
3557
  deploy: Types$1.task_results;
3349
3558
  depotstore: Types$1.task_results;
@@ -3352,12 +3561,16 @@ interface ActionReturnValues {
3352
3561
  gather: Types$1.task_results;
3353
3562
  gatherplan: Types$1.task_results;
3354
3563
  getbuildjobs: Types$1.buildjobs_result;
3564
+ getbuildopts: Types$1.shuttle_options;
3565
+ getcbldopts: Types$1.shuttle_options;
3355
3566
  getcharter: Types$1.charter_result;
3356
3567
  getcharttree: Types$1.charter_tree_result;
3357
3568
  getchrtready: Types$1.charterready_result;
3569
+ getclaimopts: Types$1.shuttle_options;
3358
3570
  getcluster: Types$1.cluster_row;
3359
3571
  getconfig: Types$1.game_config;
3360
3572
  getcraftjobs: Types$1.craftjobs_result;
3573
+ getcraftopts: Types$1.shuttle_options;
3361
3574
  getdecomp: Types$1.decomp_result;
3362
3575
  getdemand: Types$1.demand_result;
3363
3576
  getdeposit: ExtendedAsset;
@@ -3396,8 +3609,11 @@ interface ActionReturnValues {
3396
3609
  getreserves: Types$1.stratum_remaining[];
3397
3610
  getresources: Types$1.resources_result;
3398
3611
  getslots: Types$1.entity_layouts_result;
3612
+ getstoreopts: Types$1.shuttle_options;
3399
3613
  getstratum: Types$1.stratum_data;
3400
3614
  getsummaries: Types$1.entity_summary[];
3615
+ gettakeopts: Types$1.shuttle_options;
3616
+ gettasktypes: Types$1.task_types_result;
3401
3617
  getvoteready: UInt32;
3402
3618
  getvotes: Types$1.vote_result;
3403
3619
  getwormhole: Types$1.wormhole_info;
@@ -4863,7 +5079,18 @@ interface JobStatusInput {
4863
5079
  inputs?: readonly CargoItem$4[];
4864
5080
  }
4865
5081
  declare function jobDropoffTask(job: JobStatusInput, tasks: readonly OrderedTask[] | undefined): OrderedTask | undefined;
4866
- declare function jobStatus(job: JobStatusInput, now: Date, tasks?: readonly OrderedTask[]): JobStatus;
5082
+ interface HostedLeg {
5083
+ hostId: number;
5084
+ laneKey: number;
5085
+ taskIndex: number;
5086
+ civic: boolean;
5087
+ }
5088
+ interface JobRouteOptions {
5089
+ hosted?: HostedLeg;
5090
+ hostedTask?: OrderedTask;
5091
+ hostLaneLength?: number;
5092
+ }
5093
+ declare function jobStatus(job: JobStatusInput, now: Date, tasks?: readonly OrderedTask[], options?: JobRouteOptions): JobStatus;
4867
5094
  declare function jobCancellable(status: JobStatus): boolean;
4868
5095
  type JobCancellationBlockReason = 'legacy-inputs-unavailable' | 'ambiguous-dropoff';
4869
5096
  /** A migrated output-only job has no retained inputs that modern cancellation could return. */
@@ -4879,15 +5106,26 @@ type JobCancelRoute = {
4879
5106
  } | {
4880
5107
  kind: 'build';
4881
5108
  jobId: number;
5109
+ } | {
5110
+ kind: 'civic';
5111
+ buildingId: number;
5112
+ laneKey: number;
5113
+ fromId: number;
4882
5114
  };
4883
5115
  declare function jobCancelRoute(job: JobStatusInput & {
4884
5116
  id: number;
4885
5117
  shipId?: number;
4886
- }, now: Date, tasks?: readonly OrderedTask[]): JobCancelRoute | null;
5118
+ }, now: Date, tasks?: readonly OrderedTask[], options?: JobRouteOptions): JobCancelRoute | null;
4887
5119
  declare function buildJobCancelRoute(job: JobStatusInput & {
4888
5120
  id: number;
4889
5121
  targetId?: number;
4890
- }, now: Date, tasks?: readonly OrderedTask[]): JobCancelRoute | null;
5122
+ }, now: Date, tasks?: readonly OrderedTask[], options?: JobRouteOptions): JobCancelRoute | null;
5123
+ interface HostedDropoffEntity extends ScheduleData {
5124
+ owner?: NameType;
5125
+ }
5126
+ declare function hostedDropoff(source: ScheduleData, lookup: (id: string) => HostedDropoffEntity | undefined, job: JobStatusInput, civicOwner?: NameType): (HostedLeg & {
5127
+ task: OrderedTask;
5128
+ }) | undefined;
4891
5129
  interface PickupInFlight {
4892
5130
  building: number;
4893
5131
  cargo: CargoItem$4[];
@@ -4901,6 +5139,24 @@ declare function splitJobCargo<T>(cargo: readonly T[], deposited: boolean, quant
4901
5139
  output: T | null;
4902
5140
  inputs: T[];
4903
5141
  };
5142
+ interface BuildJob {
5143
+ id: number;
5144
+ building: number;
5145
+ socket: number;
5146
+ targetId: number;
5147
+ owner: string;
5148
+ coords: {
5149
+ x: number;
5150
+ y: number;
5151
+ };
5152
+ startsAt: Date;
5153
+ completesAt: Date;
5154
+ arrivesAt: Date;
5155
+ targetItemId: number;
5156
+ status: JobStatus;
5157
+ deposited: boolean;
5158
+ inputs: CargoItem$4[];
5159
+ }
4904
5160
  interface OwnedJob {
4905
5161
  id: number;
4906
5162
  building: number;
@@ -4977,8 +5233,8 @@ declare class ActionsManager extends BaseManager {
4977
5233
  refrshentity(entityId: UInt64Type): Action;
4978
5234
  load(id: UInt64Type, fromId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4979
5235
  unload(id: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4980
- depotstore(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4981
- depottake(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
5236
+ depotstore(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[], shuttledBy?: UInt64Type): Action;
5237
+ depottake(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[], shuttledBy?: UInt64Type): Action;
4982
5238
  shuttle(carrierId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4983
5239
  civicshuttle(buildingId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
4984
5240
  cancelcivic(buildingId: UInt64Type, laneKey: UInt8Type, fromId: UInt64Type): Action;
@@ -4990,14 +5246,14 @@ declare class ActionsManager extends BaseManager {
4990
5246
  gatherplan(sourceId: UInt64Type, destinationId: UInt64Type, stratum: UInt16Type, quantity: UInt32Type, recharge?: boolean, slots?: number[]): Action;
4991
5247
  warp(entityId: UInt64Type, destination: CoordinatesType): Action;
4992
5248
  craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams$1.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
4993
- craftjob(shipId: UInt64Type, workshopId: UInt64Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
5249
+ craftjob(shipId: UInt64Type, workshopId: UInt64Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[], shuttledBy?: UInt64Type): Action;
4994
5250
  cancelcraft(jobId: UInt64Type): Action;
4995
5251
  canceljob(route: JobCancelRoute): Action;
4996
5252
  clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams$1.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
4997
- claimcraft(jobId: UInt64Type, shipId: UInt64Type): Action;
4998
- buildjob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
5253
+ claimcraft(jobId: UInt64Type, shipId: UInt64Type, shuttledBy?: UInt64Type): Action;
5254
+ buildjob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[], shuttledBy?: UInt64Type): Action;
4999
5255
  claimbuild(jobId: UInt64Type): Action;
5000
- cancelbuild(jobId: UInt64Type): Action;
5256
+ cancelbuild(jobId: UInt64Type, shuttledBy?: UInt64Type): Action;
5001
5257
  blend(entityId: UInt64Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
5002
5258
  blenddepot(depotId: UInt64Type, owner: NameType, inputs: ActionParams$1.Type.cargo_item[]): Action;
5003
5259
  deploy(entityId: UInt64Type, ref: ActionParams$1.Type.cargo_ref, slot?: ClusterSlotType): Action;
@@ -5088,6 +5344,15 @@ interface WrapConfig {
5088
5344
  feePctBasisPoints: number;
5089
5345
  feeAccount: Name;
5090
5346
  }
5347
+ interface WrapConfigInput {
5348
+ feePctBasisPoints: number;
5349
+ feeAccount: NameType;
5350
+ }
5351
+ interface WrapCostInput {
5352
+ itemType: number;
5353
+ tier: number;
5354
+ units: bigint | string | number;
5355
+ }
5091
5356
  interface WrapGate {
5092
5357
  owner: Name;
5093
5358
  game: Name;
@@ -5106,9 +5371,12 @@ declare function wrapCostKey(itemType: number, tier: number): UInt64;
5106
5371
  declare class NftManager extends BaseManager {
5107
5372
  private cache;
5108
5373
  private wrapConfig?;
5374
+ private wrapCosts?;
5109
5375
  getNftConfigForItem(itemId: UInt64Type): Promise<NftConfigForItem | undefined>;
5376
+ setWrapConfig(config: WrapConfigInput | null): void;
5377
+ setWrapCosts(costs: WrapCostInput[] | null): void;
5110
5378
  getWrapConfig(reload?: boolean): Promise<WrapConfig | null>;
5111
- getWrapCost(itemType: number, tier: number): Promise<bigint>;
5379
+ getWrapCost(itemType: number, tier: number, reload?: boolean): Promise<bigint>;
5112
5380
  getWrapDeposit(itemType: number, tier: number, opts?: {
5113
5381
  reload?: boolean;
5114
5382
  }): Promise<WrapDeposit | null>;
@@ -5119,6 +5387,10 @@ interface DepositConfig {
5119
5387
  tokenContract: Name;
5120
5388
  symbol: Asset.Symbol;
5121
5389
  }
5390
+ interface DepositConfigInput {
5391
+ tokenContract: NameType;
5392
+ symbol: Asset.SymbolType;
5393
+ }
5122
5394
  interface PlatformBalance {
5123
5395
  owner: Name;
5124
5396
  tokenContract: Name;
@@ -5131,6 +5403,7 @@ interface TokenBalance {
5131
5403
  }
5132
5404
  declare class BalancesManager extends BaseManager {
5133
5405
  private depositConfig?;
5406
+ setDepositConfig(config: DepositConfigInput | null): void;
5134
5407
  getDepositConfig(reload?: boolean): Promise<DepositConfig | null>;
5135
5408
  private resolveTokenContract;
5136
5409
  getPlatformBalances(owner: NameType): Promise<PlatformBalance[]>;
@@ -5164,9 +5437,98 @@ declare class JobsManager extends BaseManager {
5164
5437
  getOwnedJobs(owner: NameType, opts?: {
5165
5438
  now?: Date;
5166
5439
  }): Promise<OwnedJob[]>;
5440
+ getBuildJobs(dockId: UInt64Type, opts?: {
5441
+ now?: Date;
5442
+ }): Promise<BuildJob[]>;
5443
+ private parseBuildJob;
5167
5444
  private parseOwnedJob;
5168
5445
  }
5169
5446
 
5447
+ type ShuttleMode = 'internal' | 'own' | 'ship' | 'bays';
5448
+ type ShuttleReasonCode = 'workshop-capped' | 'no-generator' | 'not-equipped' | 'job-cap' | 'target-busy' | 'cargo-wont-fit' | 'depot-full' | 'not-stored' | 'no-storage' | 'bays-booked' | 'player-cap' | 'queue-full' | 'inputs-unavailable' | 'ship-energy' | 'dropoff-collision' | 'ship-capped' | 'departs' | 'cargo-not-aboard' | 'no-capacity' | 'schedule-full' | 'plot-recipe' | 'not-ready' | 'unknown';
5449
+ interface ShuttleReason {
5450
+ code: ShuttleReasonCode;
5451
+ reason: string;
5452
+ at?: Date;
5453
+ until?: Date;
5454
+ have?: number;
5455
+ need?: number;
5456
+ cap?: number;
5457
+ taskType?: number;
5458
+ }
5459
+ interface ShuttleOption {
5460
+ shuttledBy?: string;
5461
+ mode: ShuttleMode;
5462
+ hostId: string;
5463
+ laneKey: number;
5464
+ duration: number;
5465
+ resolved: boolean;
5466
+ start?: Date;
5467
+ finish?: Date;
5468
+ bays: number;
5469
+ window?: {
5470
+ startsAt: Date;
5471
+ completesAt: Date;
5472
+ };
5473
+ energyCost?: number;
5474
+ blocked?: ShuttleReason;
5475
+ }
5476
+ interface ShuttleOptions {
5477
+ blocked?: ShuttleReason;
5478
+ options: ShuttleOption[];
5479
+ auto?: ShuttleOption;
5480
+ }
5481
+ declare const BOOKING_LEVEL_CODES: ReadonlySet<ShuttleReasonCode>;
5482
+ declare const OMITTED_REASONS: ReadonlySet<string>;
5483
+ declare function shuttleReasonCode(reason: string): ShuttleReasonCode;
5484
+ declare function rankShuttleOptions(a: ShuttleOption, b: ShuttleOption): number;
5485
+ type CandidateEntity = Pick<Types$1.entity_row, 'id' | 'owner' | 'kind' | 'coordinates' | 'modules' | 'item_id' | 'lanes'>;
5486
+ declare function shuttleCandidates(req: {
5487
+ building: CandidateEntity;
5488
+ shipId: UInt64Type;
5489
+ player: NameType;
5490
+ }, entities: readonly CandidateEntity[], civicOwner: NameType): string[];
5491
+ declare class ShuttleManager extends BaseManager {
5492
+ private query;
5493
+ craft(req: {
5494
+ shipId: UInt64Type;
5495
+ workshopId: UInt64Type;
5496
+ recipeId: UInt16Type;
5497
+ quantity: UInt32Type;
5498
+ inputs: ActionParams$1.Type.cargo_item[];
5499
+ candidates: UInt64Type[];
5500
+ recharge?: boolean;
5501
+ }): Promise<ShuttleOptions>;
5502
+ build(req: {
5503
+ targetId: UInt64Type;
5504
+ dockId: UInt64Type;
5505
+ targetItemId: UInt16Type;
5506
+ inputs: ActionParams$1.Type.cargo_item[];
5507
+ candidates: UInt64Type[];
5508
+ }): Promise<ShuttleOptions>;
5509
+ claim(req: {
5510
+ jobId: UInt64Type;
5511
+ shipId: UInt64Type;
5512
+ candidates: UInt64Type[];
5513
+ }): Promise<ShuttleOptions>;
5514
+ cancelBuild(req: {
5515
+ jobId: UInt64Type;
5516
+ candidates: UInt64Type[];
5517
+ }): Promise<ShuttleOptions>;
5518
+ store(req: {
5519
+ shipId: UInt64Type;
5520
+ depotId: UInt64Type;
5521
+ items: ActionParams$1.Type.cargo_item[];
5522
+ candidates: UInt64Type[];
5523
+ }): Promise<ShuttleOptions>;
5524
+ take(req: {
5525
+ shipId: UInt64Type;
5526
+ depotId: UInt64Type;
5527
+ items: ActionParams$1.Type.cargo_item[];
5528
+ candidates: UInt64Type[];
5529
+ }): Promise<ShuttleOptions>;
5530
+ }
5531
+
5170
5532
  declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
5171
5533
  declare const NEED_FP_SCALE = 10000;
5172
5534
  declare const WEIGHT_FP_SCALE = 10000;
@@ -5303,6 +5665,30 @@ declare function resourceValueAtomic(mass: bigint, weightFp: bigint, sumSq: numb
5303
5665
  declare function componentBaseAtomic(weightedRawMassFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
5304
5666
  declare function componentEffortAtomic(processedMassPerUnit: number, quantity: number): bigint;
5305
5667
  declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
5668
+ interface ResourceValuation {
5669
+ kind: 'resource';
5670
+ category: number;
5671
+ tier: number;
5672
+ mass: bigint;
5673
+ weight: number;
5674
+ quality: number;
5675
+ need: number;
5676
+ totalAtomic: bigint;
5677
+ points: number;
5678
+ }
5679
+ interface ComponentValuation {
5680
+ kind: 'component';
5681
+ rawMass: number;
5682
+ processedMass: number;
5683
+ weight: number;
5684
+ quality: number;
5685
+ baseAtomic: bigint;
5686
+ effortAtomic: bigint;
5687
+ totalAtomic: bigint;
5688
+ points: number;
5689
+ }
5690
+ type CargoValuation = ResourceValuation | ComponentValuation;
5691
+ declare function explainCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): CargoValuation;
5306
5692
  declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
5307
5693
  declare function pricingFromWeights(d1: number, weights: Iterable<{
5308
5694
  category: number;
@@ -5317,27 +5703,6 @@ interface CivicLoaderStats {
5317
5703
  declare function civicLoader(): CivicLoaderStats;
5318
5704
  declare function contributeDuration(totalMass: number, altitudeZ?: number): number;
5319
5705
  declare function contributeDurationForTonnes(tonnes: number, altitudeZ?: number): number;
5320
- declare const DEPOT_LOADER_SLOT = 0;
5321
- interface DepotTransferParams {
5322
- depotModules: Types$1.module_entry[];
5323
- depotItemId: number;
5324
- depotKind: NameType;
5325
- depotZ: number;
5326
- shipKind: NameType;
5327
- shipZ: number;
5328
- cargoMass: number;
5329
- }
5330
- declare function depotTransferDuration(params: DepotTransferParams): number;
5331
- interface CivicDropoffParams {
5332
- buildingModules: Types$1.module_entry[];
5333
- buildingItemId: number;
5334
- buildingKind: NameType;
5335
- buildingZ: number;
5336
- shipKind: NameType;
5337
- shipZ: number;
5338
- cargoMass: number;
5339
- }
5340
- declare function civicDropoffDuration(params: CivicDropoffParams): number;
5341
5706
 
5342
5707
  type CargoItem$3 = Types$1.cargo_item;
5343
5708
  type Lane$1 = Types$1.lane;
@@ -5353,7 +5718,7 @@ interface CivicShuttleBay {
5353
5718
  full: boolean;
5354
5719
  }
5355
5720
  declare function civicShuttleBays(modules: ModuleEntry$5[], entityItemId: number, lanes: Lane$1[], now?: Date): CivicShuttleBay[];
5356
- declare function selectCivicShuttleBay(modules: ModuleEntry$5[], entityItemId: number, lanes: Lane$1[], now?: Date): CivicShuttleBay | undefined;
5721
+ declare function selectCivicShuttleBay(modules: ModuleEntry$5[], entityItemId: number, lanes: Lane$1[], now?: Date, durationFor?: (bay: CivicShuttleBay) => number, minStart?: Date): CivicShuttleBay | undefined;
5357
5722
  interface PendingCivicTransfer {
5358
5723
  laneKey: number;
5359
5724
  taskIndex: number;
@@ -5876,11 +6241,14 @@ declare class GameContext {
5876
6241
  private _balances?;
5877
6242
  private _funds?;
5878
6243
  private _jobs?;
6244
+ private _shuttle?;
5879
6245
  private _influence?;
5880
6246
  private _subscriptions?;
5881
6247
  private _subscriptionsUrl?;
5882
6248
  private _gameCache?;
6249
+ private _gameInflight?;
5883
6250
  private _stateCache?;
6251
+ private _stateInflight?;
5884
6252
  constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string, fund?: Contract$4);
5885
6253
  get entities(): EntitiesManager;
5886
6254
  get players(): PlayersManager;
@@ -5893,6 +6261,7 @@ declare class GameContext {
5893
6261
  get balances(): BalancesManager;
5894
6262
  get funds(): FundManager;
5895
6263
  get jobs(): JobsManager;
6264
+ get shuttle(): ShuttleManager;
5896
6265
  get influence(): InfluenceManager;
5897
6266
  setSubscriptionsUrl(url: string): void;
5898
6267
  get subscriptions(): SubscriptionsManager;
@@ -5928,6 +6297,9 @@ interface ShiploadOptions {
5928
6297
  platformContractName?: string;
5929
6298
  serverContractName?: string;
5930
6299
  fundContractName?: string;
6300
+ platformContractAccount?: string;
6301
+ serverContractAccount?: string;
6302
+ fundContractAccount?: string;
5931
6303
  client?: APIClient;
5932
6304
  subscriptionsUrl?: string;
5933
6305
  atomicAssetsAccount?: string;
@@ -5957,6 +6329,7 @@ declare class Shipload {
5957
6329
  get funds(): FundManager;
5958
6330
  get balances(): BalancesManager;
5959
6331
  get jobs(): JobsManager;
6332
+ get shuttle(): ShuttleManager;
5960
6333
  get influence(): InfluenceManager;
5961
6334
  get subscriptions(): SubscriptionsManager;
5962
6335
  getGame(reload?: boolean): Promise<Types$2.game_row>;
@@ -6612,6 +6985,7 @@ interface IncomingHoldEntity extends ScheduleData {
6612
6985
  holds?: Types$1.hold[];
6613
6986
  }
6614
6987
  declare function incomingSources(entity: IncomingHoldEntity, findCounterpart: (entityId: string) => ScheduleData | undefined, excludedHoldIds?: readonly string[]): IncomingSource[];
6988
+ declare function isHostedCivicLeg(task: Task): boolean;
6615
6989
  declare function taskCargoEffect(task: Task): CargoEffect;
6616
6990
  declare function cargoKey(item: CargoItem$2): string;
6617
6991
  declare function cargoInputKey(input: CargoInput): string;
@@ -6765,6 +7139,7 @@ interface CraftableEntity extends ScheduleData {
6765
7139
  declare function maxCraftable(entity: CraftableEntity, recipe: Recipe, crafterSpeed: number, now: Date, incoming?: readonly IncomingSource[]): number;
6766
7140
 
6767
7141
  declare function energyAtTime(entity: Projectable, now: Date): number;
7142
+ declare function energyDrawsFunded(entity: Projectable, baseEnergy: number): boolean;
6768
7143
 
6769
7144
  interface Entity {
6770
7145
  id: UInt64;
@@ -7723,4 +8098,4 @@ type window_receipt = Types$1.window_receipt;
7723
8098
  type location_static = Types$1.location_static;
7724
8099
  type location_derived = Types$1.location_derived;
7725
8100
 
7726
- export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnchoredScheduleData, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BALLOT_CHARTER, BALLOT_MAX_PICKS, BALLOT_NONE_DUE, BALLOT_NOT_DUE, BALLOT_SETTLING, BAR_SEED, BAR_STEP_DOWN, BAR_STEP_UNIT, BAR_STEP_UP, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BalancesManager, Ballot, BallotInput, BallotProjection, BallotVote, BallotVoter, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_CATCH, CAP_DEMOLISH, CAP_MODULES, CAP_STORE_CARGO, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_GRANTS, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_RUNG_STEP, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_DEPOT, CIVIC_DOCK, CIVIC_GRANT_ADVANCEMENT, CIVIC_GRANT_LEVEL_GATE, CIVIC_GRANT_MODULE, CIVIC_GRANT_NONE, CIVIC_GRANT_RUNG, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, CIVIC_NEXUS, CIVIC_SPEED_CAP, CIVIC_STAT_BUILD_SPEED, CIVIC_STAT_CRAFT_SPEED, CIVIC_STAT_DEFS, CIVIC_STAT_NONE, CIVIC_STAT_STORAGE_CAPACITY, CIVIC_STAT_TRANSFER_SPEED, CIVIC_TRANSFER_PER_PLAYER_CAP, CIVIC_WORKSHOP, CIVIC_WORLD, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CargomassProjection, CategoryInfo, CategoryStacks, CharterGateSignature, CharterGrant, CharterIneligibility, CharterMeta, CharterNode, CharterProgress, CharterRungSignature, CharterSignature, CharterWorld, CivicBuildingPreview, CivicDropoffParams, CivicLoaderStats, CivicShuttleBay, CivicStanding, CivicStatDef, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, ContributePreview, ContributePreviewRow, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DECAY_MAX_ITERATIONS, DECAY_RETAIN_DEN, DECAY_RETAIN_NUM, DECOMP_MAX_BUCKETS, DECOMP_MAX_DEPTH, DECOMP_PROCESSED_MASS_MAX, DECOMP_RAW_MASS_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPOT_LOADER_SLOT, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecayableStanding, DecodedAtomicAsset, DecompBucket, DecompEntry, DemandRow, DemandTriple, DemandView, DepositConfig, DepotTransferParams, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_ASSEMBLY_YARD, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_DEPOT, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, FoundedWorld, FoundedWorldRef, FundAccrued, FundBeneficiary, fund as FundContract, FundManager, FundToken, Types$3 as FundTypes, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GRADE_PREMIUM, GRADE_STANDARD, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLane, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererLaneSource, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_MAX, INFLUENCE_NEED_FP_MAX, INFLUENCE_WEIGHT_FP_MAX, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_ASSEMBLY_YARD_T2_PACKED, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DEPOT_T1_PACKED, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_T2_PACKED, ITEM_FACTORY_T2_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T2_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NEXUS_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T2_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingHoldEntity, IncomingSource, InfluenceManager, InfluencePricing, InfluenceStanding, InstalledModule, InventoryAccessor, Item, ItemFamily, ItemType, JOB_QUEUE_CAP, JobCancelRoute, JobCancellationBlockReason, JobLane, JobLaneEntry, JobStatus, JobStatusInput, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MASS_STAT_SCALE, MASS_UNITS_PER_TONNE, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MINTREADY_DEFAULT_CAP, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, NEED_FP_SCALE, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, NodeProgress, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PendingCivicTransfer, PickupInFlight, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, PlatformBalance, platform as PlatformContract, Types$2 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectedOption, ProjectedSeat, ProjectionOptions, QueuedSeat, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_BIOMASS, RESOURCE_CATEGORY_COUNT, RESOURCE_CRYSTAL, RESOURCE_GAS, RESOURCE_ORE, RESOURCE_REGOLITH, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverCaps, RouteMoverInput, RouteMoverOpts, RouteMoverRow, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types$1 as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SingleGatherInput, SingleGatherPlan, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskCargoResult, TaskType, TemplateMeta, TextSpan, TierRange, TokenBalance, token as TokenContract, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_NOT_CITIZEN, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, VoteOption, VoteStandings, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WEIGHT_FP_SCALE, WH, WOULD_OVERFILL, WOULD_STRAND, W_EFF_ATOMIC_PER_UNIT, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WindowReceipt, WireCoordinates, WireEntity, WorldBuilding, WrapConfig, WrapDeposit, WrapGate, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, abundantMaskFor, addressFromCoordinates, allBuildableItems, allCategoryIndexes, allPlotBuildableItems, allocateProportional, appliedTaskCount, applyCapacityTier, applyResourceTierMultiplier, atomicToPoints, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildDemand, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildJobCancelRoute, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, buildjob_row, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canCatch, canMove, canStoreCargo, cancelEligibility, candidateCivicDepositWindow, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryAtIndex, categoryColors, categoryFromIndex, categoryIndex, categoryLabel, categoryLabelFromIndex, charterBuildingEntity, charterEligible, charterEligibleChained, charterGateNodeFor, charterIneligible, charterMetadata, charterModuleCount, charterName, charterNode, charterPrereqsMet, charterRungValue, charterSignature, charterSingletonMandate, charterSummary, citizenryName, citizenryPatternCount, civicBuildingFor, civicBuildingKind, civicBuildingLabel, civicDropoffDuration, civicHullItem, civicLoader, civicModuleItemFor, civicShuttleBays, civicStatLabel, civicStatModuleType, civicTransfersAtCap, civicTransfersFrom, clusterStockAvailable, compareByStars, componentBaseAtomic, componentEffortAtomic, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityDepot, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeDepotHullCapabilities, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, contractRouteHeuristic, contractRouteLegCost, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, craftEnergyCost, craftjob_row, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, decodeWindowReceipt, Shipload as default, demandRoll, depotTransferDuration, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, eligibleCharters, eligibleUpgrades, emptyCivicModules, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entityToRouteMover, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findCivicStatDef, findDecomp, findNearbyPlanets, fitCivicModules, flightSpeedFactor, formatInfluence, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatNeedMultiplier, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItemFamily, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatCount, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, hydrateEntityLanes, incomingHoldMass, incomingSources, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isAssemblyYard, isBuildable, isCivicEntity, isCivicKind, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isSettling, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemFamilies, itemFamilyKey, itemIds, itemOffset, itemTier, itemTypeCode, itemTypeIndex, jobCancelRoute, jobCancellable, jobCancellationBlockReason, jobDeposited, jobDropoffTask, jobStatus, jobStatusLabel, jobsToLanes, kindCan, lackingMaskFrom, lane, laneKeyForModule, lerp, locationIdToCoords, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needForCategory, needMultiplier, needsRecharge, normalizeActive, normalizeDisplayName, parseWireEntity, partnerRegion, pendingCivicTransfers, pickAcuteCategory, pickFabricator, pickupsInFlight, planParallelTransfer, planRoute, planRouteWithRetry, planSingleGather, poolKey, popcount5, previewCharterGrants, pricingFromWeights, projectBallot, projectCargomass, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, raiseCivicStat, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, romanNumeral, rotation, schedule, sdkSystemGraph, selectCivicShuttleBay, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoChangesChecked, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, tryGetItem, typeLabel, unappliedTasks, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, windowReceiptCompletesAtMs, windowReceiptStartsAtMs, window_receipt, workerLaneKey, workshopAvailability, wormholeAt, wormholeAtRegionEndpoint, wrapCostKey, yieldThresholdAt };
8101
+ export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnchoredScheduleData, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BALLOT_CHARTER, BALLOT_MAX_PICKS, BALLOT_NONE_DUE, BALLOT_NOT_DUE, BALLOT_SETTLING, BAR_SEED, BAR_STEP_DOWN, BAR_STEP_UNIT, BAR_STEP_UP, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BOOKING_LEVEL_CODES, BalancesManager, Ballot, BallotInput, BallotProjection, BallotVote, BallotVoter, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildJob, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_CATCH, CAP_DEMOLISH, CAP_MODULES, CAP_STORE_CARGO, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_GRANTS, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_RUNG_STEP, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_DEPOT, CIVIC_DOCK, CIVIC_GRANT_ADVANCEMENT, CIVIC_GRANT_LEVEL_GATE, CIVIC_GRANT_MODULE, CIVIC_GRANT_NONE, CIVIC_GRANT_RUNG, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, CIVIC_NEXUS, CIVIC_SPEED_CAP, CIVIC_STAT_BUILD_SPEED, CIVIC_STAT_CRAFT_SPEED, CIVIC_STAT_DEFS, CIVIC_STAT_NONE, CIVIC_STAT_STORAGE_CAPACITY, CIVIC_STAT_TRANSFER_SPEED, CIVIC_TRANSFER_PER_PLAYER_CAP, CIVIC_WORKSHOP, CIVIC_WORLD, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CandidateEntity, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CargoValuation, CargomassProjection, CategoryInfo, CategoryStacks, CharterGateSignature, CharterGrant, CharterIneligibility, CharterMeta, CharterNode, CharterProgress, CharterRungSignature, CharterSignature, CharterWorld, CivicBuildingPreview, CivicLoaderStats, CivicShuttleBay, CivicStanding, CivicStatDef, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComponentValuation, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, ContributePreview, ContributePreviewRow, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DECAY_MAX_ITERATIONS, DECAY_RETAIN_DEN, DECAY_RETAIN_NUM, DECOMP_MAX_BUCKETS, DECOMP_MAX_DEPTH, DECOMP_PROCESSED_MASS_MAX, DECOMP_RAW_MASS_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecayableStanding, DecodedAtomicAsset, DecompBucket, DecompEntry, DemandRow, DemandTriple, DemandView, DepositConfig, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_ASSEMBLY_YARD, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_DEPOT, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, FoundedWorld, FoundedWorldRef, FundAccrued, FundBeneficiary, fund as FundContract, FundManager, FundToken, Types$3 as FundTypes, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GRADE_PREMIUM, GRADE_STANDARD, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLane, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererLaneSource, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, HostedLeg, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_MAX, INFLUENCE_NEED_FP_MAX, INFLUENCE_WEIGHT_FP_MAX, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_ASSEMBLY_YARD_T2_PACKED, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DEPOT_T1_PACKED, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_T2_PACKED, ITEM_FACTORY_T2_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T2_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NEXUS_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T2_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingHoldEntity, IncomingSource, InfluenceManager, InfluencePricing, InfluenceStanding, InstalledModule, InventoryAccessor, Item, ItemFamily, ItemType, JOB_QUEUE_CAP, JobCancelRoute, JobCancellationBlockReason, JobLane, JobLaneEntry, JobRouteOptions, JobStatus, JobStatusInput, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MASS_STAT_SCALE, MASS_UNITS_PER_TONNE, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MINTREADY_DEFAULT_CAP, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, NEED_FP_SCALE, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, NodeProgress, OMITTED_REASONS, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PendingCivicTransfer, PickupInFlight, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, PlatformBalance, platform as PlatformContract, Types$2 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectedOption, ProjectedSeat, ProjectionOptions, QueuedSeat, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_BIOMASS, RESOURCE_CATEGORY_COUNT, RESOURCE_CRYSTAL, RESOURCE_GAS, RESOURCE_ORE, RESOURCE_REGOLITH, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, ResourceValuation, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverCaps, RouteMoverInput, RouteMoverOpts, RouteMoverRow, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types$1 as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, ShuttleManager, ShuttleMode, ShuttleOption, ShuttleOptions, ShuttleReason, ShuttleReasonCode, SingleGatherInput, SingleGatherPlan, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskCargoResult, TaskType, TemplateMeta, TextSpan, TierRange, TokenBalance, token as TokenContract, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_NOT_CITIZEN, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, VoteOption, VoteStandings, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WEIGHT_FP_SCALE, WH, WOULD_OVERFILL, WOULD_STRAND, W_EFF_ATOMIC_PER_UNIT, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WindowReceipt, WireCoordinates, WireEntity, WorldBuilding, WrapConfig, WrapDeposit, WrapGate, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, abundantMaskFor, addressFromCoordinates, allBuildableItems, allCategoryIndexes, allPlotBuildableItems, allocateProportional, appliedTaskCount, applyCapacityTier, applyResourceTierMultiplier, atomicToPoints, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildDemand, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildJobCancelRoute, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, buildjob_row, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canCatch, canMove, canStoreCargo, cancelEligibility, candidateCivicDepositWindow, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryAtIndex, categoryColors, categoryFromIndex, categoryIndex, categoryLabel, categoryLabelFromIndex, charterBuildingEntity, charterEligible, charterEligibleChained, charterGateNodeFor, charterIneligible, charterMetadata, charterModuleCount, charterName, charterNode, charterPrereqsMet, charterRungValue, charterSignature, charterSingletonMandate, charterSummary, citizenryName, citizenryPatternCount, civicBuildingFor, civicBuildingKind, civicBuildingLabel, civicHullItem, civicLoader, civicModuleItemFor, civicShuttleBays, civicStatLabel, civicStatModuleType, civicTransfersAtCap, civicTransfersFrom, clusterStockAvailable, compareByStars, componentBaseAtomic, componentEffortAtomic, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityDepot, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeDepotHullCapabilities, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, contractRouteHeuristic, contractRouteLegCost, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, craftEnergyCost, craftjob_row, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, decodeWindowReceipt, Shipload as default, demandRoll, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, eligibleCharters, eligibleUpgrades, emptyCivicModules, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyDrawsFunded, energyPercent, energy_stats, entityDisplayName, entityToRouteMover, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, explainCargoItem, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findCivicStatDef, findDecomp, findNearbyPlanets, fitCivicModules, flightSpeedFactor, formatInfluence, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatNeedMultiplier, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItemFamily, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatCount, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, hostedDropoff, hydrateEntityLanes, incomingHoldMass, incomingSources, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isAssemblyYard, isBuildable, isCivicEntity, isCivicKind, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHostedCivicLeg, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isSettling, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemFamilies, itemFamilyKey, itemIds, itemOffset, itemTier, itemTypeCode, itemTypeIndex, jobCancelRoute, jobCancellable, jobCancellationBlockReason, jobDeposited, jobDropoffTask, jobStatus, jobStatusLabel, jobsToLanes, kindCan, lackingMaskFrom, lane, laneKeyForModule, lerp, locationIdToCoords, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needForCategory, needMultiplier, needsRecharge, normalizeActive, normalizeDisplayName, parseWireEntity, partnerRegion, pendingCivicTransfers, pickAcuteCategory, pickFabricator, pickupsInFlight, planParallelTransfer, planRoute, planRouteWithRetry, planSingleGather, poolKey, popcount5, previewCharterGrants, pricingFromWeights, projectBallot, projectCargomass, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, raiseCivicStat, rankShuttleOptions, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, romanNumeral, rotation, schedule, sdkSystemGraph, selectCivicShuttleBay, selectGatherLane, setSubscriptionsDebug, shuttleCandidates, shuttleReasonCode, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoChangesChecked, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, tryGetItem, typeLabel, unappliedTasks, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, windowReceiptCompletesAtMs, windowReceiptStartsAtMs, window_receipt, workerLaneKey, workshopAvailability, wormholeAt, wormholeAtRegionEndpoint, wrapCostKey, yieldThresholdAt };