@shipload/sdk 1.0.0-next.19 → 1.0.0-next.20
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 +386 -189
- package/lib/shipload.js +8409 -8013
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +8408 -8011
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +120 -67
- package/lib/testing.js +638 -269
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +639 -270
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/platform.ts +199 -3
- package/src/contracts/server.ts +314 -217
- package/src/data/items.json +75 -75
- package/src/data/recipes-runtime.ts +2 -28
- package/src/data/recipes.json +89 -107
- package/src/derivation/capabilities.ts +5 -5
- package/src/derivation/capability-mappings.ts +5 -12
- package/src/derivation/crafting.ts +22 -23
- package/src/entities/gamestate.ts +3 -19
- package/src/entities/makers.ts +2 -15
- package/src/entities/slot-multiplier.ts +16 -0
- package/src/errors.ts +0 -2
- package/src/index-module.ts +2 -1
- package/src/managers/actions.ts +100 -102
- package/src/managers/base.ts +2 -2
- package/src/managers/construction.ts +6 -6
- package/src/managers/epochs.ts +40 -0
- package/src/managers/plot.ts +3 -3
- package/src/nft/buildImmutableData.ts +3 -0
- package/src/nft/description.ts +2 -2
- package/src/resolution/display-name.ts +10 -4
- package/src/scheduling/projection.ts +71 -23
package/lib/shipload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _wharfkit_antelope from '@wharfkit/antelope';
|
|
2
|
-
import { Blob, ABI, Struct, Name, UInt64, Checksum256, UInt32, TimePointSec, Checksum256Type, UInt32Type, NameType, UInt64Type, Action, UInt16, UInt8, Int64, TimePoint, BlockTimestamp, Bytes, Int32, UInt16Type, UInt8Type, Int64Type, TimePointType, Int32Type, Checksum512, APIClient } from '@wharfkit/antelope';
|
|
2
|
+
import { Blob, ABI, Struct, Name, Asset, UInt64, Checksum256, UInt32, TimePointSec, ExtendedAsset, Checksum256Type, UInt32Type, NameType, UInt64Type, AssetType, ExtendedAssetType, Action, UInt16, UInt8, Int64, TimePoint, BlockTimestamp, Bytes, Int32, UInt16Type, UInt8Type, Int64Type, TimePointType, Int32Type, Checksum512, APIClient } from '@wharfkit/antelope';
|
|
3
3
|
import * as _wharfkit_contract from '@wharfkit/contract';
|
|
4
4
|
import { Contract as Contract$2, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
|
|
5
5
|
import { ChainDefinition } from '@wharfkit/common';
|
|
@@ -7,15 +7,35 @@ import { ChainDefinition } from '@wharfkit/common';
|
|
|
7
7
|
declare const abiBlob$1: Blob;
|
|
8
8
|
declare const abi$1: ABI;
|
|
9
9
|
declare namespace Types$1 {
|
|
10
|
+
class balance_row extends Struct {
|
|
11
|
+
token_contract: Name;
|
|
12
|
+
balance: Asset;
|
|
13
|
+
}
|
|
10
14
|
class cleartable extends Struct {
|
|
11
15
|
table_name: Name;
|
|
12
16
|
scope?: Name;
|
|
13
17
|
max_rows?: UInt64;
|
|
14
18
|
}
|
|
19
|
+
class close extends Struct {
|
|
20
|
+
owner: Name;
|
|
21
|
+
token_contract: Name;
|
|
22
|
+
token_symbol: Asset.Symbol;
|
|
23
|
+
}
|
|
15
24
|
class company_row extends Struct {
|
|
16
25
|
account: Name;
|
|
17
26
|
name: string;
|
|
18
27
|
}
|
|
28
|
+
class debitdeposit extends Struct {
|
|
29
|
+
owner: Name;
|
|
30
|
+
token: Name;
|
|
31
|
+
locked: Asset;
|
|
32
|
+
fee_account: Name;
|
|
33
|
+
fee: Asset;
|
|
34
|
+
}
|
|
35
|
+
class depositcfg_row extends Struct {
|
|
36
|
+
token_contract: Name;
|
|
37
|
+
token_symbol: Asset.Symbol;
|
|
38
|
+
}
|
|
19
39
|
class enable extends Struct {
|
|
20
40
|
enabled: boolean;
|
|
21
41
|
}
|
|
@@ -48,10 +68,19 @@ declare namespace Types$1 {
|
|
|
48
68
|
meta: game_meta;
|
|
49
69
|
state: game_state;
|
|
50
70
|
}
|
|
71
|
+
class open extends Struct {
|
|
72
|
+
owner: Name;
|
|
73
|
+
token_contract: Name;
|
|
74
|
+
token_symbol: Asset.Symbol;
|
|
75
|
+
}
|
|
51
76
|
class setepochtime extends Struct {
|
|
52
77
|
contract: Name;
|
|
53
78
|
epochtime: UInt32;
|
|
54
79
|
}
|
|
80
|
+
class settoken extends Struct {
|
|
81
|
+
token_contract: Name;
|
|
82
|
+
token_symbol: Asset.Symbol;
|
|
83
|
+
}
|
|
55
84
|
class startgame extends Struct {
|
|
56
85
|
contract: Name;
|
|
57
86
|
config: game_config;
|
|
@@ -61,22 +90,67 @@ declare namespace Types$1 {
|
|
|
61
90
|
class state_row extends Struct {
|
|
62
91
|
enabled: boolean;
|
|
63
92
|
}
|
|
93
|
+
class unwrapcargo extends Struct {
|
|
94
|
+
game: Name;
|
|
95
|
+
owner: Name;
|
|
96
|
+
asset_id: UInt64;
|
|
97
|
+
}
|
|
98
|
+
class unwrapcust_row extends Struct {
|
|
99
|
+
asset_id: UInt64;
|
|
100
|
+
owner: Name;
|
|
101
|
+
}
|
|
102
|
+
class unwrapentity extends Struct {
|
|
103
|
+
game: Name;
|
|
104
|
+
owner: Name;
|
|
105
|
+
asset_id: UInt64;
|
|
106
|
+
}
|
|
64
107
|
class updategame extends Struct {
|
|
65
108
|
contract: Name;
|
|
66
109
|
meta: game_meta;
|
|
67
110
|
}
|
|
68
111
|
class wipe extends Struct {
|
|
69
112
|
}
|
|
113
|
+
class withdraw extends Struct {
|
|
114
|
+
owner: Name;
|
|
115
|
+
quantity: ExtendedAsset;
|
|
116
|
+
memo: string;
|
|
117
|
+
}
|
|
118
|
+
class wrapcargo extends Struct {
|
|
119
|
+
game: Name;
|
|
120
|
+
owner: Name;
|
|
121
|
+
entity_id: UInt64;
|
|
122
|
+
nexus_id: UInt64;
|
|
123
|
+
cargo_id: UInt64;
|
|
124
|
+
quantity: UInt64;
|
|
125
|
+
}
|
|
126
|
+
class wrapentity extends Struct {
|
|
127
|
+
game: Name;
|
|
128
|
+
owner: Name;
|
|
129
|
+
entity_id: UInt64;
|
|
130
|
+
nexus_id: UInt64;
|
|
131
|
+
}
|
|
132
|
+
class wrapgate_row extends Struct {
|
|
133
|
+
owner: Name;
|
|
134
|
+
last_asset_id: UInt64;
|
|
135
|
+
}
|
|
70
136
|
}
|
|
71
137
|
declare const TableMap$1: {
|
|
138
|
+
balance: typeof Types$1.balance_row;
|
|
72
139
|
company: typeof Types$1.company_row;
|
|
140
|
+
depositcfg: typeof Types$1.depositcfg_row;
|
|
73
141
|
games: typeof Types$1.game_row;
|
|
74
142
|
state: typeof Types$1.state_row;
|
|
143
|
+
unwrapcust: typeof Types$1.unwrapcust_row;
|
|
144
|
+
wrapgate: typeof Types$1.wrapgate_row;
|
|
75
145
|
};
|
|
76
146
|
interface TableTypes$1 {
|
|
147
|
+
balance: Types$1.balance_row;
|
|
77
148
|
company: Types$1.company_row;
|
|
149
|
+
depositcfg: Types$1.depositcfg_row;
|
|
78
150
|
games: Types$1.game_row;
|
|
79
151
|
state: Types$1.state_row;
|
|
152
|
+
unwrapcust: Types$1.unwrapcust_row;
|
|
153
|
+
wrapgate: Types$1.wrapgate_row;
|
|
80
154
|
}
|
|
81
155
|
type RowType$1<T> = T extends keyof TableTypes$1 ? TableTypes$1[T] : any;
|
|
82
156
|
type TableNames$1 = keyof TableTypes$1;
|
|
@@ -103,6 +177,18 @@ declare namespace ActionParams$1 {
|
|
|
103
177
|
scope?: NameType;
|
|
104
178
|
max_rows?: UInt64Type;
|
|
105
179
|
}
|
|
180
|
+
interface close {
|
|
181
|
+
owner: NameType;
|
|
182
|
+
token_contract: NameType;
|
|
183
|
+
token_symbol: Asset.SymbolType;
|
|
184
|
+
}
|
|
185
|
+
interface debitdeposit {
|
|
186
|
+
owner: NameType;
|
|
187
|
+
token: NameType;
|
|
188
|
+
locked: AssetType;
|
|
189
|
+
fee_account: NameType;
|
|
190
|
+
fee: AssetType;
|
|
191
|
+
}
|
|
106
192
|
interface enable {
|
|
107
193
|
enabled: boolean;
|
|
108
194
|
}
|
|
@@ -114,32 +200,79 @@ declare namespace ActionParams$1 {
|
|
|
114
200
|
account: NameType;
|
|
115
201
|
name: string;
|
|
116
202
|
}
|
|
203
|
+
interface open {
|
|
204
|
+
owner: NameType;
|
|
205
|
+
token_contract: NameType;
|
|
206
|
+
token_symbol: Asset.SymbolType;
|
|
207
|
+
}
|
|
117
208
|
interface setepochtime {
|
|
118
209
|
contract: NameType;
|
|
119
210
|
epochtime: UInt32Type;
|
|
120
211
|
}
|
|
212
|
+
interface settoken {
|
|
213
|
+
token_contract: NameType;
|
|
214
|
+
token_symbol: Asset.SymbolType;
|
|
215
|
+
}
|
|
121
216
|
interface startgame {
|
|
122
217
|
contract: NameType;
|
|
123
218
|
config: Type.game_config;
|
|
124
219
|
meta: Type.game_meta;
|
|
125
220
|
state: Type.game_state;
|
|
126
221
|
}
|
|
222
|
+
interface unwrapcargo {
|
|
223
|
+
game: NameType;
|
|
224
|
+
owner: NameType;
|
|
225
|
+
asset_id: UInt64Type;
|
|
226
|
+
}
|
|
227
|
+
interface unwrapentity {
|
|
228
|
+
game: NameType;
|
|
229
|
+
owner: NameType;
|
|
230
|
+
asset_id: UInt64Type;
|
|
231
|
+
}
|
|
127
232
|
interface updategame {
|
|
128
233
|
contract: NameType;
|
|
129
234
|
meta: Type.game_meta;
|
|
130
235
|
}
|
|
131
236
|
interface wipe {
|
|
132
237
|
}
|
|
238
|
+
interface withdraw {
|
|
239
|
+
owner: NameType;
|
|
240
|
+
quantity: ExtendedAssetType;
|
|
241
|
+
memo: string;
|
|
242
|
+
}
|
|
243
|
+
interface wrapcargo {
|
|
244
|
+
game: NameType;
|
|
245
|
+
owner: NameType;
|
|
246
|
+
entity_id: UInt64Type;
|
|
247
|
+
nexus_id: UInt64Type;
|
|
248
|
+
cargo_id: UInt64Type;
|
|
249
|
+
quantity: UInt64Type;
|
|
250
|
+
}
|
|
251
|
+
interface wrapentity {
|
|
252
|
+
game: NameType;
|
|
253
|
+
owner: NameType;
|
|
254
|
+
entity_id: UInt64Type;
|
|
255
|
+
nexus_id: UInt64Type;
|
|
256
|
+
}
|
|
133
257
|
}
|
|
134
258
|
interface ActionNameParams$1 {
|
|
135
259
|
cleartable: ActionParams$1.cleartable;
|
|
260
|
+
close: ActionParams$1.close;
|
|
261
|
+
debitdeposit: ActionParams$1.debitdeposit;
|
|
136
262
|
enable: ActionParams$1.enable;
|
|
137
263
|
enablegame: ActionParams$1.enablegame;
|
|
138
264
|
foundcompany: ActionParams$1.foundcompany;
|
|
265
|
+
open: ActionParams$1.open;
|
|
139
266
|
setepochtime: ActionParams$1.setepochtime;
|
|
267
|
+
settoken: ActionParams$1.settoken;
|
|
140
268
|
startgame: ActionParams$1.startgame;
|
|
269
|
+
unwrapcargo: ActionParams$1.unwrapcargo;
|
|
270
|
+
unwrapentity: ActionParams$1.unwrapentity;
|
|
141
271
|
updategame: ActionParams$1.updategame;
|
|
142
272
|
wipe: ActionParams$1.wipe;
|
|
273
|
+
withdraw: ActionParams$1.withdraw;
|
|
274
|
+
wrapcargo: ActionParams$1.wrapcargo;
|
|
275
|
+
wrapentity: ActionParams$1.wrapentity;
|
|
143
276
|
}
|
|
144
277
|
type ActionNames$1 = keyof ActionNameParams$1;
|
|
145
278
|
declare class Contract$1 extends Contract$2 {
|
|
@@ -179,6 +312,7 @@ declare namespace Types {
|
|
|
179
312
|
item_id: UInt16;
|
|
180
313
|
stats: UInt64;
|
|
181
314
|
modules: module_entry[];
|
|
315
|
+
entity_id?: UInt64;
|
|
182
316
|
}
|
|
183
317
|
class addmodule extends Struct {
|
|
184
318
|
entity_id: UInt64;
|
|
@@ -191,22 +325,22 @@ declare namespace Types {
|
|
|
191
325
|
x: Int64;
|
|
192
326
|
y: Int64;
|
|
193
327
|
}
|
|
194
|
-
class
|
|
195
|
-
|
|
196
|
-
commit: Checksum256;
|
|
328
|
+
class addoracle extends Struct {
|
|
329
|
+
oracle_id: Name;
|
|
197
330
|
}
|
|
198
331
|
class cargo_item extends Struct {
|
|
199
332
|
item_id: UInt16;
|
|
200
333
|
stats: UInt64;
|
|
201
334
|
modules: module_entry[];
|
|
202
335
|
quantity: UInt32;
|
|
336
|
+
entity_id?: UInt64;
|
|
203
337
|
}
|
|
204
338
|
class blend extends Struct {
|
|
205
339
|
id: UInt64;
|
|
206
340
|
inputs: cargo_item[];
|
|
207
341
|
}
|
|
208
342
|
class buildplot extends Struct {
|
|
209
|
-
|
|
343
|
+
builder_id: UInt64;
|
|
210
344
|
plot_id: UInt64;
|
|
211
345
|
}
|
|
212
346
|
class cancel extends Struct {
|
|
@@ -232,6 +366,7 @@ declare namespace Types {
|
|
|
232
366
|
quantity: UInt64;
|
|
233
367
|
stats: UInt64;
|
|
234
368
|
modules: module_entry[];
|
|
369
|
+
sequence_id?: UInt64;
|
|
235
370
|
}
|
|
236
371
|
class cargo_view extends Struct {
|
|
237
372
|
item_id: UInt16;
|
|
@@ -239,6 +374,7 @@ declare namespace Types {
|
|
|
239
374
|
modules: module_entry[];
|
|
240
375
|
quantity: UInt32;
|
|
241
376
|
id: UInt64;
|
|
377
|
+
entity_id?: UInt64;
|
|
242
378
|
}
|
|
243
379
|
class coordinates extends Struct {
|
|
244
380
|
x: Int64;
|
|
@@ -246,15 +382,10 @@ declare namespace Types {
|
|
|
246
382
|
z?: UInt16;
|
|
247
383
|
}
|
|
248
384
|
class claimplot extends Struct {
|
|
249
|
-
|
|
385
|
+
builder_id: UInt64;
|
|
250
386
|
target_item_id: UInt16;
|
|
251
387
|
coords: coordinates;
|
|
252
388
|
}
|
|
253
|
-
class claimstarter extends Struct {
|
|
254
|
-
account: Name;
|
|
255
|
-
x: Int64;
|
|
256
|
-
y: Int64;
|
|
257
|
-
}
|
|
258
389
|
class cleanrsvp extends Struct {
|
|
259
390
|
epoch: UInt64;
|
|
260
391
|
max_rows: UInt64;
|
|
@@ -265,6 +396,14 @@ declare namespace Types {
|
|
|
265
396
|
max_rows?: UInt64;
|
|
266
397
|
}
|
|
267
398
|
class commit extends Struct {
|
|
399
|
+
oracle_id: Name;
|
|
400
|
+
epoch: UInt64;
|
|
401
|
+
commit: Checksum256;
|
|
402
|
+
}
|
|
403
|
+
class commit_row extends Struct {
|
|
404
|
+
id: UInt64;
|
|
405
|
+
epoch: UInt64;
|
|
406
|
+
oracle_id: Name;
|
|
268
407
|
commit: Checksum256;
|
|
269
408
|
}
|
|
270
409
|
class entity_defaults extends Struct {
|
|
@@ -303,11 +442,6 @@ declare namespace Types {
|
|
|
303
442
|
id: UInt64;
|
|
304
443
|
ref: cargo_ref;
|
|
305
444
|
}
|
|
306
|
-
class deploynft extends Struct {
|
|
307
|
-
owner: Name;
|
|
308
|
-
asset_id: UInt64;
|
|
309
|
-
target_nexus_id: UInt64;
|
|
310
|
-
}
|
|
311
445
|
class descentity extends Struct {
|
|
312
446
|
item_id: UInt16;
|
|
313
447
|
hull_stats: UInt64;
|
|
@@ -325,28 +459,28 @@ declare namespace Types {
|
|
|
325
459
|
coordinates: coordinates;
|
|
326
460
|
energy: UInt16;
|
|
327
461
|
}
|
|
328
|
-
class loader_stats extends Struct {
|
|
329
|
-
mass: UInt32;
|
|
330
|
-
thrust: UInt16;
|
|
331
|
-
quantity: UInt8;
|
|
332
|
-
}
|
|
333
462
|
class movement_stats extends Struct {
|
|
334
463
|
thrust: UInt32;
|
|
335
464
|
drain: UInt16;
|
|
336
465
|
}
|
|
466
|
+
class warp_stats extends Struct {
|
|
467
|
+
range: UInt32;
|
|
468
|
+
}
|
|
337
469
|
class gatherer_stats extends Struct {
|
|
338
470
|
yield: UInt16;
|
|
339
471
|
drain: UInt16;
|
|
340
472
|
depth: UInt16;
|
|
341
473
|
}
|
|
474
|
+
class loader_stats extends Struct {
|
|
475
|
+
mass: UInt32;
|
|
476
|
+
thrust: UInt16;
|
|
477
|
+
quantity: UInt8;
|
|
478
|
+
}
|
|
342
479
|
class hauler_stats extends Struct {
|
|
343
480
|
capacity: UInt8;
|
|
344
481
|
efficiency: UInt16;
|
|
345
482
|
drain: UInt16;
|
|
346
483
|
}
|
|
347
|
-
class warp_stats extends Struct {
|
|
348
|
-
range: UInt32;
|
|
349
|
-
}
|
|
350
484
|
class task extends Struct {
|
|
351
485
|
type: UInt8;
|
|
352
486
|
duration: UInt32;
|
|
@@ -370,16 +504,16 @@ declare namespace Types {
|
|
|
370
504
|
item_id: UInt16;
|
|
371
505
|
cargomass: UInt32;
|
|
372
506
|
cargo: cargo_view[];
|
|
373
|
-
loaders?: loader_stats;
|
|
374
507
|
modules: module_entry[];
|
|
375
508
|
energy?: UInt16;
|
|
376
509
|
hullmass?: UInt32;
|
|
510
|
+
capacity?: UInt32;
|
|
377
511
|
engines?: movement_stats;
|
|
512
|
+
warp?: warp_stats;
|
|
378
513
|
generator?: energy_stats;
|
|
379
|
-
capacity?: UInt32;
|
|
380
514
|
gatherer?: gatherer_stats;
|
|
515
|
+
loaders?: loader_stats;
|
|
381
516
|
hauler?: hauler_stats;
|
|
382
|
-
warp?: warp_stats;
|
|
383
517
|
crafter?: crafter_stats;
|
|
384
518
|
is_idle: boolean;
|
|
385
519
|
current_task?: task;
|
|
@@ -404,23 +538,17 @@ declare namespace Types {
|
|
|
404
538
|
id: UInt64;
|
|
405
539
|
owner: Name;
|
|
406
540
|
kind: Name;
|
|
541
|
+
item_id: UInt16;
|
|
407
542
|
name: string;
|
|
408
543
|
stats: UInt64;
|
|
409
544
|
coordinates: coordinates;
|
|
410
|
-
hullmass?: UInt32;
|
|
411
|
-
capacity?: UInt32;
|
|
412
545
|
energy?: UInt16;
|
|
413
546
|
cargomass: UInt32;
|
|
414
|
-
engines?: movement_stats;
|
|
415
|
-
generator?: energy_stats;
|
|
416
|
-
loaders?: loader_stats;
|
|
417
|
-
gatherer?: gatherer_stats;
|
|
418
|
-
warp?: warp_stats;
|
|
419
|
-
crafter?: crafter_stats;
|
|
420
|
-
hauler?: hauler_stats;
|
|
421
547
|
modules: module_entry[];
|
|
422
548
|
schedule?: schedule;
|
|
423
|
-
|
|
549
|
+
}
|
|
550
|
+
class entity_seq_row extends Struct {
|
|
551
|
+
next_id: UInt64;
|
|
424
552
|
}
|
|
425
553
|
class entity_summary extends Struct {
|
|
426
554
|
type: Name;
|
|
@@ -449,9 +577,18 @@ declare namespace Types {
|
|
|
449
577
|
class enum_result extends Struct {
|
|
450
578
|
members: enum_member[];
|
|
451
579
|
}
|
|
580
|
+
class epoch_row extends Struct {
|
|
581
|
+
epoch: UInt64;
|
|
582
|
+
oracle_ids: Name[];
|
|
583
|
+
threshold: UInt8;
|
|
584
|
+
seed: Checksum256;
|
|
585
|
+
}
|
|
452
586
|
class fixcargomass extends Struct {
|
|
453
587
|
entity_id: UInt64;
|
|
454
588
|
}
|
|
589
|
+
class forcereveal extends Struct {
|
|
590
|
+
epoch: UInt64;
|
|
591
|
+
}
|
|
455
592
|
class gather extends Struct {
|
|
456
593
|
source_id: UInt64;
|
|
457
594
|
destination_id: UInt64;
|
|
@@ -460,6 +597,10 @@ declare namespace Types {
|
|
|
460
597
|
}
|
|
461
598
|
class getconfig extends Struct {
|
|
462
599
|
}
|
|
600
|
+
class getdeposit extends Struct {
|
|
601
|
+
owner: Name;
|
|
602
|
+
asset_id: UInt64;
|
|
603
|
+
}
|
|
463
604
|
class geteligible extends Struct {
|
|
464
605
|
coords: coordinates;
|
|
465
606
|
stratum: UInt16;
|
|
@@ -479,6 +620,9 @@ declare namespace Types {
|
|
|
479
620
|
}
|
|
480
621
|
class getitems extends Struct {
|
|
481
622
|
}
|
|
623
|
+
class getitemtype extends Struct {
|
|
624
|
+
item_id: UInt16;
|
|
625
|
+
}
|
|
482
626
|
class getitemtypes extends Struct {
|
|
483
627
|
}
|
|
484
628
|
class getkindmeta extends Struct {
|
|
@@ -499,6 +643,8 @@ declare namespace Types {
|
|
|
499
643
|
entity_id: UInt64;
|
|
500
644
|
recharge: boolean;
|
|
501
645
|
}
|
|
646
|
+
class getnftbase extends Struct {
|
|
647
|
+
}
|
|
502
648
|
class getnftinfo extends Struct {
|
|
503
649
|
}
|
|
504
650
|
class getplayer extends Struct {
|
|
@@ -572,16 +718,11 @@ declare namespace Types {
|
|
|
572
718
|
class state_row extends Struct {
|
|
573
719
|
enabled: boolean;
|
|
574
720
|
epoch: UInt32;
|
|
575
|
-
salt: UInt64;
|
|
576
721
|
seed: Checksum256;
|
|
577
|
-
commit: Checksum256;
|
|
578
722
|
}
|
|
579
723
|
class importstate extends Struct {
|
|
580
724
|
row: state_row;
|
|
581
725
|
}
|
|
582
|
-
class initialize extends Struct {
|
|
583
|
-
seed: Checksum256;
|
|
584
|
-
}
|
|
585
726
|
class item_id_pair extends Struct {
|
|
586
727
|
id: UInt16;
|
|
587
728
|
name: string;
|
|
@@ -591,8 +732,6 @@ declare namespace Types {
|
|
|
591
732
|
}
|
|
592
733
|
class recipe_input extends Struct {
|
|
593
734
|
item_id: UInt16;
|
|
594
|
-
category: UInt8;
|
|
595
|
-
tier: UInt8;
|
|
596
735
|
quantity: UInt32;
|
|
597
736
|
}
|
|
598
737
|
class stat_source extends Struct {
|
|
@@ -681,8 +820,14 @@ declare namespace Types {
|
|
|
681
820
|
max_energy: UInt16;
|
|
682
821
|
systems: nearby_system[];
|
|
683
822
|
}
|
|
823
|
+
class nft_cargo_item extends Struct {
|
|
824
|
+
item_id: UInt16;
|
|
825
|
+
stats: UInt64;
|
|
826
|
+
modules: module_entry[];
|
|
827
|
+
quantity: UInt32;
|
|
828
|
+
}
|
|
684
829
|
class nft_item_payload extends Struct {
|
|
685
|
-
item:
|
|
830
|
+
item: nft_cargo_item;
|
|
686
831
|
location?: coordinates;
|
|
687
832
|
}
|
|
688
833
|
class schema_field extends Struct {
|
|
@@ -725,6 +870,22 @@ declare namespace Types {
|
|
|
725
870
|
class notify extends Struct {
|
|
726
871
|
event: task_event;
|
|
727
872
|
}
|
|
873
|
+
class oracle_config_row extends Struct {
|
|
874
|
+
threshold: UInt8;
|
|
875
|
+
}
|
|
876
|
+
class oracle_row extends Struct {
|
|
877
|
+
id: Name;
|
|
878
|
+
}
|
|
879
|
+
class placecargo extends Struct {
|
|
880
|
+
owner: Name;
|
|
881
|
+
host_id: UInt64;
|
|
882
|
+
asset_id: UInt64;
|
|
883
|
+
}
|
|
884
|
+
class placeentity extends Struct {
|
|
885
|
+
owner: Name;
|
|
886
|
+
asset_id: UInt64;
|
|
887
|
+
target_nexus_id: UInt64;
|
|
888
|
+
}
|
|
728
889
|
class player_info extends Struct {
|
|
729
890
|
owner: Name;
|
|
730
891
|
is_player: boolean;
|
|
@@ -740,13 +901,13 @@ declare namespace Types {
|
|
|
740
901
|
cargomass: UInt32;
|
|
741
902
|
cargo: cargo_view[];
|
|
742
903
|
hullmass?: UInt32;
|
|
904
|
+
capacity?: UInt32;
|
|
743
905
|
engines?: movement_stats;
|
|
744
|
-
|
|
906
|
+
warp?: warp_stats;
|
|
745
907
|
generator?: energy_stats;
|
|
746
|
-
capacity?: UInt32;
|
|
747
908
|
gatherer?: gatherer_stats;
|
|
909
|
+
loaders?: loader_stats;
|
|
748
910
|
hauler?: hauler_stats;
|
|
749
|
-
warp?: warp_stats;
|
|
750
911
|
crafter?: crafter_stats;
|
|
751
912
|
}
|
|
752
913
|
class recharge extends Struct {
|
|
@@ -755,6 +916,9 @@ declare namespace Types {
|
|
|
755
916
|
class refrshentity extends Struct {
|
|
756
917
|
entity_id: UInt64;
|
|
757
918
|
}
|
|
919
|
+
class removeoracle extends Struct {
|
|
920
|
+
oracle_id: Name;
|
|
921
|
+
}
|
|
758
922
|
class resolve extends Struct {
|
|
759
923
|
id: UInt64;
|
|
760
924
|
count?: UInt64;
|
|
@@ -781,6 +945,17 @@ declare namespace Types {
|
|
|
781
945
|
class resources_result extends Struct {
|
|
782
946
|
resources: resource_info[];
|
|
783
947
|
}
|
|
948
|
+
class reveal extends Struct {
|
|
949
|
+
oracle_id: Name;
|
|
950
|
+
epoch: UInt64;
|
|
951
|
+
reveal: Checksum256;
|
|
952
|
+
}
|
|
953
|
+
class reveal_row extends Struct {
|
|
954
|
+
id: UInt64;
|
|
955
|
+
epoch: UInt64;
|
|
956
|
+
oracle_id: Name;
|
|
957
|
+
reveal: Checksum256;
|
|
958
|
+
}
|
|
784
959
|
class rmmodule extends Struct {
|
|
785
960
|
entity_id: UInt64;
|
|
786
961
|
module_index: UInt8;
|
|
@@ -789,16 +964,34 @@ declare namespace Types {
|
|
|
789
964
|
class rmnftcfg extends Struct {
|
|
790
965
|
item_id: UInt16;
|
|
791
966
|
}
|
|
792
|
-
class salt extends Struct {
|
|
793
|
-
salt: UInt64;
|
|
794
|
-
}
|
|
795
967
|
class setnftcfg extends Struct {
|
|
796
968
|
item_id: UInt16;
|
|
797
969
|
template_id: Int32;
|
|
798
970
|
schema_name: Name;
|
|
799
971
|
}
|
|
800
|
-
class
|
|
801
|
-
|
|
972
|
+
class setthreshold extends Struct {
|
|
973
|
+
threshold: UInt8;
|
|
974
|
+
}
|
|
975
|
+
class setwrapcost extends Struct {
|
|
976
|
+
item_type: UInt8;
|
|
977
|
+
tier: UInt8;
|
|
978
|
+
amount: UInt64;
|
|
979
|
+
}
|
|
980
|
+
class setwrapfee extends Struct {
|
|
981
|
+
fee_pct: UInt16;
|
|
982
|
+
fee_account: Name;
|
|
983
|
+
}
|
|
984
|
+
class stowcargo extends Struct {
|
|
985
|
+
owner: Name;
|
|
986
|
+
entity_id: UInt64;
|
|
987
|
+
nexus_id: UInt64;
|
|
988
|
+
cargo_id: UInt64;
|
|
989
|
+
quantity: UInt64;
|
|
990
|
+
}
|
|
991
|
+
class stowentity extends Struct {
|
|
992
|
+
owner: Name;
|
|
993
|
+
entity_id: UInt64;
|
|
994
|
+
nexus_id: UInt64;
|
|
802
995
|
}
|
|
803
996
|
class stratum_info extends Struct {
|
|
804
997
|
item_id: UInt16;
|
|
@@ -841,11 +1034,6 @@ declare namespace Types {
|
|
|
841
1034
|
host_id: UInt64;
|
|
842
1035
|
target_id: UInt64;
|
|
843
1036
|
}
|
|
844
|
-
class unwrapnft extends Struct {
|
|
845
|
-
owner: Name;
|
|
846
|
-
asset_id: UInt64;
|
|
847
|
-
host_id: UInt64;
|
|
848
|
-
}
|
|
849
1037
|
class warp extends Struct {
|
|
850
1038
|
id: UInt64;
|
|
851
1039
|
x: Int64;
|
|
@@ -853,37 +1041,51 @@ declare namespace Types {
|
|
|
853
1041
|
}
|
|
854
1042
|
class wipe extends Struct {
|
|
855
1043
|
}
|
|
856
|
-
class
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
nexus_id: UInt64;
|
|
860
|
-
cargo_id: UInt64;
|
|
861
|
-
quantity: UInt64;
|
|
1044
|
+
class wrapconfig_row extends Struct {
|
|
1045
|
+
fee_pct: UInt16;
|
|
1046
|
+
fee_account: Name;
|
|
862
1047
|
}
|
|
863
|
-
class
|
|
864
|
-
|
|
865
|
-
|
|
1048
|
+
class wrapcost_row extends Struct {
|
|
1049
|
+
item_type: UInt8;
|
|
1050
|
+
tier: UInt8;
|
|
1051
|
+
amount: UInt64;
|
|
866
1052
|
}
|
|
867
1053
|
}
|
|
868
1054
|
declare const TableMap: {
|
|
869
1055
|
cargo: typeof Types.cargo_row;
|
|
1056
|
+
commit: typeof Types.commit_row;
|
|
870
1057
|
entity: typeof Types.entity_row;
|
|
871
1058
|
entitygroup: typeof Types.entitygroup_row;
|
|
1059
|
+
entityseq: typeof Types.entity_seq_row;
|
|
1060
|
+
epoch: typeof Types.epoch_row;
|
|
872
1061
|
nftconfig: typeof Types.nftconfig_row;
|
|
1062
|
+
oraclecfg: typeof Types.oracle_config_row;
|
|
1063
|
+
oracles: typeof Types.oracle_row;
|
|
873
1064
|
player: typeof Types.player_row;
|
|
874
1065
|
reserve: typeof Types.reserve_row;
|
|
1066
|
+
reveal: typeof Types.reveal_row;
|
|
875
1067
|
state: typeof Types.state_row;
|
|
876
1068
|
types: typeof Types.types_row;
|
|
1069
|
+
wrapconfig: typeof Types.wrapconfig_row;
|
|
1070
|
+
wrapcost: typeof Types.wrapcost_row;
|
|
877
1071
|
};
|
|
878
1072
|
interface TableTypes {
|
|
879
1073
|
cargo: Types.cargo_row;
|
|
1074
|
+
commit: Types.commit_row;
|
|
880
1075
|
entity: Types.entity_row;
|
|
881
1076
|
entitygroup: Types.entitygroup_row;
|
|
1077
|
+
entityseq: Types.entity_seq_row;
|
|
1078
|
+
epoch: Types.epoch_row;
|
|
882
1079
|
nftconfig: Types.nftconfig_row;
|
|
1080
|
+
oraclecfg: Types.oracle_config_row;
|
|
1081
|
+
oracles: Types.oracle_row;
|
|
883
1082
|
player: Types.player_row;
|
|
884
1083
|
reserve: Types.reserve_row;
|
|
1084
|
+
reveal: Types.reveal_row;
|
|
885
1085
|
state: Types.state_row;
|
|
886
1086
|
types: Types.types_row;
|
|
1087
|
+
wrapconfig: Types.wrapconfig_row;
|
|
1088
|
+
wrapcost: Types.wrapcost_row;
|
|
887
1089
|
}
|
|
888
1090
|
type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any;
|
|
889
1091
|
type TableNames = keyof TableTypes;
|
|
@@ -893,6 +1095,7 @@ declare namespace ActionParams {
|
|
|
893
1095
|
item_id: UInt16Type;
|
|
894
1096
|
stats: UInt64Type;
|
|
895
1097
|
modules: Type.module_entry[];
|
|
1098
|
+
entity_id?: UInt64Type;
|
|
896
1099
|
}
|
|
897
1100
|
interface module_entry {
|
|
898
1101
|
type: UInt8Type;
|
|
@@ -907,6 +1110,7 @@ declare namespace ActionParams {
|
|
|
907
1110
|
stats: UInt64Type;
|
|
908
1111
|
modules: Type.module_entry[];
|
|
909
1112
|
quantity: UInt32Type;
|
|
1113
|
+
entity_id?: UInt64Type;
|
|
910
1114
|
}
|
|
911
1115
|
interface coordinates {
|
|
912
1116
|
x: Int64Type;
|
|
@@ -940,58 +1144,20 @@ declare namespace ActionParams {
|
|
|
940
1144
|
quantity: UInt64Type;
|
|
941
1145
|
stats: UInt64Type;
|
|
942
1146
|
modules: Type.module_entry[];
|
|
1147
|
+
sequence_id?: UInt64Type;
|
|
943
1148
|
}
|
|
944
1149
|
interface entity_row {
|
|
945
1150
|
id: UInt64Type;
|
|
946
1151
|
owner: NameType;
|
|
947
1152
|
kind: NameType;
|
|
1153
|
+
item_id: UInt16Type;
|
|
948
1154
|
name: string;
|
|
949
1155
|
stats: UInt64Type;
|
|
950
1156
|
coordinates: Type.coordinates;
|
|
951
|
-
hullmass?: UInt32Type;
|
|
952
|
-
capacity?: UInt32Type;
|
|
953
1157
|
energy?: UInt16Type;
|
|
954
1158
|
cargomass: UInt32Type;
|
|
955
|
-
engines?: Type.movement_stats;
|
|
956
|
-
generator?: Type.energy_stats;
|
|
957
|
-
loaders?: Type.loader_stats;
|
|
958
|
-
gatherer?: Type.gatherer_stats;
|
|
959
|
-
warp?: Type.warp_stats;
|
|
960
|
-
crafter?: Type.crafter_stats;
|
|
961
|
-
hauler?: Type.hauler_stats;
|
|
962
1159
|
modules: Type.module_entry[];
|
|
963
1160
|
schedule?: Type.schedule;
|
|
964
|
-
item_id: UInt16Type;
|
|
965
|
-
}
|
|
966
|
-
interface movement_stats {
|
|
967
|
-
thrust: UInt32Type;
|
|
968
|
-
drain: UInt16Type;
|
|
969
|
-
}
|
|
970
|
-
interface energy_stats {
|
|
971
|
-
capacity: UInt16Type;
|
|
972
|
-
recharge: UInt16Type;
|
|
973
|
-
}
|
|
974
|
-
interface loader_stats {
|
|
975
|
-
mass: UInt32Type;
|
|
976
|
-
thrust: UInt16Type;
|
|
977
|
-
quantity: UInt8Type;
|
|
978
|
-
}
|
|
979
|
-
interface gatherer_stats {
|
|
980
|
-
yield: UInt16Type;
|
|
981
|
-
drain: UInt16Type;
|
|
982
|
-
depth: UInt16Type;
|
|
983
|
-
}
|
|
984
|
-
interface warp_stats {
|
|
985
|
-
range: UInt32Type;
|
|
986
|
-
}
|
|
987
|
-
interface crafter_stats {
|
|
988
|
-
speed: UInt16Type;
|
|
989
|
-
drain: UInt16Type;
|
|
990
|
-
}
|
|
991
|
-
interface hauler_stats {
|
|
992
|
-
capacity: UInt8Type;
|
|
993
|
-
efficiency: UInt16Type;
|
|
994
|
-
drain: UInt16Type;
|
|
995
1161
|
}
|
|
996
1162
|
interface schedule {
|
|
997
1163
|
started: TimePointType;
|
|
@@ -1021,9 +1187,7 @@ declare namespace ActionParams {
|
|
|
1021
1187
|
interface state_row {
|
|
1022
1188
|
enabled: boolean;
|
|
1023
1189
|
epoch: UInt32Type;
|
|
1024
|
-
salt: UInt64Type;
|
|
1025
1190
|
seed: Checksum256Type;
|
|
1026
|
-
commit: Checksum256Type;
|
|
1027
1191
|
}
|
|
1028
1192
|
interface task_event {
|
|
1029
1193
|
event_type: UInt8Type;
|
|
@@ -1048,16 +1212,15 @@ declare namespace ActionParams {
|
|
|
1048
1212
|
x: Int64Type;
|
|
1049
1213
|
y: Int64Type;
|
|
1050
1214
|
}
|
|
1051
|
-
interface
|
|
1052
|
-
|
|
1053
|
-
commit: Checksum256Type;
|
|
1215
|
+
interface addoracle {
|
|
1216
|
+
oracle_id: NameType;
|
|
1054
1217
|
}
|
|
1055
1218
|
interface blend {
|
|
1056
1219
|
id: UInt64Type;
|
|
1057
1220
|
inputs: Type.cargo_item[];
|
|
1058
1221
|
}
|
|
1059
1222
|
interface buildplot {
|
|
1060
|
-
|
|
1223
|
+
builder_id: UInt64Type;
|
|
1061
1224
|
plot_id: UInt64Type;
|
|
1062
1225
|
}
|
|
1063
1226
|
interface cancel {
|
|
@@ -1065,15 +1228,10 @@ declare namespace ActionParams {
|
|
|
1065
1228
|
count: UInt64Type;
|
|
1066
1229
|
}
|
|
1067
1230
|
interface claimplot {
|
|
1068
|
-
|
|
1231
|
+
builder_id: UInt64Type;
|
|
1069
1232
|
target_item_id: UInt16Type;
|
|
1070
1233
|
coords: Type.coordinates;
|
|
1071
1234
|
}
|
|
1072
|
-
interface claimstarter {
|
|
1073
|
-
account: NameType;
|
|
1074
|
-
x: Int64Type;
|
|
1075
|
-
y: Int64Type;
|
|
1076
|
-
}
|
|
1077
1235
|
interface cleanrsvp {
|
|
1078
1236
|
epoch: UInt64Type;
|
|
1079
1237
|
max_rows: UInt64Type;
|
|
@@ -1084,6 +1242,8 @@ declare namespace ActionParams {
|
|
|
1084
1242
|
max_rows?: UInt64Type;
|
|
1085
1243
|
}
|
|
1086
1244
|
interface commit {
|
|
1245
|
+
oracle_id: NameType;
|
|
1246
|
+
epoch: UInt64Type;
|
|
1087
1247
|
commit: Checksum256Type;
|
|
1088
1248
|
}
|
|
1089
1249
|
interface configlog {
|
|
@@ -1102,11 +1262,6 @@ declare namespace ActionParams {
|
|
|
1102
1262
|
id: UInt64Type;
|
|
1103
1263
|
ref: Type.cargo_ref;
|
|
1104
1264
|
}
|
|
1105
|
-
interface deploynft {
|
|
1106
|
-
owner: NameType;
|
|
1107
|
-
asset_id: UInt64Type;
|
|
1108
|
-
target_nexus_id: UInt64Type;
|
|
1109
|
-
}
|
|
1110
1265
|
interface descentity {
|
|
1111
1266
|
item_id: UInt16Type;
|
|
1112
1267
|
hull_stats: UInt64Type;
|
|
@@ -1119,6 +1274,9 @@ declare namespace ActionParams {
|
|
|
1119
1274
|
interface fixcargomass {
|
|
1120
1275
|
entity_id: UInt64Type;
|
|
1121
1276
|
}
|
|
1277
|
+
interface forcereveal {
|
|
1278
|
+
epoch: UInt64Type;
|
|
1279
|
+
}
|
|
1122
1280
|
interface gather {
|
|
1123
1281
|
source_id: UInt64Type;
|
|
1124
1282
|
destination_id: UInt64Type;
|
|
@@ -1127,6 +1285,10 @@ declare namespace ActionParams {
|
|
|
1127
1285
|
}
|
|
1128
1286
|
interface getconfig {
|
|
1129
1287
|
}
|
|
1288
|
+
interface getdeposit {
|
|
1289
|
+
owner: NameType;
|
|
1290
|
+
asset_id: UInt64Type;
|
|
1291
|
+
}
|
|
1130
1292
|
interface geteligible {
|
|
1131
1293
|
coords: Type.coordinates;
|
|
1132
1294
|
stratum: UInt16Type;
|
|
@@ -1146,6 +1308,9 @@ declare namespace ActionParams {
|
|
|
1146
1308
|
}
|
|
1147
1309
|
interface getitems {
|
|
1148
1310
|
}
|
|
1311
|
+
interface getitemtype {
|
|
1312
|
+
item_id: UInt16Type;
|
|
1313
|
+
}
|
|
1149
1314
|
interface getitemtypes {
|
|
1150
1315
|
}
|
|
1151
1316
|
interface getkindmeta {
|
|
@@ -1166,6 +1331,8 @@ declare namespace ActionParams {
|
|
|
1166
1331
|
entity_id: UInt64Type;
|
|
1167
1332
|
recharge: boolean;
|
|
1168
1333
|
}
|
|
1334
|
+
interface getnftbase {
|
|
1335
|
+
}
|
|
1169
1336
|
interface getnftinfo {
|
|
1170
1337
|
}
|
|
1171
1338
|
interface getplayer {
|
|
@@ -1232,9 +1399,6 @@ declare namespace ActionParams {
|
|
|
1232
1399
|
interface importstate {
|
|
1233
1400
|
row: Type.state_row;
|
|
1234
1401
|
}
|
|
1235
|
-
interface initialize {
|
|
1236
|
-
seed: Checksum256Type;
|
|
1237
|
-
}
|
|
1238
1402
|
interface join {
|
|
1239
1403
|
account: NameType;
|
|
1240
1404
|
}
|
|
@@ -1245,16 +1409,34 @@ declare namespace ActionParams {
|
|
|
1245
1409
|
interface notify {
|
|
1246
1410
|
event: Type.task_event;
|
|
1247
1411
|
}
|
|
1412
|
+
interface placecargo {
|
|
1413
|
+
owner: NameType;
|
|
1414
|
+
host_id: UInt64Type;
|
|
1415
|
+
asset_id: UInt64Type;
|
|
1416
|
+
}
|
|
1417
|
+
interface placeentity {
|
|
1418
|
+
owner: NameType;
|
|
1419
|
+
asset_id: UInt64Type;
|
|
1420
|
+
target_nexus_id: UInt64Type;
|
|
1421
|
+
}
|
|
1248
1422
|
interface recharge {
|
|
1249
1423
|
id: UInt64Type;
|
|
1250
1424
|
}
|
|
1251
1425
|
interface refrshentity {
|
|
1252
1426
|
entity_id: UInt64Type;
|
|
1253
1427
|
}
|
|
1428
|
+
interface removeoracle {
|
|
1429
|
+
oracle_id: NameType;
|
|
1430
|
+
}
|
|
1254
1431
|
interface resolve {
|
|
1255
1432
|
id: UInt64Type;
|
|
1256
1433
|
count?: UInt64Type;
|
|
1257
1434
|
}
|
|
1435
|
+
interface reveal {
|
|
1436
|
+
oracle_id: NameType;
|
|
1437
|
+
epoch: UInt64Type;
|
|
1438
|
+
reveal: Checksum256Type;
|
|
1439
|
+
}
|
|
1258
1440
|
interface rmmodule {
|
|
1259
1441
|
entity_id: UInt64Type;
|
|
1260
1442
|
module_index: UInt8Type;
|
|
@@ -1263,16 +1445,34 @@ declare namespace ActionParams {
|
|
|
1263
1445
|
interface rmnftcfg {
|
|
1264
1446
|
item_id: UInt16Type;
|
|
1265
1447
|
}
|
|
1266
|
-
interface salt {
|
|
1267
|
-
salt: UInt64Type;
|
|
1268
|
-
}
|
|
1269
1448
|
interface setnftcfg {
|
|
1270
1449
|
item_id: UInt16Type;
|
|
1271
1450
|
template_id: Int32Type;
|
|
1272
1451
|
schema_name: NameType;
|
|
1273
1452
|
}
|
|
1274
|
-
interface
|
|
1275
|
-
|
|
1453
|
+
interface setthreshold {
|
|
1454
|
+
threshold: UInt8Type;
|
|
1455
|
+
}
|
|
1456
|
+
interface setwrapcost {
|
|
1457
|
+
item_type: UInt8Type;
|
|
1458
|
+
tier: UInt8Type;
|
|
1459
|
+
amount: UInt64Type;
|
|
1460
|
+
}
|
|
1461
|
+
interface setwrapfee {
|
|
1462
|
+
fee_pct: UInt16Type;
|
|
1463
|
+
fee_account: NameType;
|
|
1464
|
+
}
|
|
1465
|
+
interface stowcargo {
|
|
1466
|
+
owner: NameType;
|
|
1467
|
+
entity_id: UInt64Type;
|
|
1468
|
+
nexus_id: UInt64Type;
|
|
1469
|
+
cargo_id: UInt64Type;
|
|
1470
|
+
quantity: UInt64Type;
|
|
1471
|
+
}
|
|
1472
|
+
interface stowentity {
|
|
1473
|
+
owner: NameType;
|
|
1474
|
+
entity_id: UInt64Type;
|
|
1475
|
+
nexus_id: UInt64Type;
|
|
1276
1476
|
}
|
|
1277
1477
|
interface transfer {
|
|
1278
1478
|
source_id: UInt64Type;
|
|
@@ -1289,11 +1489,6 @@ declare namespace ActionParams {
|
|
|
1289
1489
|
host_id: UInt64Type;
|
|
1290
1490
|
target_id: UInt64Type;
|
|
1291
1491
|
}
|
|
1292
|
-
interface unwrapnft {
|
|
1293
|
-
owner: NameType;
|
|
1294
|
-
asset_id: UInt64Type;
|
|
1295
|
-
host_id: UInt64Type;
|
|
1296
|
-
}
|
|
1297
1492
|
interface warp {
|
|
1298
1493
|
id: UInt64Type;
|
|
1299
1494
|
x: Int64Type;
|
|
@@ -1301,27 +1496,15 @@ declare namespace ActionParams {
|
|
|
1301
1496
|
}
|
|
1302
1497
|
interface wipe {
|
|
1303
1498
|
}
|
|
1304
|
-
interface wrap {
|
|
1305
|
-
owner: NameType;
|
|
1306
|
-
entity_id: UInt64Type;
|
|
1307
|
-
nexus_id: UInt64Type;
|
|
1308
|
-
cargo_id: UInt64Type;
|
|
1309
|
-
quantity: UInt64Type;
|
|
1310
|
-
}
|
|
1311
|
-
interface wrapentity {
|
|
1312
|
-
entity_id: UInt64Type;
|
|
1313
|
-
nexus_id: UInt64Type;
|
|
1314
|
-
}
|
|
1315
1499
|
}
|
|
1316
1500
|
interface ActionNameParams {
|
|
1317
1501
|
addmodule: ActionParams.addmodule;
|
|
1318
1502
|
addnexus: ActionParams.addnexus;
|
|
1319
|
-
|
|
1503
|
+
addoracle: ActionParams.addoracle;
|
|
1320
1504
|
blend: ActionParams.blend;
|
|
1321
1505
|
buildplot: ActionParams.buildplot;
|
|
1322
1506
|
cancel: ActionParams.cancel;
|
|
1323
1507
|
claimplot: ActionParams.claimplot;
|
|
1324
|
-
claimstarter: ActionParams.claimstarter;
|
|
1325
1508
|
cleanrsvp: ActionParams.cleanrsvp;
|
|
1326
1509
|
cleartable: ActionParams.cleartable;
|
|
1327
1510
|
commit: ActionParams.commit;
|
|
@@ -1329,12 +1512,13 @@ interface ActionNameParams {
|
|
|
1329
1512
|
craft: ActionParams.craft;
|
|
1330
1513
|
demolish: ActionParams.demolish;
|
|
1331
1514
|
deploy: ActionParams.deploy;
|
|
1332
|
-
deploynft: ActionParams.deploynft;
|
|
1333
1515
|
descentity: ActionParams.descentity;
|
|
1334
1516
|
enable: ActionParams.enable;
|
|
1335
1517
|
fixcargomass: ActionParams.fixcargomass;
|
|
1518
|
+
forcereveal: ActionParams.forcereveal;
|
|
1336
1519
|
gather: ActionParams.gather;
|
|
1337
1520
|
getconfig: ActionParams.getconfig;
|
|
1521
|
+
getdeposit: ActionParams.getdeposit;
|
|
1338
1522
|
geteligible: ActionParams.geteligible;
|
|
1339
1523
|
getentcls: ActionParams.getentcls;
|
|
1340
1524
|
getentities: ActionParams.getentities;
|
|
@@ -1342,6 +1526,7 @@ interface ActionNameParams {
|
|
|
1342
1526
|
getitemdata: ActionParams.getitemdata;
|
|
1343
1527
|
getitemids: ActionParams.getitemids;
|
|
1344
1528
|
getitems: ActionParams.getitems;
|
|
1529
|
+
getitemtype: ActionParams.getitemtype;
|
|
1345
1530
|
getitemtypes: ActionParams.getitemtypes;
|
|
1346
1531
|
getkindmeta: ActionParams.getkindmeta;
|
|
1347
1532
|
getlocation: ActionParams.getlocation;
|
|
@@ -1349,6 +1534,7 @@ interface ActionNameParams {
|
|
|
1349
1534
|
getmodtypes: ActionParams.getmodtypes;
|
|
1350
1535
|
getmodules: ActionParams.getmodules;
|
|
1351
1536
|
getnearby: ActionParams.getnearby;
|
|
1537
|
+
getnftbase: ActionParams.getnftbase;
|
|
1352
1538
|
getnftinfo: ActionParams.getnftinfo;
|
|
1353
1539
|
getplayer: ActionParams.getplayer;
|
|
1354
1540
|
getprojstate: ActionParams.getprojstate;
|
|
@@ -1369,26 +1555,29 @@ interface ActionNameParams {
|
|
|
1369
1555
|
importplayer: ActionParams.importplayer;
|
|
1370
1556
|
importreserve: ActionParams.importreserve;
|
|
1371
1557
|
importstate: ActionParams.importstate;
|
|
1372
|
-
initialize: ActionParams.initialize;
|
|
1373
1558
|
join: ActionParams.join;
|
|
1374
1559
|
nftimgurl: ActionParams.nftimgurl;
|
|
1375
1560
|
notify: ActionParams.notify;
|
|
1561
|
+
placecargo: ActionParams.placecargo;
|
|
1562
|
+
placeentity: ActionParams.placeentity;
|
|
1376
1563
|
recharge: ActionParams.recharge;
|
|
1377
1564
|
refrshentity: ActionParams.refrshentity;
|
|
1565
|
+
removeoracle: ActionParams.removeoracle;
|
|
1378
1566
|
resolve: ActionParams.resolve;
|
|
1567
|
+
reveal: ActionParams.reveal;
|
|
1379
1568
|
rmmodule: ActionParams.rmmodule;
|
|
1380
1569
|
rmnftcfg: ActionParams.rmnftcfg;
|
|
1381
|
-
salt: ActionParams.salt;
|
|
1382
1570
|
setnftcfg: ActionParams.setnftcfg;
|
|
1383
|
-
|
|
1571
|
+
setthreshold: ActionParams.setthreshold;
|
|
1572
|
+
setwrapcost: ActionParams.setwrapcost;
|
|
1573
|
+
setwrapfee: ActionParams.setwrapfee;
|
|
1574
|
+
stowcargo: ActionParams.stowcargo;
|
|
1575
|
+
stowentity: ActionParams.stowentity;
|
|
1384
1576
|
transfer: ActionParams.transfer;
|
|
1385
1577
|
travel: ActionParams.travel;
|
|
1386
1578
|
undeploy: ActionParams.undeploy;
|
|
1387
|
-
unwrapnft: ActionParams.unwrapnft;
|
|
1388
1579
|
warp: ActionParams.warp;
|
|
1389
1580
|
wipe: ActionParams.wipe;
|
|
1390
|
-
wrap: ActionParams.wrap;
|
|
1391
|
-
wrapentity: ActionParams.wrapentity;
|
|
1392
1581
|
}
|
|
1393
1582
|
type ActionNames = keyof ActionNameParams;
|
|
1394
1583
|
interface ActionReturnValues {
|
|
@@ -1398,10 +1587,10 @@ interface ActionReturnValues {
|
|
|
1398
1587
|
craft: Types.task_results;
|
|
1399
1588
|
demolish: Types.task_results;
|
|
1400
1589
|
deploy: Types.task_results;
|
|
1401
|
-
deploynft: Types.task_results;
|
|
1402
1590
|
descentity: string;
|
|
1403
1591
|
gather: Types.task_results;
|
|
1404
1592
|
getconfig: Types.game_config;
|
|
1593
|
+
getdeposit: ExtendedAsset;
|
|
1405
1594
|
geteligible: UInt16[];
|
|
1406
1595
|
getentcls: Types.enum_result;
|
|
1407
1596
|
getentities: Types.entity_info[];
|
|
@@ -1409,6 +1598,7 @@ interface ActionReturnValues {
|
|
|
1409
1598
|
getitemdata: Types.itemdata_result;
|
|
1410
1599
|
getitemids: Types.item_ids_result;
|
|
1411
1600
|
getitems: Types.items_info;
|
|
1601
|
+
getitemtype: UInt8;
|
|
1412
1602
|
getitemtypes: Types.enum_result;
|
|
1413
1603
|
getkindmeta: Types.kind_meta_result;
|
|
1414
1604
|
getlocation: Types.location_info;
|
|
@@ -1416,6 +1606,7 @@ interface ActionReturnValues {
|
|
|
1416
1606
|
getmodtypes: Types.enum_result;
|
|
1417
1607
|
getmodules: Types.modules_result;
|
|
1418
1608
|
getnearby: Types.nearby_info;
|
|
1609
|
+
getnftbase: string[];
|
|
1419
1610
|
getnftinfo: Types.nftinfo_result;
|
|
1420
1611
|
getplayer: Types.player_info;
|
|
1421
1612
|
getprojstate: Types.projected_state;
|
|
@@ -1431,15 +1622,16 @@ interface ActionReturnValues {
|
|
|
1431
1622
|
hash: Checksum256;
|
|
1432
1623
|
hash512: Checksum512;
|
|
1433
1624
|
nftimgurl: string;
|
|
1625
|
+
placecargo: Types.task_results;
|
|
1626
|
+
placeentity: Types.task_results;
|
|
1434
1627
|
recharge: Types.task_results;
|
|
1435
1628
|
resolve: Types.resolve_results;
|
|
1629
|
+
stowcargo: Types.task_results;
|
|
1630
|
+
stowentity: Types.task_results;
|
|
1436
1631
|
transfer: Types.task_results;
|
|
1437
1632
|
travel: Types.task_results;
|
|
1438
1633
|
undeploy: Types.task_results;
|
|
1439
|
-
unwrapnft: Types.task_results;
|
|
1440
1634
|
warp: Types.task_results;
|
|
1441
|
-
wrap: Types.task_results;
|
|
1442
|
-
wrapentity: Types.task_results;
|
|
1443
1635
|
}
|
|
1444
1636
|
type ActionReturnNames = keyof ActionReturnValues;
|
|
1445
1637
|
declare class Contract extends Contract$2 {
|
|
@@ -1499,7 +1691,6 @@ declare const REQUIRES_POSITIVE_VALUE = "Value must be greater than zero.";
|
|
|
1499
1691
|
declare const PLAYER_ALREADY_JOINED = "Player has already joined the game.";
|
|
1500
1692
|
declare const PLAYER_NOT_JOINED = "Player has not joined the game.";
|
|
1501
1693
|
declare const PLAYER_NOT_FOUND = "Cannot find player for given account name.";
|
|
1502
|
-
declare const STARTER_ALREADY_CLAIMED = "Starter ship already claimed; destroy existing ships to re-claim.";
|
|
1503
1694
|
declare const ENTITY_ALREADY_THERE = "Entity cannot travel to the location it is already at.";
|
|
1504
1695
|
declare const SHIP_ALREADY_TRAVELING = "Ship is already traveling.";
|
|
1505
1696
|
declare const SHIP_CANNOT_BUY_TRAVELING = "Ship cannot buy goods while traveling.";
|
|
@@ -1733,16 +1924,10 @@ declare const ITEM_PLATE_T2 = 20001;
|
|
|
1733
1924
|
declare const ITEM_FRAME_T2 = 20002;
|
|
1734
1925
|
declare const ITEM_CONTAINER_T2_PACKED = 20200;
|
|
1735
1926
|
|
|
1736
|
-
interface
|
|
1927
|
+
interface RecipeInput {
|
|
1737
1928
|
itemId: number;
|
|
1738
1929
|
quantity: number;
|
|
1739
1930
|
}
|
|
1740
|
-
interface RecipeInputCategory {
|
|
1741
|
-
category: ResourceCategory;
|
|
1742
|
-
tier: number;
|
|
1743
|
-
quantity: number;
|
|
1744
|
-
}
|
|
1745
|
-
type RecipeInput = RecipeInputItemId | RecipeInputCategory;
|
|
1746
1931
|
interface StatSlot {
|
|
1747
1932
|
sources: {
|
|
1748
1933
|
inputIndex: number;
|
|
@@ -1766,8 +1951,6 @@ interface EntityLayout {
|
|
|
1766
1951
|
}
|
|
1767
1952
|
declare function getRecipe(outputItemId: number): Recipe | undefined;
|
|
1768
1953
|
declare function getEntityLayout(entityItemId: number): EntityLayout | undefined;
|
|
1769
|
-
declare function findItemByCategoryAndTier(category: ResourceCategory, tier: number): Item;
|
|
1770
|
-
declare function resolveRecipeInputItemId(input: RecipeInput): number;
|
|
1771
1954
|
|
|
1772
1955
|
declare const CAP_WRAP = 1;
|
|
1773
1956
|
declare const CAP_UNDEPLOY = 2;
|
|
@@ -1821,6 +2004,9 @@ declare function isContainer(entity: {
|
|
|
1821
2004
|
declare function isNexus(entity: {
|
|
1822
2005
|
type?: Name;
|
|
1823
2006
|
}): boolean;
|
|
2007
|
+
declare function isPlot(entity: {
|
|
2008
|
+
type?: Name;
|
|
2009
|
+
}): boolean;
|
|
1824
2010
|
|
|
1825
2011
|
declare class EntityInventory extends Types.cargo_item {
|
|
1826
2012
|
private _item?;
|
|
@@ -2138,14 +2324,6 @@ declare class GameState extends Types.state_row {
|
|
|
2138
2324
|
* Check if the game is currently enabled
|
|
2139
2325
|
*/
|
|
2140
2326
|
get isEnabled(): boolean;
|
|
2141
|
-
/**
|
|
2142
|
-
* Get the current salt value (used for random number generation)
|
|
2143
|
-
*/
|
|
2144
|
-
get currentSalt(): UInt64;
|
|
2145
|
-
/**
|
|
2146
|
-
* Get the commit hash for the next epoch
|
|
2147
|
-
*/
|
|
2148
|
-
get nextEpochCommit(): Checksum256;
|
|
2149
2327
|
/**
|
|
2150
2328
|
* Calculate the current epoch from game config (if game is set)
|
|
2151
2329
|
* This might differ from state.epoch if the blockchain hasn't advanced yet
|
|
@@ -2175,7 +2353,6 @@ declare class GameState extends Types.state_row {
|
|
|
2175
2353
|
enabled: boolean;
|
|
2176
2354
|
epoch: string;
|
|
2177
2355
|
hasSeed: boolean;
|
|
2178
|
-
hasCommit: boolean;
|
|
2179
2356
|
};
|
|
2180
2357
|
}
|
|
2181
2358
|
|
|
@@ -2361,11 +2538,18 @@ declare class LocationsManager extends BaseManager {
|
|
|
2361
2538
|
|
|
2362
2539
|
declare class EpochsManager extends BaseManager {
|
|
2363
2540
|
getCurrentHeight(): Promise<UInt64>;
|
|
2541
|
+
getFinalizedEpoch(reload?: boolean): Promise<UInt64>;
|
|
2364
2542
|
getCurrent(): Promise<EpochInfo>;
|
|
2365
2543
|
getByHeight(height: UInt64Type): Promise<EpochInfo>;
|
|
2366
2544
|
getTimeRemaining(): Promise<number>;
|
|
2367
2545
|
getProgress(): Promise<number>;
|
|
2368
2546
|
fitsInCurrentEpoch(durationMs: number): Promise<boolean>;
|
|
2547
|
+
getEpochRow(epoch: UInt64Type): Promise<Types.epoch_row | undefined>;
|
|
2548
|
+
getActiveEpochInfo(): Promise<Types.epoch_row | undefined>;
|
|
2549
|
+
getOracles(): Promise<Types.oracle_row[]>;
|
|
2550
|
+
getThreshold(): Promise<number>;
|
|
2551
|
+
getCommitsFor(epoch: UInt64Type): Promise<Types.commit_row[]>;
|
|
2552
|
+
getRevealsFor(epoch: UInt64Type): Promise<Types.reveal_row[]>;
|
|
2369
2553
|
}
|
|
2370
2554
|
|
|
2371
2555
|
type EntityRefInput = {
|
|
@@ -2391,14 +2575,23 @@ declare class ActionsManager extends BaseManager {
|
|
|
2391
2575
|
buildplot(entityId: UInt64Type, plotId: UInt64Type): Action;
|
|
2392
2576
|
addmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
2393
2577
|
rmmodule(entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
2394
|
-
private buildPairedMintAction;
|
|
2395
2578
|
wrap(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, cargoId: UInt64Type, quantity: UInt64Type): Promise<Action[]>;
|
|
2396
2579
|
undeploy(hostId: UInt64Type, targetId: UInt64Type): Action;
|
|
2397
2580
|
wrapEntity(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type): Promise<Action[]>;
|
|
2398
|
-
|
|
2399
|
-
|
|
2581
|
+
placecargo(owner: NameType, hostId: UInt64Type, assetId: UInt64Type): Action;
|
|
2582
|
+
placeentity(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action;
|
|
2583
|
+
transferForUnwrap(owner: NameType, assetId: UInt64Type): Action;
|
|
2584
|
+
unwrapCargoTx(owner: NameType, assetId: UInt64Type, hostId: UInt64Type): Action[];
|
|
2585
|
+
unwrapEntityTx(owner: NameType, assetId: UInt64Type, targetNexusId: UInt64Type): Action[];
|
|
2586
|
+
setRamPayer(newPayer: NameType, assetId: UInt64Type): Action;
|
|
2400
2587
|
demolish(entityId: UInt64Type): Action;
|
|
2401
2588
|
joinGame(account: NameType, companyName: string): Action[];
|
|
2589
|
+
commit(oracleId: NameType, epoch: UInt64Type, commit: Checksum256Type): Action;
|
|
2590
|
+
reveal(oracleId: NameType, epoch: UInt64Type, reveal: Checksum256Type): Action;
|
|
2591
|
+
addoracle(oracleId: NameType): Action;
|
|
2592
|
+
removeoracle(oracleId: NameType): Action;
|
|
2593
|
+
setthreshold(threshold: UInt8Type): Action;
|
|
2594
|
+
cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
|
|
2402
2595
|
}
|
|
2403
2596
|
|
|
2404
2597
|
interface NftConfigForItem {
|
|
@@ -2612,7 +2805,7 @@ declare abstract class BaseManager {
|
|
|
2612
2805
|
protected get server(): _wharfkit_contract.Contract;
|
|
2613
2806
|
protected get platform(): _wharfkit_contract.Contract;
|
|
2614
2807
|
protected getGame(): Promise<Types$1.game_row>;
|
|
2615
|
-
protected getState(): Promise<GameState>;
|
|
2808
|
+
protected getState(reload?: boolean): Promise<GameState>;
|
|
2616
2809
|
}
|
|
2617
2810
|
|
|
2618
2811
|
declare class EntitiesManager extends BaseManager {
|
|
@@ -2735,13 +2928,13 @@ interface PlotProgress {
|
|
|
2735
2928
|
declare class ConstructionManager extends BaseManager {
|
|
2736
2929
|
private readonly plot;
|
|
2737
2930
|
getTarget(entity: Types.entity_row, cargo: Types.cargo_row[], activeTask?: Types.task): BuildableTarget | null;
|
|
2738
|
-
eligibleSources(target: BuildableTarget, entities: Types.
|
|
2739
|
-
unreachableSources(target: BuildableTarget, entities: Types.
|
|
2740
|
-
partitionSources(target: BuildableTarget, entities: Types.
|
|
2931
|
+
eligibleSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
|
|
2932
|
+
unreachableSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): SourceEntityRef[];
|
|
2933
|
+
partitionSources(target: BuildableTarget, entities: Types.entity_info[], cargo: Types.cargo_row[]): {
|
|
2741
2934
|
eligible: SourceEntityRef[];
|
|
2742
2935
|
unreachable: SourceEntityRef[];
|
|
2743
2936
|
};
|
|
2744
|
-
eligibleFinalizers(target: BuildableTarget, entities: Types.
|
|
2937
|
+
eligibleFinalizers(target: BuildableTarget, entities: Types.entity_info[]): FinalizerEntityRef[];
|
|
2745
2938
|
estimateFinalizeDuration(target: BuildableTarget, crafterSpeed: number): UInt32;
|
|
2746
2939
|
static isConstructionKind(kind: string): boolean;
|
|
2747
2940
|
}
|
|
@@ -2955,6 +3148,9 @@ interface Projectable extends ScheduleData {
|
|
|
2955
3148
|
cargo: Types.cargo_item[];
|
|
2956
3149
|
cargomass: UInt32;
|
|
2957
3150
|
owner?: Name;
|
|
3151
|
+
stats?: bigint;
|
|
3152
|
+
item_id?: number | UInt16;
|
|
3153
|
+
modules?: Types.module_entry[] | InstalledModule[];
|
|
2958
3154
|
}
|
|
2959
3155
|
declare function createProjectedEntity(entity: Projectable): ProjectedEntity;
|
|
2960
3156
|
interface ProjectionOptions {
|
|
@@ -3554,6 +3750,7 @@ type DisplayNameInput = (DisplayNameInputCommon & {
|
|
|
3554
3750
|
}) | (DisplayNameInputCommon & {
|
|
3555
3751
|
type: string;
|
|
3556
3752
|
});
|
|
3753
|
+
declare function baseName(item: DisplayNameInput): string;
|
|
3557
3754
|
declare function displayName(item: DisplayNameInput): string;
|
|
3558
3755
|
interface DescribeOptions {
|
|
3559
3756
|
translate?: (key: string) => string;
|
|
@@ -3628,4 +3825,4 @@ type gatherer_stats = Types.gatherer_stats;
|
|
|
3628
3825
|
type location_static = Types.location_static;
|
|
3629
3826
|
type location_derived = Types.location_derived;
|
|
3630
3827
|
|
|
3631
|
-
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, CategoryIconShape, 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, 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, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, 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, STARTER_ALREADY_CLAIMED, 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, 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, categoryIconShapes, categoryIcons, 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, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findItemByCategoryAndTier, 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, 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, resolveRecipeInputItemId, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, taskCargoChanges, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateSchedule, yieldThresholdAt };
|
|
3828
|
+
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, CategoryIconShape, 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, 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, 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, categoryIconShapes, categoryIcons, 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, 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 };
|