@shipload/sdk 1.0.0-next.24 → 1.0.0-next.26
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 +114 -40
- package/lib/shipload.js +2204 -654
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +2206 -655
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +27 -13
- package/lib/testing.js +80 -15
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +80 -15
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/crafting.test.ts +7 -0
- package/src/capabilities/crafting.ts +3 -3
- package/src/capabilities/index.ts +0 -1
- package/src/contracts/platform.ts +21 -1
- package/src/contracts/server.ts +83 -43
- package/src/derivation/capabilities.ts +4 -3
- package/src/entities/slot-multiplier.ts +2 -0
- package/src/index-module.ts +1 -0
- package/src/managers/actions.ts +71 -20
- package/src/managers/base.ts +4 -0
- package/src/managers/construction-types.ts +12 -1
- package/src/managers/construction.ts +105 -2
- package/src/managers/context.ts +2 -1
- package/src/managers/index.ts +1 -0
- package/src/managers/plot.ts +9 -5
- package/src/nft/atomicassets.abi.json +1342 -0
- package/src/nft/atomicassets.ts +9 -3
- package/src/scheduling/schedule.ts +6 -1
- package/src/shipload.ts +11 -1
- package/src/types.ts +1 -0
- package/src/capabilities/loading.ts +0 -8
package/lib/shipload.d.ts
CHANGED
|
@@ -73,6 +73,12 @@ declare namespace Types$1 {
|
|
|
73
73
|
token_contract: Name;
|
|
74
74
|
token_symbol: Asset.Symbol;
|
|
75
75
|
}
|
|
76
|
+
class relgateasset extends Struct {
|
|
77
|
+
asset_id: UInt64;
|
|
78
|
+
}
|
|
79
|
+
class relgateowner extends Struct {
|
|
80
|
+
owner: Name;
|
|
81
|
+
}
|
|
76
82
|
class setepochtime extends Struct {
|
|
77
83
|
contract: Name;
|
|
78
84
|
epochtime: UInt32;
|
|
@@ -131,6 +137,7 @@ declare namespace Types$1 {
|
|
|
131
137
|
}
|
|
132
138
|
class wrapgate_row extends Struct {
|
|
133
139
|
owner: Name;
|
|
140
|
+
game: Name;
|
|
134
141
|
last_asset_id: UInt64;
|
|
135
142
|
}
|
|
136
143
|
}
|
|
@@ -205,6 +212,12 @@ declare namespace ActionParams$1 {
|
|
|
205
212
|
token_contract: NameType;
|
|
206
213
|
token_symbol: Asset.SymbolType;
|
|
207
214
|
}
|
|
215
|
+
interface relgateasset {
|
|
216
|
+
asset_id: UInt64Type;
|
|
217
|
+
}
|
|
218
|
+
interface relgateowner {
|
|
219
|
+
owner: NameType;
|
|
220
|
+
}
|
|
208
221
|
interface setepochtime {
|
|
209
222
|
contract: NameType;
|
|
210
223
|
epochtime: UInt32Type;
|
|
@@ -263,6 +276,8 @@ interface ActionNameParams$1 {
|
|
|
263
276
|
enablegame: ActionParams$1.enablegame;
|
|
264
277
|
foundcompany: ActionParams$1.foundcompany;
|
|
265
278
|
open: ActionParams$1.open;
|
|
279
|
+
relgateasset: ActionParams$1.relgateasset;
|
|
280
|
+
relgateowner: ActionParams$1.relgateowner;
|
|
266
281
|
setepochtime: ActionParams$1.setepochtime;
|
|
267
282
|
settoken: ActionParams$1.settoken;
|
|
268
283
|
startgame: ActionParams$1.startgame;
|
|
@@ -376,6 +391,9 @@ declare namespace Types {
|
|
|
376
391
|
id: UInt64;
|
|
377
392
|
entity_id?: UInt64;
|
|
378
393
|
}
|
|
394
|
+
class claim_row extends Struct {
|
|
395
|
+
owner: Name;
|
|
396
|
+
}
|
|
379
397
|
class coordinates extends Struct {
|
|
380
398
|
x: Int64;
|
|
381
399
|
y: Int64;
|
|
@@ -386,6 +404,9 @@ declare namespace Types {
|
|
|
386
404
|
target_item_id: UInt16;
|
|
387
405
|
coords: coordinates;
|
|
388
406
|
}
|
|
407
|
+
class claimstarter extends Struct {
|
|
408
|
+
owner: Name;
|
|
409
|
+
}
|
|
389
410
|
class cleanrsvp extends Struct {
|
|
390
411
|
epoch: UInt64;
|
|
391
412
|
max_rows: UInt64;
|
|
@@ -433,7 +454,7 @@ declare namespace Types {
|
|
|
433
454
|
}
|
|
434
455
|
class crafter_stats extends Struct {
|
|
435
456
|
speed: UInt16;
|
|
436
|
-
drain:
|
|
457
|
+
drain: UInt32;
|
|
437
458
|
}
|
|
438
459
|
class demolish extends Struct {
|
|
439
460
|
entity_id: UInt64;
|
|
@@ -452,23 +473,23 @@ declare namespace Types {
|
|
|
452
473
|
enabled: boolean;
|
|
453
474
|
}
|
|
454
475
|
class energy_stats extends Struct {
|
|
455
|
-
capacity:
|
|
456
|
-
recharge:
|
|
476
|
+
capacity: UInt32;
|
|
477
|
+
recharge: UInt32;
|
|
457
478
|
}
|
|
458
479
|
class entity_current_state extends Struct {
|
|
459
480
|
coordinates: coordinates;
|
|
460
|
-
energy:
|
|
481
|
+
energy: UInt32;
|
|
461
482
|
}
|
|
462
483
|
class movement_stats extends Struct {
|
|
463
484
|
thrust: UInt32;
|
|
464
|
-
drain:
|
|
485
|
+
drain: UInt32;
|
|
465
486
|
}
|
|
466
487
|
class warp_stats extends Struct {
|
|
467
488
|
range: UInt32;
|
|
468
489
|
}
|
|
469
490
|
class gatherer_stats extends Struct {
|
|
470
491
|
yield: UInt16;
|
|
471
|
-
drain:
|
|
492
|
+
drain: UInt32;
|
|
472
493
|
depth: UInt16;
|
|
473
494
|
}
|
|
474
495
|
class loader_stats extends Struct {
|
|
@@ -479,7 +500,7 @@ declare namespace Types {
|
|
|
479
500
|
class hauler_stats extends Struct {
|
|
480
501
|
capacity: UInt8;
|
|
481
502
|
efficiency: UInt16;
|
|
482
|
-
drain:
|
|
503
|
+
drain: UInt32;
|
|
483
504
|
}
|
|
484
505
|
class task extends Struct {
|
|
485
506
|
type: UInt8;
|
|
@@ -489,7 +510,7 @@ declare namespace Types {
|
|
|
489
510
|
cargo: cargo_item[];
|
|
490
511
|
entitytarget?: entity_ref;
|
|
491
512
|
entitygroup?: UInt64;
|
|
492
|
-
energy_cost?:
|
|
513
|
+
energy_cost?: UInt32;
|
|
493
514
|
}
|
|
494
515
|
class schedule extends Struct {
|
|
495
516
|
started: TimePoint;
|
|
@@ -505,7 +526,7 @@ declare namespace Types {
|
|
|
505
526
|
cargomass: UInt32;
|
|
506
527
|
cargo: cargo_view[];
|
|
507
528
|
modules: module_entry[];
|
|
508
|
-
energy?:
|
|
529
|
+
energy?: UInt32;
|
|
509
530
|
hullmass?: UInt32;
|
|
510
531
|
capacity?: UInt32;
|
|
511
532
|
engines?: movement_stats;
|
|
@@ -542,7 +563,7 @@ declare namespace Types {
|
|
|
542
563
|
name: string;
|
|
543
564
|
stats: UInt64;
|
|
544
565
|
coordinates: coordinates;
|
|
545
|
-
energy?:
|
|
566
|
+
energy?: UInt32;
|
|
546
567
|
cargomass: UInt32;
|
|
547
568
|
modules: module_entry[];
|
|
548
569
|
schedule?: schedule;
|
|
@@ -595,6 +616,9 @@ declare namespace Types {
|
|
|
595
616
|
stratum: UInt16;
|
|
596
617
|
quantity: UInt32;
|
|
597
618
|
}
|
|
619
|
+
class genesisfleet extends Struct {
|
|
620
|
+
entities: entity_row[];
|
|
621
|
+
}
|
|
598
622
|
class getconfig extends Struct {
|
|
599
623
|
}
|
|
600
624
|
class getdeposit extends Struct {
|
|
@@ -817,7 +841,7 @@ declare namespace Types {
|
|
|
817
841
|
can_travel: boolean;
|
|
818
842
|
current: entity_current_state;
|
|
819
843
|
projected: entity_current_state;
|
|
820
|
-
max_energy:
|
|
844
|
+
max_energy: UInt32;
|
|
821
845
|
systems: nearby_system[];
|
|
822
846
|
}
|
|
823
847
|
class nft_cargo_item extends Struct {
|
|
@@ -865,7 +889,7 @@ declare namespace Types {
|
|
|
865
889
|
task: task;
|
|
866
890
|
starts_at: TimePoint;
|
|
867
891
|
completes_at: TimePoint;
|
|
868
|
-
new_energy?:
|
|
892
|
+
new_energy?: UInt32;
|
|
869
893
|
}
|
|
870
894
|
class notify extends Struct {
|
|
871
895
|
event: task_event;
|
|
@@ -897,7 +921,7 @@ declare namespace Types {
|
|
|
897
921
|
class projected_state extends Struct {
|
|
898
922
|
owner: Name;
|
|
899
923
|
coordinates: coordinates;
|
|
900
|
-
energy?:
|
|
924
|
+
energy?: UInt32;
|
|
901
925
|
cargomass: UInt32;
|
|
902
926
|
cargo: cargo_view[];
|
|
903
927
|
hullmass?: UInt32;
|
|
@@ -1009,6 +1033,11 @@ declare namespace Types {
|
|
|
1009
1033
|
remaining: UInt32;
|
|
1010
1034
|
last_block: BlockTimestamp;
|
|
1011
1035
|
}
|
|
1036
|
+
class swapmodule extends Struct {
|
|
1037
|
+
entity_id: UInt64;
|
|
1038
|
+
module_index: UInt8;
|
|
1039
|
+
module_ref: cargo_ref;
|
|
1040
|
+
}
|
|
1012
1041
|
class task_results extends Struct {
|
|
1013
1042
|
entities: entity_task_info[];
|
|
1014
1043
|
}
|
|
@@ -1053,6 +1082,7 @@ declare namespace Types {
|
|
|
1053
1082
|
}
|
|
1054
1083
|
declare const TableMap: {
|
|
1055
1084
|
cargo: typeof Types.cargo_row;
|
|
1085
|
+
claims: typeof Types.claim_row;
|
|
1056
1086
|
commit: typeof Types.commit_row;
|
|
1057
1087
|
entity: typeof Types.entity_row;
|
|
1058
1088
|
entitygroup: typeof Types.entitygroup_row;
|
|
@@ -1071,6 +1101,7 @@ declare const TableMap: {
|
|
|
1071
1101
|
};
|
|
1072
1102
|
interface TableTypes {
|
|
1073
1103
|
cargo: Types.cargo_row;
|
|
1104
|
+
claims: Types.claim_row;
|
|
1074
1105
|
commit: Types.commit_row;
|
|
1075
1106
|
entity: Types.entity_row;
|
|
1076
1107
|
entitygroup: Types.entitygroup_row;
|
|
@@ -1133,19 +1164,6 @@ declare namespace ActionParams {
|
|
|
1133
1164
|
subtype: UInt8Type;
|
|
1134
1165
|
tier: UInt8Type;
|
|
1135
1166
|
}
|
|
1136
|
-
interface entity_ref {
|
|
1137
|
-
entity_type: NameType;
|
|
1138
|
-
entity_id: UInt64Type;
|
|
1139
|
-
}
|
|
1140
|
-
interface cargo_row {
|
|
1141
|
-
id: UInt64Type;
|
|
1142
|
-
entity_id: UInt64Type;
|
|
1143
|
-
item_id: UInt64Type;
|
|
1144
|
-
quantity: UInt64Type;
|
|
1145
|
-
stats: UInt64Type;
|
|
1146
|
-
modules: Type.module_entry[];
|
|
1147
|
-
sequence_id?: UInt64Type;
|
|
1148
|
-
}
|
|
1149
1167
|
interface entity_row {
|
|
1150
1168
|
id: UInt64Type;
|
|
1151
1169
|
owner: NameType;
|
|
@@ -1154,7 +1172,7 @@ declare namespace ActionParams {
|
|
|
1154
1172
|
name: string;
|
|
1155
1173
|
stats: UInt64Type;
|
|
1156
1174
|
coordinates: Type.coordinates;
|
|
1157
|
-
energy?:
|
|
1175
|
+
energy?: UInt32Type;
|
|
1158
1176
|
cargomass: UInt32Type;
|
|
1159
1177
|
modules: Type.module_entry[];
|
|
1160
1178
|
schedule?: Type.schedule;
|
|
@@ -1171,7 +1189,20 @@ declare namespace ActionParams {
|
|
|
1171
1189
|
cargo: Type.cargo_item[];
|
|
1172
1190
|
entitytarget?: Type.entity_ref;
|
|
1173
1191
|
entitygroup?: UInt64Type;
|
|
1174
|
-
energy_cost?:
|
|
1192
|
+
energy_cost?: UInt32Type;
|
|
1193
|
+
}
|
|
1194
|
+
interface entity_ref {
|
|
1195
|
+
entity_type: NameType;
|
|
1196
|
+
entity_id: UInt64Type;
|
|
1197
|
+
}
|
|
1198
|
+
interface cargo_row {
|
|
1199
|
+
id: UInt64Type;
|
|
1200
|
+
entity_id: UInt64Type;
|
|
1201
|
+
item_id: UInt64Type;
|
|
1202
|
+
quantity: UInt64Type;
|
|
1203
|
+
stats: UInt64Type;
|
|
1204
|
+
modules: Type.module_entry[];
|
|
1205
|
+
sequence_id?: UInt64Type;
|
|
1175
1206
|
}
|
|
1176
1207
|
interface entitygroup_row {
|
|
1177
1208
|
id: UInt64Type;
|
|
@@ -1198,7 +1229,7 @@ declare namespace ActionParams {
|
|
|
1198
1229
|
task: Type.task;
|
|
1199
1230
|
starts_at: TimePointType;
|
|
1200
1231
|
completes_at: TimePointType;
|
|
1201
|
-
new_energy?:
|
|
1232
|
+
new_energy?: UInt32Type;
|
|
1202
1233
|
}
|
|
1203
1234
|
}
|
|
1204
1235
|
interface addmodule {
|
|
@@ -1232,6 +1263,9 @@ declare namespace ActionParams {
|
|
|
1232
1263
|
target_item_id: UInt16Type;
|
|
1233
1264
|
coords: Type.coordinates;
|
|
1234
1265
|
}
|
|
1266
|
+
interface claimstarter {
|
|
1267
|
+
owner: NameType;
|
|
1268
|
+
}
|
|
1235
1269
|
interface cleanrsvp {
|
|
1236
1270
|
epoch: UInt64Type;
|
|
1237
1271
|
max_rows: UInt64Type;
|
|
@@ -1283,6 +1317,9 @@ declare namespace ActionParams {
|
|
|
1283
1317
|
stratum: UInt16Type;
|
|
1284
1318
|
quantity: UInt32Type;
|
|
1285
1319
|
}
|
|
1320
|
+
interface genesisfleet {
|
|
1321
|
+
entities: Type.entity_row[];
|
|
1322
|
+
}
|
|
1286
1323
|
interface getconfig {
|
|
1287
1324
|
}
|
|
1288
1325
|
interface getdeposit {
|
|
@@ -1474,6 +1511,11 @@ declare namespace ActionParams {
|
|
|
1474
1511
|
entity_id: UInt64Type;
|
|
1475
1512
|
nexus_id: UInt64Type;
|
|
1476
1513
|
}
|
|
1514
|
+
interface swapmodule {
|
|
1515
|
+
entity_id: UInt64Type;
|
|
1516
|
+
module_index: UInt8Type;
|
|
1517
|
+
module_ref: Type.cargo_ref;
|
|
1518
|
+
}
|
|
1477
1519
|
interface transfer {
|
|
1478
1520
|
source_id: UInt64Type;
|
|
1479
1521
|
dest_id: UInt64Type;
|
|
@@ -1505,6 +1547,7 @@ interface ActionNameParams {
|
|
|
1505
1547
|
buildplot: ActionParams.buildplot;
|
|
1506
1548
|
cancel: ActionParams.cancel;
|
|
1507
1549
|
claimplot: ActionParams.claimplot;
|
|
1550
|
+
claimstarter: ActionParams.claimstarter;
|
|
1508
1551
|
cleanrsvp: ActionParams.cleanrsvp;
|
|
1509
1552
|
cleartable: ActionParams.cleartable;
|
|
1510
1553
|
commit: ActionParams.commit;
|
|
@@ -1517,6 +1560,7 @@ interface ActionNameParams {
|
|
|
1517
1560
|
fixcargomass: ActionParams.fixcargomass;
|
|
1518
1561
|
forcereveal: ActionParams.forcereveal;
|
|
1519
1562
|
gather: ActionParams.gather;
|
|
1563
|
+
genesisfleet: ActionParams.genesisfleet;
|
|
1520
1564
|
getconfig: ActionParams.getconfig;
|
|
1521
1565
|
getdeposit: ActionParams.getdeposit;
|
|
1522
1566
|
geteligible: ActionParams.geteligible;
|
|
@@ -1573,6 +1617,7 @@ interface ActionNameParams {
|
|
|
1573
1617
|
setwrapfee: ActionParams.setwrapfee;
|
|
1574
1618
|
stowcargo: ActionParams.stowcargo;
|
|
1575
1619
|
stowentity: ActionParams.stowentity;
|
|
1620
|
+
swapmodule: ActionParams.swapmodule;
|
|
1576
1621
|
transfer: ActionParams.transfer;
|
|
1577
1622
|
travel: ActionParams.travel;
|
|
1578
1623
|
undeploy: ActionParams.undeploy;
|
|
@@ -1796,7 +1841,8 @@ declare enum TaskType {
|
|
|
1796
1841
|
UNDEPLOY = 11,
|
|
1797
1842
|
DEMOLISH = 13,
|
|
1798
1843
|
CLAIMPLOT = 14,
|
|
1799
|
-
BUILDPLOT = 15
|
|
1844
|
+
BUILDPLOT = 15,
|
|
1845
|
+
RESERVED = 16
|
|
1800
1846
|
}
|
|
1801
1847
|
declare enum LocationType {
|
|
1802
1848
|
EMPTY = 0,
|
|
@@ -2575,15 +2621,22 @@ declare class ActionsManager extends BaseManager {
|
|
|
2575
2621
|
buildplot(entityId: UInt64Type, plotId: UInt64Type): Action;
|
|
2576
2622
|
addmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
2577
2623
|
rmmodule(entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
2578
|
-
|
|
2624
|
+
swapmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref): Action;
|
|
2625
|
+
wrap(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, cargoId: UInt64Type, quantity: UInt64Type, opts?: {
|
|
2626
|
+
claimRam?: boolean;
|
|
2627
|
+
}): Promise<Action[]>;
|
|
2579
2628
|
undeploy(hostId: UInt64Type, targetId: UInt64Type): Action;
|
|
2580
|
-
|
|
2629
|
+
claimStarter(owner: NameType): Action;
|
|
2630
|
+
wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, opts?: {
|
|
2631
|
+
claimRam?: boolean;
|
|
2632
|
+
}): Promise<Action[]>;
|
|
2581
2633
|
placecargo(owner: NameType, hostId: UInt64Type, assetId: UInt64Type): Action;
|
|
2582
2634
|
placeentity(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
|
|
2583
2635
|
transferForUnwrap(owner: NameType, assetId: UInt64Type): Action;
|
|
2584
2636
|
unwrapCargoTx(owner: NameType, assetId: UInt64Type, hostId: UInt64Type): Action[];
|
|
2585
2637
|
unwrapEntityTx(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action[];
|
|
2586
2638
|
setRamPayer(newPayer: NameType, assetId: UInt64Type): Action;
|
|
2639
|
+
setLastPayer(owner: NameType, collectionName: NameType): Action;
|
|
2587
2640
|
demolish(entityId: UInt64Type): Action;
|
|
2588
2641
|
joinGame(account: NameType, companyName: string): Action[];
|
|
2589
2642
|
commit(oracleId: NameType, epoch: UInt64Type, commit: Checksum256Type): Action;
|
|
@@ -2773,6 +2826,7 @@ declare class GameContext {
|
|
|
2773
2826
|
readonly client: APIClient;
|
|
2774
2827
|
readonly server: Contract$2;
|
|
2775
2828
|
readonly platform: Contract$2;
|
|
2829
|
+
readonly atomicAssetsAccount: string;
|
|
2776
2830
|
private _entities?;
|
|
2777
2831
|
private _players?;
|
|
2778
2832
|
private _locations?;
|
|
@@ -2783,7 +2837,7 @@ declare class GameContext {
|
|
|
2783
2837
|
private _subscriptionsUrl?;
|
|
2784
2838
|
private _gameCache?;
|
|
2785
2839
|
private _stateCache?;
|
|
2786
|
-
constructor(client: APIClient, server: Contract$2, platform: Contract$2);
|
|
2840
|
+
constructor(client: APIClient, server: Contract$2, platform: Contract$2, atomicAssetsAccount?: string);
|
|
2787
2841
|
get entities(): EntitiesManager;
|
|
2788
2842
|
get players(): PlayersManager;
|
|
2789
2843
|
get locations(): LocationsManager;
|
|
@@ -2804,6 +2858,7 @@ declare abstract class BaseManager {
|
|
|
2804
2858
|
protected get client(): _wharfkit_antelope.APIClient;
|
|
2805
2859
|
protected get server(): _wharfkit_contract.Contract;
|
|
2806
2860
|
protected get platform(): _wharfkit_contract.Contract;
|
|
2861
|
+
protected get atomicAssetsAccount(): string;
|
|
2807
2862
|
protected getGame(): Promise<Types$1.game_row>;
|
|
2808
2863
|
protected getState(reload?: boolean): Promise<GameState>;
|
|
2809
2864
|
}
|
|
@@ -2821,6 +2876,7 @@ interface ShiploadOptions {
|
|
|
2821
2876
|
serverContractName?: string;
|
|
2822
2877
|
client?: APIClient;
|
|
2823
2878
|
subscriptionsUrl?: string;
|
|
2879
|
+
atomicAssetsAccount?: string;
|
|
2824
2880
|
}
|
|
2825
2881
|
interface ShiploadConstructorOptions extends ShiploadOptions {
|
|
2826
2882
|
platformContract?: Contract$2;
|
|
@@ -2831,6 +2887,7 @@ declare class Shipload {
|
|
|
2831
2887
|
constructor(chain: ChainDefinition, constructorOptions?: ShiploadConstructorOptions);
|
|
2832
2888
|
static load(chain: ChainDefinition, shiploadOptions?: ShiploadOptions): Promise<Shipload>;
|
|
2833
2889
|
get client(): APIClient;
|
|
2890
|
+
get atomicAssetsAccount(): string;
|
|
2834
2891
|
get server(): Contract$2;
|
|
2835
2892
|
get platform(): Contract$2;
|
|
2836
2893
|
get entities(): EntitiesManager;
|
|
@@ -2874,7 +2931,7 @@ interface InstalledModule {
|
|
|
2874
2931
|
stats: bigint;
|
|
2875
2932
|
}
|
|
2876
2933
|
|
|
2877
|
-
type BuildState = 'initializing' | 'accepting' | 'ready' | 'finalizing';
|
|
2934
|
+
type BuildState = 'initializing' | 'accepting' | 'ready' | 'scheduled' | 'finalizing';
|
|
2878
2935
|
type FinalizerCapability = 'crafter';
|
|
2879
2936
|
interface BuildableTarget {
|
|
2880
2937
|
entityId: UInt64;
|
|
@@ -2888,6 +2945,7 @@ interface BuildableTarget {
|
|
|
2888
2945
|
finalizeAction: Name;
|
|
2889
2946
|
finalizerCapability: FinalizerCapability;
|
|
2890
2947
|
activeTask?: Types.task;
|
|
2948
|
+
scheduledBuild?: ScheduledBuild;
|
|
2891
2949
|
}
|
|
2892
2950
|
interface SourceEntityRef {
|
|
2893
2951
|
entityId: UInt64;
|
|
@@ -2923,6 +2981,15 @@ interface InboundTransfer {
|
|
|
2923
2981
|
quantity: number;
|
|
2924
2982
|
etaSeconds: number;
|
|
2925
2983
|
}
|
|
2984
|
+
interface ScheduledBuild {
|
|
2985
|
+
shipId: UInt64;
|
|
2986
|
+
shipName: string;
|
|
2987
|
+
hasStarted: boolean;
|
|
2988
|
+
startsAt: number;
|
|
2989
|
+
completesAt: number;
|
|
2990
|
+
cancelable: boolean;
|
|
2991
|
+
blockingTaskCount: number;
|
|
2992
|
+
}
|
|
2926
2993
|
interface Reservation {
|
|
2927
2994
|
targetEntityId: UInt64;
|
|
2928
2995
|
targetEntityType: Name;
|
|
@@ -2946,7 +3013,7 @@ interface PlotProgress {
|
|
|
2946
3013
|
|
|
2947
3014
|
declare class ConstructionManager extends BaseManager {
|
|
2948
3015
|
private readonly plot;
|
|
2949
|
-
getTarget(entity: Types.entity_row, cargo: Types.cargo_row[], activeTask?: Types.task): BuildableTarget | null;
|
|
3016
|
+
getTarget(entity: Types.entity_row, cargo: Types.cargo_row[], activeTask?: Types.task, scheduledBuild?: ScheduledBuild): BuildableTarget | null;
|
|
2950
3017
|
eligibleSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
|
|
2951
3018
|
unreachableSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
|
|
2952
3019
|
partitionSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): {
|
|
@@ -2956,6 +3023,11 @@ declare class ConstructionManager extends BaseManager {
|
|
|
2956
3023
|
eligibleFinalizers(target: BuildableTarget, entities: Types.entity_info[]): FinalizerEntityRef[];
|
|
2957
3024
|
inboundTransfersTo(plotId: UInt64, entities: Types.entity_info[], now: Date): InboundTransfer[];
|
|
2958
3025
|
inboundTransfersByTarget(entities: Types.entity_info[], now: Date): Map<string, InboundTransfer[]>;
|
|
3026
|
+
private plotReservation;
|
|
3027
|
+
private builderCancelability;
|
|
3028
|
+
private buildFromReservation;
|
|
3029
|
+
scheduledBuildFor(plot: Types.entity_info, entities: Types.entity_info[], now: Date): ScheduledBuild | null;
|
|
3030
|
+
scheduledBuildsByTarget(entities: Types.entity_info[], now: Date): Map<string, ScheduledBuild>;
|
|
2959
3031
|
reservationsFrom(sourceEntityId: UInt64, entities: Types.entity_info[]): Reservation[];
|
|
2960
3032
|
estimateFinalizeDuration(target: BuildableTarget, crafterSpeed: number): UInt32;
|
|
2961
3033
|
static isConstructionKind(kind: string): boolean;
|
|
@@ -3227,8 +3299,6 @@ declare function calcEnergyUsage(entity: MovementCapability, distance: UInt64):
|
|
|
3227
3299
|
declare function energyPercent(entity: MovementCapability & EnergyCapability): number;
|
|
3228
3300
|
declare function needsRecharge(entity: MovementCapability & EnergyCapability): boolean;
|
|
3229
3301
|
|
|
3230
|
-
declare function calcLoadDuration(entity: LoaderCapability, cargoMass: UInt64): UInt32;
|
|
3231
|
-
|
|
3232
3302
|
declare function calc_gather_duration(gatherer: Types.gatherer_stats, itemMass: number, quantity: number, stratum: number, richness: number): UInt32;
|
|
3233
3303
|
declare function calc_gather_rate(gatherer: Types.gatherer_stats, itemMass: number, stratum: number, richness: number): {
|
|
3234
3304
|
unitsPerSec: number;
|
|
@@ -3242,7 +3312,7 @@ interface CrafterCapability {
|
|
|
3242
3312
|
}
|
|
3243
3313
|
declare function capsHasCrafter(caps: EntityCapabilities): boolean;
|
|
3244
3314
|
declare function calc_craft_duration(speed: number, totalInputMass: number): UInt32;
|
|
3245
|
-
declare function calc_craft_energy(drain: number, totalInputMass: number):
|
|
3315
|
+
declare function calc_craft_energy(drain: number, totalInputMass: number): UInt32;
|
|
3246
3316
|
|
|
3247
3317
|
declare const MODULE_ANY = 0;
|
|
3248
3318
|
declare const MODULE_ENGINE = 1;
|
|
@@ -3592,6 +3662,7 @@ declare function buildImmutableData(itemId: number, quantity: number, stats: big
|
|
|
3592
3662
|
|
|
3593
3663
|
declare const ATOMICASSETS_ACCOUNT = "atomicassets";
|
|
3594
3664
|
declare const SHIPLOAD_COLLECTION = "shipload";
|
|
3665
|
+
declare const ATOMICASSETS_ABI: ABI;
|
|
3595
3666
|
interface MintAssetParams {
|
|
3596
3667
|
authorizedMinter: NameType;
|
|
3597
3668
|
collectionName: NameType;
|
|
@@ -3618,9 +3689,10 @@ interface AtomicSchemaRow {
|
|
|
3618
3689
|
interface FetchAssetsOptions {
|
|
3619
3690
|
collection?: NameType;
|
|
3620
3691
|
pageSize?: number;
|
|
3692
|
+
account?: NameType;
|
|
3621
3693
|
}
|
|
3622
3694
|
declare function fetchAtomicAssetsForOwner(client: APIClient, owner: NameType, opts?: FetchAssetsOptions): Promise<AtomicAssetRow[]>;
|
|
3623
|
-
declare function fetchAtomicSchemas(client: APIClient, collection: NameType): Promise<AtomicSchemaRow[]>;
|
|
3695
|
+
declare function fetchAtomicSchemas(client: APIClient, collection: NameType, account?: NameType): Promise<AtomicSchemaRow[]>;
|
|
3624
3696
|
interface DecodedAtomicAsset {
|
|
3625
3697
|
asset_id: bigint;
|
|
3626
3698
|
schema_name: string;
|
|
@@ -3672,6 +3744,7 @@ type index_RawData = RawData;
|
|
|
3672
3744
|
declare const index_deserializeAtomicData: typeof deserializeAtomicData;
|
|
3673
3745
|
declare const index_ATOMICASSETS_ACCOUNT: typeof ATOMICASSETS_ACCOUNT;
|
|
3674
3746
|
declare const index_SHIPLOAD_COLLECTION: typeof SHIPLOAD_COLLECTION;
|
|
3747
|
+
declare const index_ATOMICASSETS_ABI: typeof ATOMICASSETS_ABI;
|
|
3675
3748
|
type index_MintAssetParams = MintAssetParams;
|
|
3676
3749
|
declare const index_buildMintAssetAction: typeof buildMintAssetAction;
|
|
3677
3750
|
type index_AtomicAssetRow = AtomicAssetRow;
|
|
@@ -3731,6 +3804,7 @@ declare namespace index {
|
|
|
3731
3804
|
index_deserializeAtomicData as deserializeAtomicData,
|
|
3732
3805
|
index_ATOMICASSETS_ACCOUNT as ATOMICASSETS_ACCOUNT,
|
|
3733
3806
|
index_SHIPLOAD_COLLECTION as SHIPLOAD_COLLECTION,
|
|
3807
|
+
index_ATOMICASSETS_ABI as ATOMICASSETS_ABI,
|
|
3734
3808
|
index_MintAssetParams as MintAssetParams,
|
|
3735
3809
|
index_buildMintAssetAction as buildMintAssetAction,
|
|
3736
3810
|
index_AtomicAssetRow as AtomicAssetRow,
|
|
@@ -3846,4 +3920,4 @@ type gatherer_stats = Types.gatherer_stats;
|
|
|
3846
3920
|
type location_static = Types.location_static;
|
|
3847
3921
|
type location_derived = Types.location_derived;
|
|
3848
3922
|
|
|
3849
|
-
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BuildMethod, BuildState, BuildableTarget, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, 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, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionHandle, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, Factory, FetchAssetsOptions, FinalizerCapability, FinalizerEntityRef, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, 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, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, 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_CERAMIC, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, 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_DOES_NOT_EXIST, ITEM_EMITTER, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_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_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, 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_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, 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_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_BATTERY, 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_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, NftConfigForItem, NftManager, 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, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, 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, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateSchedule, yieldThresholdAt };
|
|
3923
|
+
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BuildMethod, BuildState, BuildableTarget, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, 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, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionHandle, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, Factory, FetchAssetsOptions, FinalizerCapability, FinalizerEntityRef, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, 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, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, 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_CERAMIC, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, 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_DOES_NOT_EXIST, ITEM_EMITTER, ITEM_ENGINE_T1, ITEM_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_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_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, 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_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, 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_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_BATTERY, 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_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, NftConfigForItem, NftManager, 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, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, 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, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateSchedule, yieldThresholdAt };
|