@shipload/sdk 1.0.0-next.62 → 1.0.0-next.64
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 +1829 -501
- package/lib/shipload.js +4325 -1324
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +4286 -1389
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +391 -13
- package/lib/testing.js +1692 -107
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +1693 -108
- package/lib/testing.m.js.map +1 -1
- package/package.json +2 -2
- package/src/contracts/fund.ts +201 -0
- package/src/contracts/platform.ts +73 -1
- package/src/contracts/server.ts +946 -26
- package/src/contracts/token.ts +170 -0
- package/src/contracts.ts +2 -0
- package/src/data/catalog.test.ts +19 -0
- package/src/data/catalog.ts +6 -0
- package/src/data/charters.json +198 -0
- package/src/data/citizenry-adjectives.json +42 -0
- package/src/data/citizenry-nouns.json +50 -0
- package/src/data/entities.json +36 -0
- package/src/data/item-ids.ts +2 -0
- package/src/data/items.json +12 -0
- package/src/data/kind-registry.json +20 -3
- package/src/data/kind-registry.ts +5 -0
- package/src/data/metadata.ts +14 -0
- package/src/data/recipes.json +0 -48
- package/src/derivation/capabilities.ts +14 -0
- package/src/derivation/recipe-usage.test.ts +0 -2
- package/src/format.ts +9 -0
- package/src/index-module.ts +32 -2
- package/src/influence/categories.ts +32 -0
- package/src/influence/charters.test.ts +126 -0
- package/src/influence/charters.ts +120 -0
- package/src/influence/citizenry.ts +38 -0
- package/src/influence/constants.ts +63 -0
- package/src/influence/decay.ts +20 -0
- package/src/influence/decomp.ts +95 -0
- package/src/influence/demand.ts +106 -0
- package/src/influence/duration.ts +36 -0
- package/src/influence/index.ts +63 -0
- package/src/influence/influence.test.ts +317 -0
- package/src/influence/quality.ts +25 -0
- package/src/influence/valuation.ts +154 -0
- package/src/managers/actions.ts +227 -5
- package/src/managers/balances.test.ts +161 -0
- package/src/managers/balances.ts +93 -0
- package/src/managers/construction.ts +11 -1
- package/src/managers/context.ts +18 -0
- package/src/managers/entities.ts +11 -0
- package/src/managers/index.ts +15 -1
- package/src/managers/influence.test.ts +58 -0
- package/src/managers/influence.ts +347 -0
- package/src/managers/nft.test.ts +8 -1
- package/src/managers/nft.ts +56 -16
- package/src/nft/description.ts +7 -0
- package/src/scheduling/task-cargo.ts +1 -0
- package/src/shipload.ts +10 -0
- package/src/types.ts +23 -4
- package/src/utils/hash.ts +4 -0
- package/src/utils/system.ts +1 -5
package/lib/shipload.d.ts
CHANGED
|
@@ -1,16 +1,178 @@
|
|
|
1
1
|
import * as _wharfkit_antelope from '@wharfkit/antelope';
|
|
2
|
-
import { Blob, ABI, Struct, Name, Asset,
|
|
2
|
+
import { Blob, ABI, Struct, Name, Asset, UInt16, UInt64, UInt32, NameType, UInt16Type, UInt64Type, AssetType, UInt32Type, Action, UInt8, Int64, Checksum256, TimePointSec, ExtendedAsset, UInt8Type, Checksum256Type, Int64Type, ExtendedAssetType, TimePoint, Int8, Bytes, Int32, BlockTimestamp, Int8Type, TimePointType, Int32Type, BytesType, Checksum512, APIClient } from '@wharfkit/antelope';
|
|
3
3
|
import * as _wharfkit_contract from '@wharfkit/contract';
|
|
4
|
-
import { Contract as Contract$
|
|
4
|
+
import { Contract as Contract$4, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
|
|
5
5
|
import { ChainDefinition } from '@wharfkit/common';
|
|
6
6
|
|
|
7
|
-
declare const abiBlob$
|
|
8
|
-
declare const abi$
|
|
9
|
-
declare namespace Types$
|
|
7
|
+
declare const abiBlob$3: Blob;
|
|
8
|
+
declare const abi$3: ABI;
|
|
9
|
+
declare namespace Types$3 {
|
|
10
|
+
class accrued_row extends Struct {
|
|
11
|
+
account: Name;
|
|
12
|
+
balance: Asset;
|
|
13
|
+
}
|
|
14
|
+
class benef_row extends Struct {
|
|
15
|
+
account: Name;
|
|
16
|
+
bps: UInt16;
|
|
17
|
+
}
|
|
18
|
+
class beneficiary extends Struct {
|
|
19
|
+
account: Name;
|
|
20
|
+
bps: UInt16;
|
|
21
|
+
}
|
|
22
|
+
class claim extends Struct {
|
|
23
|
+
beneficiary_account: Name;
|
|
24
|
+
}
|
|
25
|
+
class cursor_row extends Struct {
|
|
26
|
+
next_asset_id: UInt64;
|
|
27
|
+
}
|
|
28
|
+
class lots_row extends Struct {
|
|
29
|
+
asset_id: UInt64;
|
|
30
|
+
grade: Name;
|
|
31
|
+
auction_id: UInt64;
|
|
32
|
+
}
|
|
33
|
+
class rescuenft extends Struct {
|
|
34
|
+
asset_ids: UInt64[];
|
|
35
|
+
to: Name;
|
|
36
|
+
memo: string;
|
|
37
|
+
}
|
|
38
|
+
class setbenef extends Struct {
|
|
39
|
+
registry: beneficiary[];
|
|
40
|
+
}
|
|
41
|
+
class setmarket extends Struct {
|
|
42
|
+
market: Name;
|
|
43
|
+
maker_marketplace: Name;
|
|
44
|
+
}
|
|
45
|
+
class setterms extends Struct {
|
|
46
|
+
grade: Name;
|
|
47
|
+
starting_bid: Asset;
|
|
48
|
+
duration: UInt32;
|
|
49
|
+
}
|
|
50
|
+
class settings_row extends Struct {
|
|
51
|
+
market: Name;
|
|
52
|
+
token_contract: Name;
|
|
53
|
+
token_symbol: Asset.Symbol;
|
|
54
|
+
maker_marketplace: Name;
|
|
55
|
+
}
|
|
56
|
+
class settoken extends Struct {
|
|
57
|
+
token_contract: Name;
|
|
58
|
+
token_symbol: Asset.Symbol;
|
|
59
|
+
}
|
|
60
|
+
class tend extends Struct {
|
|
61
|
+
max_lots: UInt32;
|
|
62
|
+
}
|
|
63
|
+
class terms_row extends Struct {
|
|
64
|
+
grade: Name;
|
|
65
|
+
starting_bid: Asset;
|
|
66
|
+
duration: UInt32;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
declare const TableMap$3: {
|
|
70
|
+
accrued: typeof Types$3.accrued_row;
|
|
71
|
+
benefs: typeof Types$3.benef_row;
|
|
72
|
+
cursor: typeof Types$3.cursor_row;
|
|
73
|
+
lots: typeof Types$3.lots_row;
|
|
74
|
+
settings: typeof Types$3.settings_row;
|
|
75
|
+
terms: typeof Types$3.terms_row;
|
|
76
|
+
};
|
|
77
|
+
interface TableTypes$3 {
|
|
78
|
+
accrued: Types$3.accrued_row;
|
|
79
|
+
benefs: Types$3.benef_row;
|
|
80
|
+
cursor: Types$3.cursor_row;
|
|
81
|
+
lots: Types$3.lots_row;
|
|
82
|
+
settings: Types$3.settings_row;
|
|
83
|
+
terms: Types$3.terms_row;
|
|
84
|
+
}
|
|
85
|
+
type RowType$3<T> = T extends keyof TableTypes$3 ? TableTypes$3[T] : any;
|
|
86
|
+
type TableNames$3 = keyof TableTypes$3;
|
|
87
|
+
declare namespace ActionParams$3 {
|
|
88
|
+
namespace Type {
|
|
89
|
+
interface beneficiary {
|
|
90
|
+
account: NameType;
|
|
91
|
+
bps: UInt16Type;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
interface claim {
|
|
95
|
+
beneficiary_account: NameType;
|
|
96
|
+
}
|
|
97
|
+
interface rescuenft {
|
|
98
|
+
asset_ids: UInt64Type[];
|
|
99
|
+
to: NameType;
|
|
100
|
+
memo: string;
|
|
101
|
+
}
|
|
102
|
+
interface setbenef {
|
|
103
|
+
registry: Type.beneficiary[];
|
|
104
|
+
}
|
|
105
|
+
interface setmarket {
|
|
106
|
+
market: NameType;
|
|
107
|
+
maker_marketplace: NameType;
|
|
108
|
+
}
|
|
109
|
+
interface setterms {
|
|
110
|
+
grade: NameType;
|
|
111
|
+
starting_bid: AssetType;
|
|
112
|
+
duration: UInt32Type;
|
|
113
|
+
}
|
|
114
|
+
interface settoken {
|
|
115
|
+
token_contract: NameType;
|
|
116
|
+
token_symbol: Asset.SymbolType;
|
|
117
|
+
}
|
|
118
|
+
interface tend {
|
|
119
|
+
max_lots: UInt32Type;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
interface ActionNameParams$3 {
|
|
123
|
+
claim: ActionParams$3.claim;
|
|
124
|
+
rescuenft: ActionParams$3.rescuenft;
|
|
125
|
+
setbenef: ActionParams$3.setbenef;
|
|
126
|
+
setmarket: ActionParams$3.setmarket;
|
|
127
|
+
setterms: ActionParams$3.setterms;
|
|
128
|
+
settoken: ActionParams$3.settoken;
|
|
129
|
+
tend: ActionParams$3.tend;
|
|
130
|
+
}
|
|
131
|
+
type ActionNames$3 = keyof ActionNameParams$3;
|
|
132
|
+
declare class Contract$3 extends Contract$4 {
|
|
133
|
+
constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
|
|
134
|
+
action<T extends ActionNames$3>(name: T, data: ActionNameParams$3[T], options?: ActionOptions): Action;
|
|
135
|
+
table<T extends TableNames$3>(name: T, scope?: NameType): Table<RowType$3<T>>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare namespace fund {
|
|
139
|
+
export {
|
|
140
|
+
abiBlob$3 as abiBlob,
|
|
141
|
+
abi$3 as abi,
|
|
142
|
+
Types$3 as Types,
|
|
143
|
+
TableMap$3 as TableMap,
|
|
144
|
+
TableTypes$3 as TableTypes,
|
|
145
|
+
RowType$3 as RowType,
|
|
146
|
+
TableNames$3 as TableNames,
|
|
147
|
+
ActionParams$3 as ActionParams,
|
|
148
|
+
ActionNameParams$3 as ActionNameParams,
|
|
149
|
+
ActionNames$3 as ActionNames,
|
|
150
|
+
Contract$3 as Contract,
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare const abiBlob$2: Blob;
|
|
155
|
+
declare const abi$2: ABI;
|
|
156
|
+
declare namespace Types$2 {
|
|
10
157
|
class balance_row extends Struct {
|
|
11
158
|
token_contract: Name;
|
|
12
159
|
balance: Asset;
|
|
13
160
|
}
|
|
161
|
+
class packed_module extends Struct {
|
|
162
|
+
item_id: UInt16;
|
|
163
|
+
stats: UInt64;
|
|
164
|
+
}
|
|
165
|
+
class module_entry extends Struct {
|
|
166
|
+
type: UInt8;
|
|
167
|
+
installed?: packed_module;
|
|
168
|
+
}
|
|
169
|
+
class cargo_item extends Struct {
|
|
170
|
+
item_id: UInt16;
|
|
171
|
+
stats: UInt64;
|
|
172
|
+
modules: module_entry[];
|
|
173
|
+
quantity: UInt32;
|
|
174
|
+
entity_id?: UInt64;
|
|
175
|
+
}
|
|
14
176
|
class cleartable extends Struct {
|
|
15
177
|
table_name: Name;
|
|
16
178
|
scope?: Name;
|
|
@@ -25,6 +187,14 @@ declare namespace Types$1 {
|
|
|
25
187
|
account: Name;
|
|
26
188
|
name: string;
|
|
27
189
|
}
|
|
190
|
+
class contribute extends Struct {
|
|
191
|
+
game: Name;
|
|
192
|
+
player: Name;
|
|
193
|
+
entity_id: UInt64;
|
|
194
|
+
x: Int64;
|
|
195
|
+
y: Int64;
|
|
196
|
+
bundle: cargo_item[];
|
|
197
|
+
}
|
|
28
198
|
class debitdeposit extends Struct {
|
|
29
199
|
owner: Name;
|
|
30
200
|
token: Name;
|
|
@@ -141,28 +311,43 @@ declare namespace Types$1 {
|
|
|
141
311
|
last_asset_id: UInt64;
|
|
142
312
|
}
|
|
143
313
|
}
|
|
144
|
-
declare const TableMap$
|
|
145
|
-
balance: typeof Types$
|
|
146
|
-
company: typeof Types$
|
|
147
|
-
depositcfg: typeof Types$
|
|
148
|
-
games: typeof Types$
|
|
149
|
-
state: typeof Types$
|
|
150
|
-
unwrapcust: typeof Types$
|
|
151
|
-
wrapgate: typeof Types$
|
|
314
|
+
declare const TableMap$2: {
|
|
315
|
+
balance: typeof Types$2.balance_row;
|
|
316
|
+
company: typeof Types$2.company_row;
|
|
317
|
+
depositcfg: typeof Types$2.depositcfg_row;
|
|
318
|
+
games: typeof Types$2.game_row;
|
|
319
|
+
state: typeof Types$2.state_row;
|
|
320
|
+
unwrapcust: typeof Types$2.unwrapcust_row;
|
|
321
|
+
wrapgate: typeof Types$2.wrapgate_row;
|
|
152
322
|
};
|
|
153
|
-
interface TableTypes$
|
|
154
|
-
balance: Types$
|
|
155
|
-
company: Types$
|
|
156
|
-
depositcfg: Types$
|
|
157
|
-
games: Types$
|
|
158
|
-
state: Types$
|
|
159
|
-
unwrapcust: Types$
|
|
160
|
-
wrapgate: Types$
|
|
161
|
-
}
|
|
162
|
-
type RowType$
|
|
163
|
-
type TableNames$
|
|
164
|
-
declare namespace ActionParams$
|
|
323
|
+
interface TableTypes$2 {
|
|
324
|
+
balance: Types$2.balance_row;
|
|
325
|
+
company: Types$2.company_row;
|
|
326
|
+
depositcfg: Types$2.depositcfg_row;
|
|
327
|
+
games: Types$2.game_row;
|
|
328
|
+
state: Types$2.state_row;
|
|
329
|
+
unwrapcust: Types$2.unwrapcust_row;
|
|
330
|
+
wrapgate: Types$2.wrapgate_row;
|
|
331
|
+
}
|
|
332
|
+
type RowType$2<T> = T extends keyof TableTypes$2 ? TableTypes$2[T] : any;
|
|
333
|
+
type TableNames$2 = keyof TableTypes$2;
|
|
334
|
+
declare namespace ActionParams$2 {
|
|
165
335
|
namespace Type {
|
|
336
|
+
interface cargo_item {
|
|
337
|
+
item_id: UInt16Type;
|
|
338
|
+
stats: UInt64Type;
|
|
339
|
+
modules: Type.module_entry[];
|
|
340
|
+
quantity: UInt32Type;
|
|
341
|
+
entity_id?: UInt64Type;
|
|
342
|
+
}
|
|
343
|
+
interface module_entry {
|
|
344
|
+
type: UInt8Type;
|
|
345
|
+
installed?: Type.packed_module;
|
|
346
|
+
}
|
|
347
|
+
interface packed_module {
|
|
348
|
+
item_id: UInt16Type;
|
|
349
|
+
stats: UInt64Type;
|
|
350
|
+
}
|
|
166
351
|
interface game_config {
|
|
167
352
|
seed: Checksum256Type;
|
|
168
353
|
epochtime: UInt32Type;
|
|
@@ -189,6 +374,14 @@ declare namespace ActionParams$1 {
|
|
|
189
374
|
token_contract: NameType;
|
|
190
375
|
token_symbol: Asset.SymbolType;
|
|
191
376
|
}
|
|
377
|
+
interface contribute {
|
|
378
|
+
game: NameType;
|
|
379
|
+
player: NameType;
|
|
380
|
+
entity_id: UInt64Type;
|
|
381
|
+
x: Int64Type;
|
|
382
|
+
y: Int64Type;
|
|
383
|
+
bundle: Type.cargo_item[];
|
|
384
|
+
}
|
|
192
385
|
interface debitdeposit {
|
|
193
386
|
owner: NameType;
|
|
194
387
|
token: NameType;
|
|
@@ -268,53 +461,57 @@ declare namespace ActionParams$1 {
|
|
|
268
461
|
nexus_id: UInt64Type;
|
|
269
462
|
}
|
|
270
463
|
}
|
|
271
|
-
interface ActionNameParams$
|
|
272
|
-
cleartable: ActionParams$
|
|
273
|
-
close: ActionParams$
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
464
|
+
interface ActionNameParams$2 {
|
|
465
|
+
cleartable: ActionParams$2.cleartable;
|
|
466
|
+
close: ActionParams$2.close;
|
|
467
|
+
contribute: ActionParams$2.contribute;
|
|
468
|
+
debitdeposit: ActionParams$2.debitdeposit;
|
|
469
|
+
enable: ActionParams$2.enable;
|
|
470
|
+
enablegame: ActionParams$2.enablegame;
|
|
471
|
+
foundcompany: ActionParams$2.foundcompany;
|
|
472
|
+
open: ActionParams$2.open;
|
|
473
|
+
relgateasset: ActionParams$2.relgateasset;
|
|
474
|
+
relgateowner: ActionParams$2.relgateowner;
|
|
475
|
+
setepochtime: ActionParams$2.setepochtime;
|
|
476
|
+
settoken: ActionParams$2.settoken;
|
|
477
|
+
startgame: ActionParams$2.startgame;
|
|
478
|
+
unwrapcargo: ActionParams$2.unwrapcargo;
|
|
479
|
+
unwrapentity: ActionParams$2.unwrapentity;
|
|
480
|
+
updategame: ActionParams$2.updategame;
|
|
481
|
+
wipe: ActionParams$2.wipe;
|
|
482
|
+
withdraw: ActionParams$2.withdraw;
|
|
483
|
+
wrapcargo: ActionParams$2.wrapcargo;
|
|
484
|
+
wrapentity: ActionParams$2.wrapentity;
|
|
485
|
+
}
|
|
486
|
+
type ActionNames$2 = keyof ActionNameParams$2;
|
|
487
|
+
declare class Contract$2 extends Contract$4 {
|
|
294
488
|
constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
|
|
295
|
-
action<T extends ActionNames$
|
|
296
|
-
table<T extends TableNames$
|
|
489
|
+
action<T extends ActionNames$2>(name: T, data: ActionNameParams$2[T], options?: ActionOptions): Action;
|
|
490
|
+
table<T extends TableNames$2>(name: T, scope?: NameType): Table<RowType$2<T>>;
|
|
297
491
|
}
|
|
298
492
|
|
|
299
493
|
declare namespace platform {
|
|
300
494
|
export {
|
|
301
|
-
abiBlob$
|
|
302
|
-
abi$
|
|
303
|
-
Types$
|
|
304
|
-
TableMap$
|
|
305
|
-
TableTypes$
|
|
306
|
-
RowType$
|
|
307
|
-
TableNames$
|
|
308
|
-
ActionParams$
|
|
309
|
-
ActionNameParams$
|
|
310
|
-
ActionNames$
|
|
311
|
-
Contract$
|
|
495
|
+
abiBlob$2 as abiBlob,
|
|
496
|
+
abi$2 as abi,
|
|
497
|
+
Types$2 as Types,
|
|
498
|
+
TableMap$2 as TableMap,
|
|
499
|
+
TableTypes$2 as TableTypes,
|
|
500
|
+
RowType$2 as RowType,
|
|
501
|
+
TableNames$2 as TableNames,
|
|
502
|
+
ActionParams$2 as ActionParams,
|
|
503
|
+
ActionNameParams$2 as ActionNameParams,
|
|
504
|
+
ActionNames$2 as ActionNames,
|
|
505
|
+
Contract$2 as Contract,
|
|
312
506
|
};
|
|
313
507
|
}
|
|
314
508
|
|
|
315
|
-
declare const abiBlob: Blob;
|
|
316
|
-
declare const abi: ABI;
|
|
317
|
-
declare namespace Types {
|
|
509
|
+
declare const abiBlob$1: Blob;
|
|
510
|
+
declare const abi$1: ABI;
|
|
511
|
+
declare namespace Types$1 {
|
|
512
|
+
class abandonplot extends Struct {
|
|
513
|
+
plot_id: UInt64;
|
|
514
|
+
}
|
|
318
515
|
class packed_module extends Struct {
|
|
319
516
|
item_id: UInt16;
|
|
320
517
|
stats: UInt64;
|
|
@@ -323,6 +520,20 @@ declare namespace Types {
|
|
|
323
520
|
type: UInt8;
|
|
324
521
|
installed?: packed_module;
|
|
325
522
|
}
|
|
523
|
+
class cargo_item extends Struct {
|
|
524
|
+
item_id: UInt16;
|
|
525
|
+
stats: UInt64;
|
|
526
|
+
modules: module_entry[];
|
|
527
|
+
quantity: UInt32;
|
|
528
|
+
entity_id?: UInt64;
|
|
529
|
+
}
|
|
530
|
+
class addcontrib extends Struct {
|
|
531
|
+
player: Name;
|
|
532
|
+
entity_id: UInt64;
|
|
533
|
+
x: Int64;
|
|
534
|
+
y: Int64;
|
|
535
|
+
bundle: cargo_item[];
|
|
536
|
+
}
|
|
326
537
|
class cargo_ref extends Struct {
|
|
327
538
|
item_id: UInt16;
|
|
328
539
|
stats: UInt64;
|
|
@@ -343,13 +554,6 @@ declare namespace Types {
|
|
|
343
554
|
class addoracle extends Struct {
|
|
344
555
|
oracle_id: Name;
|
|
345
556
|
}
|
|
346
|
-
class cargo_item extends Struct {
|
|
347
|
-
item_id: UInt16;
|
|
348
|
-
stats: UInt64;
|
|
349
|
-
modules: module_entry[];
|
|
350
|
-
quantity: UInt32;
|
|
351
|
-
entity_id?: UInt64;
|
|
352
|
-
}
|
|
353
557
|
class blend extends Struct {
|
|
354
558
|
id: UInt64;
|
|
355
559
|
inputs: cargo_item[];
|
|
@@ -385,6 +589,9 @@ declare namespace Types {
|
|
|
385
589
|
job_id: UInt64;
|
|
386
590
|
ship_id: UInt64;
|
|
387
591
|
}
|
|
592
|
+
class cancelupgrade extends Struct {
|
|
593
|
+
job_id: UInt64;
|
|
594
|
+
}
|
|
388
595
|
class cargo_row extends Struct {
|
|
389
596
|
id: UInt64;
|
|
390
597
|
entity_id: UInt64;
|
|
@@ -402,6 +609,48 @@ declare namespace Types {
|
|
|
402
609
|
id: UInt64;
|
|
403
610
|
entity_id?: UInt64;
|
|
404
611
|
}
|
|
612
|
+
class charter_effect extends Struct {
|
|
613
|
+
kind: UInt8;
|
|
614
|
+
item_id: UInt16;
|
|
615
|
+
target_item_id: UInt16;
|
|
616
|
+
slot_mask: UInt16;
|
|
617
|
+
stat: UInt16;
|
|
618
|
+
}
|
|
619
|
+
class charter_node_def extends Struct {
|
|
620
|
+
node_id: UInt32;
|
|
621
|
+
cost: UInt64;
|
|
622
|
+
prereqs: UInt32[];
|
|
623
|
+
effect: charter_effect;
|
|
624
|
+
}
|
|
625
|
+
class charter_view extends Struct {
|
|
626
|
+
node_id: UInt32;
|
|
627
|
+
completed_epoch: UInt32;
|
|
628
|
+
entity_id: UInt64;
|
|
629
|
+
}
|
|
630
|
+
class charter_result extends Struct {
|
|
631
|
+
location_id: UInt64;
|
|
632
|
+
lifetime: UInt64;
|
|
633
|
+
watermark: UInt64;
|
|
634
|
+
surplus: UInt64;
|
|
635
|
+
mandate: UInt32;
|
|
636
|
+
next_cost: UInt64;
|
|
637
|
+
prereqs_met: boolean;
|
|
638
|
+
buildable: boolean;
|
|
639
|
+
epoch: UInt32;
|
|
640
|
+
built: charter_view[];
|
|
641
|
+
}
|
|
642
|
+
class charter_tree_result extends Struct {
|
|
643
|
+
nodes: charter_node_def[];
|
|
644
|
+
}
|
|
645
|
+
class charterready extends Struct {
|
|
646
|
+
x: Int64;
|
|
647
|
+
y: Int64;
|
|
648
|
+
}
|
|
649
|
+
class charters_row extends Struct {
|
|
650
|
+
node_id: UInt32;
|
|
651
|
+
completed_epoch: UInt32;
|
|
652
|
+
entity_id: UInt64;
|
|
653
|
+
}
|
|
405
654
|
class civicconfig_row extends Struct {
|
|
406
655
|
civic_owner: Name;
|
|
407
656
|
}
|
|
@@ -425,6 +674,9 @@ declare namespace Types {
|
|
|
425
674
|
class claimstarter extends Struct {
|
|
426
675
|
owner: Name;
|
|
427
676
|
}
|
|
677
|
+
class claimupgrade extends Struct {
|
|
678
|
+
job_id: UInt64;
|
|
679
|
+
}
|
|
428
680
|
class cleanrsvp extends Struct {
|
|
429
681
|
epoch: UInt64;
|
|
430
682
|
max_rows: UInt64;
|
|
@@ -517,9 +769,37 @@ declare namespace Types {
|
|
|
517
769
|
quantity: UInt32;
|
|
518
770
|
inputs: cargo_item[];
|
|
519
771
|
}
|
|
772
|
+
class dbgcredit extends Struct {
|
|
773
|
+
owner: Name;
|
|
774
|
+
x: Int64;
|
|
775
|
+
y: Int64;
|
|
776
|
+
amount_atomic: UInt64;
|
|
777
|
+
}
|
|
778
|
+
class dbgmandate extends Struct {
|
|
779
|
+
x: Int64;
|
|
780
|
+
y: Int64;
|
|
781
|
+
node_id: UInt32;
|
|
782
|
+
}
|
|
783
|
+
class decomp_bucket extends Struct {
|
|
784
|
+
category: UInt8;
|
|
785
|
+
tier: UInt8;
|
|
786
|
+
raw_kg: UInt32;
|
|
787
|
+
}
|
|
788
|
+
class decomp_result extends Struct {
|
|
789
|
+
item_id: UInt16;
|
|
790
|
+
processed_kg: UInt64;
|
|
791
|
+
buckets: decomp_bucket[];
|
|
792
|
+
}
|
|
520
793
|
class delentity extends Struct {
|
|
521
794
|
entity_id: UInt64;
|
|
522
795
|
}
|
|
796
|
+
class demand_result extends Struct {
|
|
797
|
+
abundant_mask: UInt8;
|
|
798
|
+
lacking_mask: UInt8;
|
|
799
|
+
acute: UInt8;
|
|
800
|
+
need_fp: UInt64[];
|
|
801
|
+
epoch: UInt32;
|
|
802
|
+
}
|
|
523
803
|
class demolish extends Struct {
|
|
524
804
|
entity_id: UInt64;
|
|
525
805
|
}
|
|
@@ -528,6 +808,36 @@ declare namespace Types {
|
|
|
528
808
|
ref: cargo_ref;
|
|
529
809
|
slot?: cluster_slot;
|
|
530
810
|
}
|
|
811
|
+
class depot_row extends Struct {
|
|
812
|
+
id: UInt64;
|
|
813
|
+
owner: Name;
|
|
814
|
+
item_id: UInt64;
|
|
815
|
+
quantity: UInt64;
|
|
816
|
+
stats: UInt64;
|
|
817
|
+
modules: module_entry[];
|
|
818
|
+
sequence_id?: UInt64;
|
|
819
|
+
}
|
|
820
|
+
class depot_view extends Struct {
|
|
821
|
+
player_cap: UInt64;
|
|
822
|
+
stored_mass: UInt64;
|
|
823
|
+
reserved_mass: UInt64;
|
|
824
|
+
rows: depot_row[];
|
|
825
|
+
}
|
|
826
|
+
class depotacct_row extends Struct {
|
|
827
|
+
owner: Name;
|
|
828
|
+
stored_mass: UInt64;
|
|
829
|
+
reserved_mass: UInt64;
|
|
830
|
+
}
|
|
831
|
+
class depotstore extends Struct {
|
|
832
|
+
ship_id: UInt64;
|
|
833
|
+
depot_id: UInt64;
|
|
834
|
+
items: cargo_item[];
|
|
835
|
+
}
|
|
836
|
+
class depottake extends Struct {
|
|
837
|
+
ship_id: UInt64;
|
|
838
|
+
depot_id: UInt64;
|
|
839
|
+
items: cargo_item[];
|
|
840
|
+
}
|
|
531
841
|
class descentity extends Struct {
|
|
532
842
|
item_id: UInt16;
|
|
533
843
|
hull_stats: UInt64;
|
|
@@ -703,6 +1013,8 @@ declare namespace Types {
|
|
|
703
1013
|
class fixcargomass extends Struct {
|
|
704
1014
|
entity_id: UInt64;
|
|
705
1015
|
}
|
|
1016
|
+
class fixitemids extends Struct {
|
|
1017
|
+
}
|
|
706
1018
|
class grid_cell extends Struct {
|
|
707
1019
|
gx: Int8;
|
|
708
1020
|
gy: Int8;
|
|
@@ -713,6 +1025,12 @@ declare namespace Types {
|
|
|
713
1025
|
class forcereveal extends Struct {
|
|
714
1026
|
epoch: UInt64;
|
|
715
1027
|
}
|
|
1028
|
+
class found extends Struct {
|
|
1029
|
+
player: Name;
|
|
1030
|
+
entity_id: UInt64;
|
|
1031
|
+
x: Int64;
|
|
1032
|
+
y: Int64;
|
|
1033
|
+
}
|
|
716
1034
|
class gather extends Struct {
|
|
717
1035
|
source_id: UInt64;
|
|
718
1036
|
destination_id: UInt64;
|
|
@@ -731,15 +1049,32 @@ declare namespace Types {
|
|
|
731
1049
|
class genesisfleet extends Struct {
|
|
732
1050
|
entities: entity_row[];
|
|
733
1051
|
}
|
|
1052
|
+
class getcharter extends Struct {
|
|
1053
|
+
x: Int64;
|
|
1054
|
+
y: Int64;
|
|
1055
|
+
}
|
|
1056
|
+
class getcharttree extends Struct {
|
|
1057
|
+
}
|
|
734
1058
|
class getcluster extends Struct {
|
|
735
1059
|
hub_id: UInt64;
|
|
736
1060
|
}
|
|
737
1061
|
class getconfig extends Struct {
|
|
738
1062
|
}
|
|
1063
|
+
class getdecomp extends Struct {
|
|
1064
|
+
item_id: UInt16;
|
|
1065
|
+
}
|
|
1066
|
+
class getdemand extends Struct {
|
|
1067
|
+
x: Int64;
|
|
1068
|
+
y: Int64;
|
|
1069
|
+
}
|
|
739
1070
|
class getdeposit extends Struct {
|
|
740
1071
|
owner: Name;
|
|
741
1072
|
asset_id: UInt64;
|
|
742
1073
|
}
|
|
1074
|
+
class getdepot extends Struct {
|
|
1075
|
+
depot_id: UInt64;
|
|
1076
|
+
owner: Name;
|
|
1077
|
+
}
|
|
743
1078
|
class getdistance extends Struct {
|
|
744
1079
|
ax: Int64;
|
|
745
1080
|
ay: Int64;
|
|
@@ -762,6 +1097,20 @@ declare namespace Types {
|
|
|
762
1097
|
class getfootprint extends Struct {
|
|
763
1098
|
item_id: UInt16;
|
|
764
1099
|
}
|
|
1100
|
+
class getinfdecay extends Struct {
|
|
1101
|
+
active: UInt64;
|
|
1102
|
+
epochs: UInt32;
|
|
1103
|
+
}
|
|
1104
|
+
class getinfluence extends Struct {
|
|
1105
|
+
owner: Name;
|
|
1106
|
+
x: Int64;
|
|
1107
|
+
y: Int64;
|
|
1108
|
+
}
|
|
1109
|
+
class getinfvalue extends Struct {
|
|
1110
|
+
items: cargo_item[];
|
|
1111
|
+
x: Int64;
|
|
1112
|
+
y: Int64;
|
|
1113
|
+
}
|
|
765
1114
|
class getitemdata extends Struct {
|
|
766
1115
|
}
|
|
767
1116
|
class getitemids extends Struct {
|
|
@@ -786,6 +1135,8 @@ declare namespace Types {
|
|
|
786
1135
|
x: Int64;
|
|
787
1136
|
y: Int64;
|
|
788
1137
|
}
|
|
1138
|
+
class getmintcfg extends Struct {
|
|
1139
|
+
}
|
|
789
1140
|
class getmodtypes extends Struct {
|
|
790
1141
|
}
|
|
791
1142
|
class getmodules extends Struct {
|
|
@@ -801,6 +1152,12 @@ declare namespace Types {
|
|
|
801
1152
|
class getplayer extends Struct {
|
|
802
1153
|
account: Name;
|
|
803
1154
|
}
|
|
1155
|
+
class getpool extends Struct {
|
|
1156
|
+
category: UInt8;
|
|
1157
|
+
tier: UInt8;
|
|
1158
|
+
}
|
|
1159
|
+
class getpools extends Struct {
|
|
1160
|
+
}
|
|
804
1161
|
class getprojstate extends Struct {
|
|
805
1162
|
entity_id: UInt64;
|
|
806
1163
|
task_count?: UInt8;
|
|
@@ -834,6 +1191,13 @@ declare namespace Types {
|
|
|
834
1191
|
owner: Name;
|
|
835
1192
|
entity_type?: Name;
|
|
836
1193
|
}
|
|
1194
|
+
class getupgjobs extends Struct {
|
|
1195
|
+
dock_id: UInt64;
|
|
1196
|
+
}
|
|
1197
|
+
class getvotes extends Struct {
|
|
1198
|
+
x: Int64;
|
|
1199
|
+
y: Int64;
|
|
1200
|
+
}
|
|
837
1201
|
class getwormhole extends Struct {
|
|
838
1202
|
x: Int64;
|
|
839
1203
|
y: Int64;
|
|
@@ -869,9 +1233,20 @@ declare namespace Types {
|
|
|
869
1233
|
class importentity extends Struct {
|
|
870
1234
|
row: entity_row;
|
|
871
1235
|
}
|
|
1236
|
+
class importepoch extends Struct {
|
|
1237
|
+
row: epoch_row;
|
|
1238
|
+
}
|
|
872
1239
|
class importgroup extends Struct {
|
|
873
1240
|
row: entitygroup_row;
|
|
874
1241
|
}
|
|
1242
|
+
class nftconfig_row extends Struct {
|
|
1243
|
+
item_id: UInt16;
|
|
1244
|
+
template_id: Int32;
|
|
1245
|
+
schema_name: Name;
|
|
1246
|
+
}
|
|
1247
|
+
class importnftcfg extends Struct {
|
|
1248
|
+
row: nftconfig_row;
|
|
1249
|
+
}
|
|
875
1250
|
class importplayer extends Struct {
|
|
876
1251
|
owner: Name;
|
|
877
1252
|
}
|
|
@@ -894,6 +1269,89 @@ declare namespace Types {
|
|
|
894
1269
|
class importstate extends Struct {
|
|
895
1270
|
row: state_row;
|
|
896
1271
|
}
|
|
1272
|
+
class infballot_row extends Struct {
|
|
1273
|
+
location_id: UInt64;
|
|
1274
|
+
epoch: UInt32;
|
|
1275
|
+
}
|
|
1276
|
+
class infburn_row extends Struct {
|
|
1277
|
+
bps: UInt16;
|
|
1278
|
+
}
|
|
1279
|
+
class infdemand_row extends Struct {
|
|
1280
|
+
peak: UInt64;
|
|
1281
|
+
base: UInt64;
|
|
1282
|
+
floor: UInt64;
|
|
1283
|
+
}
|
|
1284
|
+
class infloc_row extends Struct {
|
|
1285
|
+
location_id: UInt64;
|
|
1286
|
+
lifetime: UInt64;
|
|
1287
|
+
active: UInt64;
|
|
1288
|
+
last_update_epoch: UInt32;
|
|
1289
|
+
watermark: UInt64;
|
|
1290
|
+
chosen: UInt32;
|
|
1291
|
+
chosen_epoch: UInt32;
|
|
1292
|
+
founder: Name;
|
|
1293
|
+
founded: UInt32;
|
|
1294
|
+
}
|
|
1295
|
+
class influence_totals extends Struct {
|
|
1296
|
+
player_lifetime: UInt64;
|
|
1297
|
+
player_active: UInt64;
|
|
1298
|
+
standing_lifetime: UInt64;
|
|
1299
|
+
standing_active: UInt64;
|
|
1300
|
+
location_lifetime: UInt64;
|
|
1301
|
+
location_active: UInt64;
|
|
1302
|
+
watermark: UInt64;
|
|
1303
|
+
mandate: UInt32;
|
|
1304
|
+
founder: Name;
|
|
1305
|
+
founded: UInt32;
|
|
1306
|
+
epoch: UInt32;
|
|
1307
|
+
}
|
|
1308
|
+
class infmint_row extends Struct {
|
|
1309
|
+
category: UInt8;
|
|
1310
|
+
tier: UInt8;
|
|
1311
|
+
threshold: UInt64;
|
|
1312
|
+
}
|
|
1313
|
+
class infplayer_row extends Struct {
|
|
1314
|
+
account: Name;
|
|
1315
|
+
lifetime: UInt64;
|
|
1316
|
+
active: UInt64;
|
|
1317
|
+
last_update_epoch: UInt32;
|
|
1318
|
+
}
|
|
1319
|
+
class infplayerloc_row extends Struct {
|
|
1320
|
+
location_id: UInt64;
|
|
1321
|
+
lifetime: UInt64;
|
|
1322
|
+
active: UInt64;
|
|
1323
|
+
last_update_epoch: UInt32;
|
|
1324
|
+
}
|
|
1325
|
+
class infpool_row extends Struct {
|
|
1326
|
+
category: UInt8;
|
|
1327
|
+
tier: UInt8;
|
|
1328
|
+
grade: UInt8;
|
|
1329
|
+
quantity: UInt64;
|
|
1330
|
+
stats: UInt64;
|
|
1331
|
+
bar: UInt64;
|
|
1332
|
+
}
|
|
1333
|
+
class infquality_row extends Struct {
|
|
1334
|
+
d1: UInt32;
|
|
1335
|
+
}
|
|
1336
|
+
class inftally_row extends Struct {
|
|
1337
|
+
node_id: UInt64;
|
|
1338
|
+
total: UInt64;
|
|
1339
|
+
}
|
|
1340
|
+
class infvalue_result extends Struct {
|
|
1341
|
+
total_atomic: UInt64;
|
|
1342
|
+
per_item_atomic: UInt64[];
|
|
1343
|
+
}
|
|
1344
|
+
class infvote_row extends Struct {
|
|
1345
|
+
account: Name;
|
|
1346
|
+
epoch: UInt32;
|
|
1347
|
+
node_id: UInt32;
|
|
1348
|
+
weight: UInt64;
|
|
1349
|
+
}
|
|
1350
|
+
class infweight_row extends Struct {
|
|
1351
|
+
category: UInt8;
|
|
1352
|
+
tier: UInt8;
|
|
1353
|
+
weight_fp: UInt64;
|
|
1354
|
+
}
|
|
897
1355
|
class item_id_pair extends Struct {
|
|
898
1356
|
id: UInt16;
|
|
899
1357
|
name: string;
|
|
@@ -1003,6 +1461,22 @@ declare namespace Types {
|
|
|
1003
1461
|
is_system: boolean;
|
|
1004
1462
|
is_wormhole: boolean;
|
|
1005
1463
|
}
|
|
1464
|
+
class mint_threshold_view extends Struct {
|
|
1465
|
+
category: UInt8;
|
|
1466
|
+
tier: UInt8;
|
|
1467
|
+
threshold: UInt64;
|
|
1468
|
+
}
|
|
1469
|
+
class mintcfg_result extends Struct {
|
|
1470
|
+
thresholds: mint_threshold_view[];
|
|
1471
|
+
burn_bps: UInt16;
|
|
1472
|
+
}
|
|
1473
|
+
class mintq_row extends Struct {
|
|
1474
|
+
id: UInt64;
|
|
1475
|
+
grade: UInt8;
|
|
1476
|
+
}
|
|
1477
|
+
class mintready extends Struct {
|
|
1478
|
+
max_mints?: UInt32;
|
|
1479
|
+
}
|
|
1006
1480
|
class module_info extends Struct {
|
|
1007
1481
|
id: UInt16;
|
|
1008
1482
|
mass: UInt32;
|
|
@@ -1019,6 +1493,11 @@ declare namespace Types {
|
|
|
1019
1493
|
to_gx: Int8;
|
|
1020
1494
|
to_gy: Int8;
|
|
1021
1495
|
}
|
|
1496
|
+
class naturalize extends Struct {
|
|
1497
|
+
player: Name;
|
|
1498
|
+
x: Int64;
|
|
1499
|
+
y: Int64;
|
|
1500
|
+
}
|
|
1022
1501
|
class nearby_system extends Struct {
|
|
1023
1502
|
distance: UInt64;
|
|
1024
1503
|
energy_cost: UInt64;
|
|
@@ -1055,11 +1534,6 @@ declare namespace Types {
|
|
|
1055
1534
|
schema_name: Name;
|
|
1056
1535
|
template_id: Int32;
|
|
1057
1536
|
}
|
|
1058
|
-
class nftconfig_row extends Struct {
|
|
1059
|
-
item_id: UInt16;
|
|
1060
|
-
template_id: Int32;
|
|
1061
|
-
schema_name: Name;
|
|
1062
|
-
}
|
|
1063
1537
|
class nftimgurl extends Struct {
|
|
1064
1538
|
item: cargo_item;
|
|
1065
1539
|
location?: coordinates;
|
|
@@ -1107,6 +1581,29 @@ declare namespace Types {
|
|
|
1107
1581
|
class player_row extends Struct {
|
|
1108
1582
|
owner: Name;
|
|
1109
1583
|
}
|
|
1584
|
+
class pool_pair_result extends Struct {
|
|
1585
|
+
category: UInt8;
|
|
1586
|
+
tier: UInt8;
|
|
1587
|
+
item_id: UInt16;
|
|
1588
|
+
standard_quantity: UInt64;
|
|
1589
|
+
standard_stats: UInt64;
|
|
1590
|
+
premium_quantity: UInt64;
|
|
1591
|
+
premium_stats: UInt64;
|
|
1592
|
+
bar: UInt64;
|
|
1593
|
+
threshold: UInt64;
|
|
1594
|
+
}
|
|
1595
|
+
class pool_view extends Struct {
|
|
1596
|
+
category: UInt8;
|
|
1597
|
+
tier: UInt8;
|
|
1598
|
+
grade: UInt8;
|
|
1599
|
+
item_id: UInt16;
|
|
1600
|
+
quantity: UInt64;
|
|
1601
|
+
stats: UInt64;
|
|
1602
|
+
bar: UInt64;
|
|
1603
|
+
}
|
|
1604
|
+
class pools_result extends Struct {
|
|
1605
|
+
pools: pool_view[];
|
|
1606
|
+
}
|
|
1110
1607
|
class projected_state extends Struct {
|
|
1111
1608
|
owner: Name;
|
|
1112
1609
|
coordinates: coordinates;
|
|
@@ -1217,6 +1714,27 @@ declare namespace Types {
|
|
|
1217
1714
|
x: Int64;
|
|
1218
1715
|
y: Int64;
|
|
1219
1716
|
}
|
|
1717
|
+
class setinfburn extends Struct {
|
|
1718
|
+
bps: UInt16;
|
|
1719
|
+
}
|
|
1720
|
+
class setinfd1 extends Struct {
|
|
1721
|
+
d1: UInt32;
|
|
1722
|
+
}
|
|
1723
|
+
class setinfdemand extends Struct {
|
|
1724
|
+
peak: UInt64;
|
|
1725
|
+
base: UInt64;
|
|
1726
|
+
floor: UInt64;
|
|
1727
|
+
}
|
|
1728
|
+
class setinfmint extends Struct {
|
|
1729
|
+
category: UInt8;
|
|
1730
|
+
tier: UInt8;
|
|
1731
|
+
threshold: UInt64;
|
|
1732
|
+
}
|
|
1733
|
+
class setinfweight extends Struct {
|
|
1734
|
+
category: UInt8;
|
|
1735
|
+
tier: UInt8;
|
|
1736
|
+
weight_fp: UInt64;
|
|
1737
|
+
}
|
|
1220
1738
|
class setnextid extends Struct {
|
|
1221
1739
|
next_id: UInt64;
|
|
1222
1740
|
}
|
|
@@ -1309,12 +1827,37 @@ declare namespace Types {
|
|
|
1309
1827
|
waypoints: route_waypoint[];
|
|
1310
1828
|
recharge: boolean;
|
|
1311
1829
|
}
|
|
1830
|
+
class vote_option extends Struct {
|
|
1831
|
+
node_id: UInt32;
|
|
1832
|
+
cost: UInt64;
|
|
1833
|
+
total: UInt64;
|
|
1834
|
+
eligible: boolean;
|
|
1835
|
+
}
|
|
1836
|
+
class vote_result extends Struct {
|
|
1837
|
+
location_id: UInt64;
|
|
1838
|
+
epoch: UInt32;
|
|
1839
|
+
ballot_epoch: UInt32;
|
|
1840
|
+
chosen: UInt32;
|
|
1841
|
+
chosen_epoch: UInt32;
|
|
1842
|
+
effective: UInt32;
|
|
1843
|
+
options: vote_option[];
|
|
1844
|
+
}
|
|
1312
1845
|
class types_row extends Struct {
|
|
1313
1846
|
id: UInt64;
|
|
1314
1847
|
entity_summary_type: entity_summary;
|
|
1315
1848
|
game_config_type: game_config;
|
|
1316
1849
|
stratum_remaining_type: stratum_remaining;
|
|
1317
1850
|
nft_item_payload_type: nft_item_payload;
|
|
1851
|
+
decomp_result_type: decomp_result;
|
|
1852
|
+
demand_result_type: demand_result;
|
|
1853
|
+
infvalue_result_type: infvalue_result;
|
|
1854
|
+
influence_totals_type: influence_totals;
|
|
1855
|
+
pools_result_type: pools_result;
|
|
1856
|
+
pool_pair_result_type: pool_pair_result;
|
|
1857
|
+
mintcfg_result_type: mintcfg_result;
|
|
1858
|
+
charter_result_type: charter_result;
|
|
1859
|
+
vote_result_type: vote_result;
|
|
1860
|
+
depot_view_type: depot_view;
|
|
1318
1861
|
}
|
|
1319
1862
|
class undeploy extends Struct {
|
|
1320
1863
|
host_id: UInt64;
|
|
@@ -1325,6 +1868,20 @@ declare namespace Types {
|
|
|
1325
1868
|
to_id: UInt64;
|
|
1326
1869
|
items: cargo_item[];
|
|
1327
1870
|
}
|
|
1871
|
+
class upgjob_row extends Struct {
|
|
1872
|
+
id: UInt64;
|
|
1873
|
+
dock: UInt64;
|
|
1874
|
+
target: UInt64;
|
|
1875
|
+
owner: Name;
|
|
1876
|
+
coords: coordinates;
|
|
1877
|
+
starts_at: TimePoint;
|
|
1878
|
+
completes_at: TimePoint;
|
|
1879
|
+
target_item_id: UInt16;
|
|
1880
|
+
cargo: cargo_item[];
|
|
1881
|
+
}
|
|
1882
|
+
class upgjobs_result extends Struct {
|
|
1883
|
+
jobs: upgjob_row[];
|
|
1884
|
+
}
|
|
1328
1885
|
class upgrade extends Struct {
|
|
1329
1886
|
builder_id: UInt64;
|
|
1330
1887
|
target_id: UInt64;
|
|
@@ -1332,6 +1889,21 @@ declare namespace Types {
|
|
|
1332
1889
|
inputs: cargo_item[];
|
|
1333
1890
|
slot?: UInt8;
|
|
1334
1891
|
}
|
|
1892
|
+
class upgradejob extends Struct {
|
|
1893
|
+
target_id: UInt64;
|
|
1894
|
+
dock_id: UInt64;
|
|
1895
|
+
target_item_id: UInt16;
|
|
1896
|
+
inputs: cargo_item[];
|
|
1897
|
+
}
|
|
1898
|
+
class votecharter extends Struct {
|
|
1899
|
+
player: Name;
|
|
1900
|
+
x: Int64;
|
|
1901
|
+
y: Int64;
|
|
1902
|
+
node_id: UInt32;
|
|
1903
|
+
}
|
|
1904
|
+
class voteready extends Struct {
|
|
1905
|
+
max_ballots: UInt32;
|
|
1906
|
+
}
|
|
1335
1907
|
class warp extends Struct {
|
|
1336
1908
|
id: UInt64;
|
|
1337
1909
|
x: Int64;
|
|
@@ -1354,60 +1926,95 @@ declare namespace Types {
|
|
|
1354
1926
|
amount: UInt64;
|
|
1355
1927
|
}
|
|
1356
1928
|
}
|
|
1357
|
-
declare const TableMap: {
|
|
1358
|
-
cargo: typeof Types.cargo_row;
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1929
|
+
declare const TableMap$1: {
|
|
1930
|
+
cargo: typeof Types$1.cargo_row;
|
|
1931
|
+
charters: typeof Types$1.charters_row;
|
|
1932
|
+
civicconfig: typeof Types$1.civicconfig_row;
|
|
1933
|
+
claims: typeof Types$1.claim_row;
|
|
1934
|
+
cluster: typeof Types$1.cluster_row;
|
|
1935
|
+
commit: typeof Types$1.commit_row;
|
|
1936
|
+
depot: typeof Types$1.depot_row;
|
|
1937
|
+
depotacct: typeof Types$1.depotacct_row;
|
|
1938
|
+
entity: typeof Types$1.entity_row;
|
|
1939
|
+
entitygroup: typeof Types$1.entitygroup_row;
|
|
1940
|
+
entityseq: typeof Types$1.entity_seq_row;
|
|
1941
|
+
epoch: typeof Types$1.epoch_row;
|
|
1942
|
+
infballot: typeof Types$1.infballot_row;
|
|
1943
|
+
infburn: typeof Types$1.infburn_row;
|
|
1944
|
+
infdemand: typeof Types$1.infdemand_row;
|
|
1945
|
+
infloc: typeof Types$1.infloc_row;
|
|
1946
|
+
infmint: typeof Types$1.infmint_row;
|
|
1947
|
+
infplayer: typeof Types$1.infplayer_row;
|
|
1948
|
+
infplayerloc: typeof Types$1.infplayerloc_row;
|
|
1949
|
+
infpool: typeof Types$1.infpool_row;
|
|
1950
|
+
infquality: typeof Types$1.infquality_row;
|
|
1951
|
+
inftally: typeof Types$1.inftally_row;
|
|
1952
|
+
infvote: typeof Types$1.infvote_row;
|
|
1953
|
+
infweight: typeof Types$1.infweight_row;
|
|
1954
|
+
jobs: typeof Types$1.job_row;
|
|
1955
|
+
mintq: typeof Types$1.mintq_row;
|
|
1956
|
+
nftconfig: typeof Types$1.nftconfig_row;
|
|
1957
|
+
oraclecfg: typeof Types$1.oracle_config_row;
|
|
1958
|
+
oracles: typeof Types$1.oracle_row;
|
|
1959
|
+
player: typeof Types$1.player_row;
|
|
1960
|
+
reserve: typeof Types$1.reserve_row;
|
|
1961
|
+
reveal: typeof Types$1.reveal_row;
|
|
1962
|
+
service: typeof Types$1.service_row;
|
|
1963
|
+
state: typeof Types$1.state_row;
|
|
1964
|
+
types: typeof Types$1.types_row;
|
|
1965
|
+
upgjobs: typeof Types$1.upgjob_row;
|
|
1966
|
+
wrapconfig: typeof Types$1.wrapconfig_row;
|
|
1967
|
+
wrapcost: typeof Types$1.wrapcost_row;
|
|
1379
1968
|
};
|
|
1380
|
-
interface TableTypes {
|
|
1381
|
-
cargo: Types.cargo_row;
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1969
|
+
interface TableTypes$1 {
|
|
1970
|
+
cargo: Types$1.cargo_row;
|
|
1971
|
+
charters: Types$1.charters_row;
|
|
1972
|
+
civicconfig: Types$1.civicconfig_row;
|
|
1973
|
+
claims: Types$1.claim_row;
|
|
1974
|
+
cluster: Types$1.cluster_row;
|
|
1975
|
+
commit: Types$1.commit_row;
|
|
1976
|
+
depot: Types$1.depot_row;
|
|
1977
|
+
depotacct: Types$1.depotacct_row;
|
|
1978
|
+
entity: Types$1.entity_row;
|
|
1979
|
+
entitygroup: Types$1.entitygroup_row;
|
|
1980
|
+
entityseq: Types$1.entity_seq_row;
|
|
1981
|
+
epoch: Types$1.epoch_row;
|
|
1982
|
+
infballot: Types$1.infballot_row;
|
|
1983
|
+
infburn: Types$1.infburn_row;
|
|
1984
|
+
infdemand: Types$1.infdemand_row;
|
|
1985
|
+
infloc: Types$1.infloc_row;
|
|
1986
|
+
infmint: Types$1.infmint_row;
|
|
1987
|
+
infplayer: Types$1.infplayer_row;
|
|
1988
|
+
infplayerloc: Types$1.infplayerloc_row;
|
|
1989
|
+
infpool: Types$1.infpool_row;
|
|
1990
|
+
infquality: Types$1.infquality_row;
|
|
1991
|
+
inftally: Types$1.inftally_row;
|
|
1992
|
+
infvote: Types$1.infvote_row;
|
|
1993
|
+
infweight: Types$1.infweight_row;
|
|
1994
|
+
jobs: Types$1.job_row;
|
|
1995
|
+
mintq: Types$1.mintq_row;
|
|
1996
|
+
nftconfig: Types$1.nftconfig_row;
|
|
1997
|
+
oraclecfg: Types$1.oracle_config_row;
|
|
1998
|
+
oracles: Types$1.oracle_row;
|
|
1999
|
+
player: Types$1.player_row;
|
|
2000
|
+
reserve: Types$1.reserve_row;
|
|
2001
|
+
reveal: Types$1.reveal_row;
|
|
2002
|
+
service: Types$1.service_row;
|
|
2003
|
+
state: Types$1.state_row;
|
|
2004
|
+
types: Types$1.types_row;
|
|
2005
|
+
upgjobs: Types$1.upgjob_row;
|
|
2006
|
+
wrapconfig: Types$1.wrapconfig_row;
|
|
2007
|
+
wrapcost: Types$1.wrapcost_row;
|
|
1402
2008
|
}
|
|
1403
|
-
type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any;
|
|
1404
|
-
type TableNames = keyof TableTypes;
|
|
1405
|
-
declare namespace ActionParams {
|
|
2009
|
+
type RowType$1<T> = T extends keyof TableTypes$1 ? TableTypes$1[T] : any;
|
|
2010
|
+
type TableNames$1 = keyof TableTypes$1;
|
|
2011
|
+
declare namespace ActionParams$1 {
|
|
1406
2012
|
namespace Type {
|
|
1407
|
-
interface
|
|
2013
|
+
interface cargo_item {
|
|
1408
2014
|
item_id: UInt16Type;
|
|
1409
2015
|
stats: UInt64Type;
|
|
1410
2016
|
modules: Type.module_entry[];
|
|
2017
|
+
quantity: UInt32Type;
|
|
1411
2018
|
entity_id?: UInt64Type;
|
|
1412
2019
|
}
|
|
1413
2020
|
interface module_entry {
|
|
@@ -1418,11 +2025,10 @@ declare namespace ActionParams {
|
|
|
1418
2025
|
item_id: UInt16Type;
|
|
1419
2026
|
stats: UInt64Type;
|
|
1420
2027
|
}
|
|
1421
|
-
interface
|
|
2028
|
+
interface cargo_ref {
|
|
1422
2029
|
item_id: UInt16Type;
|
|
1423
2030
|
stats: UInt64Type;
|
|
1424
2031
|
modules: Type.module_entry[];
|
|
1425
|
-
quantity: UInt32Type;
|
|
1426
2032
|
entity_id?: UInt64Type;
|
|
1427
2033
|
}
|
|
1428
2034
|
interface cluster_slot {
|
|
@@ -1519,10 +2125,21 @@ declare namespace ActionParams {
|
|
|
1519
2125
|
modules: Type.module_entry[];
|
|
1520
2126
|
sequence_id?: UInt64Type;
|
|
1521
2127
|
}
|
|
2128
|
+
interface epoch_row {
|
|
2129
|
+
epoch: UInt64Type;
|
|
2130
|
+
oracle_ids: NameType[];
|
|
2131
|
+
threshold: UInt8Type;
|
|
2132
|
+
seed: Checksum256Type;
|
|
2133
|
+
}
|
|
1522
2134
|
interface entitygroup_row {
|
|
1523
2135
|
id: UInt64Type;
|
|
1524
2136
|
participants: Type.entity_ref[];
|
|
1525
2137
|
}
|
|
2138
|
+
interface nftconfig_row {
|
|
2139
|
+
item_id: UInt16Type;
|
|
2140
|
+
template_id: Int32Type;
|
|
2141
|
+
schema_name: NameType;
|
|
2142
|
+
}
|
|
1526
2143
|
interface reserve_row {
|
|
1527
2144
|
id: UInt64Type;
|
|
1528
2145
|
coord_id: UInt64Type;
|
|
@@ -1561,6 +2178,16 @@ declare namespace ActionParams {
|
|
|
1561
2178
|
y: Int64Type;
|
|
1562
2179
|
}
|
|
1563
2180
|
}
|
|
2181
|
+
interface abandonplot {
|
|
2182
|
+
plot_id: UInt64Type;
|
|
2183
|
+
}
|
|
2184
|
+
interface addcontrib {
|
|
2185
|
+
player: NameType;
|
|
2186
|
+
entity_id: UInt64Type;
|
|
2187
|
+
x: Int64Type;
|
|
2188
|
+
y: Int64Type;
|
|
2189
|
+
bundle: Type.cargo_item[];
|
|
2190
|
+
}
|
|
1564
2191
|
interface addmodule {
|
|
1565
2192
|
entity_id: UInt64Type;
|
|
1566
2193
|
module_index: UInt8Type;
|
|
@@ -1592,6 +2219,13 @@ declare namespace ActionParams {
|
|
|
1592
2219
|
job_id: UInt64Type;
|
|
1593
2220
|
ship_id: UInt64Type;
|
|
1594
2221
|
}
|
|
2222
|
+
interface cancelupgrade {
|
|
2223
|
+
job_id: UInt64Type;
|
|
2224
|
+
}
|
|
2225
|
+
interface charterready {
|
|
2226
|
+
x: Int64Type;
|
|
2227
|
+
y: Int64Type;
|
|
2228
|
+
}
|
|
1595
2229
|
interface claimjob {
|
|
1596
2230
|
job_id: UInt64Type;
|
|
1597
2231
|
ship_id: UInt64Type;
|
|
@@ -1604,6 +2238,9 @@ declare namespace ActionParams {
|
|
|
1604
2238
|
interface claimstarter {
|
|
1605
2239
|
owner: NameType;
|
|
1606
2240
|
}
|
|
2241
|
+
interface claimupgrade {
|
|
2242
|
+
job_id: UInt64Type;
|
|
2243
|
+
}
|
|
1607
2244
|
interface cleanrsvp {
|
|
1608
2245
|
epoch: UInt64Type;
|
|
1609
2246
|
max_rows: UInt64Type;
|
|
@@ -1645,6 +2282,17 @@ declare namespace ActionParams {
|
|
|
1645
2282
|
quantity: UInt32Type;
|
|
1646
2283
|
inputs: Type.cargo_item[];
|
|
1647
2284
|
}
|
|
2285
|
+
interface dbgcredit {
|
|
2286
|
+
owner: NameType;
|
|
2287
|
+
x: Int64Type;
|
|
2288
|
+
y: Int64Type;
|
|
2289
|
+
amount_atomic: UInt64Type;
|
|
2290
|
+
}
|
|
2291
|
+
interface dbgmandate {
|
|
2292
|
+
x: Int64Type;
|
|
2293
|
+
y: Int64Type;
|
|
2294
|
+
node_id: UInt32Type;
|
|
2295
|
+
}
|
|
1648
2296
|
interface delentity {
|
|
1649
2297
|
entity_id: UInt64Type;
|
|
1650
2298
|
}
|
|
@@ -1656,6 +2304,16 @@ declare namespace ActionParams {
|
|
|
1656
2304
|
ref: Type.cargo_ref;
|
|
1657
2305
|
slot?: Type.cluster_slot;
|
|
1658
2306
|
}
|
|
2307
|
+
interface depotstore {
|
|
2308
|
+
ship_id: UInt64Type;
|
|
2309
|
+
depot_id: UInt64Type;
|
|
2310
|
+
items: Type.cargo_item[];
|
|
2311
|
+
}
|
|
2312
|
+
interface depottake {
|
|
2313
|
+
ship_id: UInt64Type;
|
|
2314
|
+
depot_id: UInt64Type;
|
|
2315
|
+
items: Type.cargo_item[];
|
|
2316
|
+
}
|
|
1659
2317
|
interface descentity {
|
|
1660
2318
|
item_id: UInt16Type;
|
|
1661
2319
|
hull_stats: UInt64Type;
|
|
@@ -1668,9 +2326,17 @@ declare namespace ActionParams {
|
|
|
1668
2326
|
interface fixcargomass {
|
|
1669
2327
|
entity_id: UInt64Type;
|
|
1670
2328
|
}
|
|
2329
|
+
interface fixitemids {
|
|
2330
|
+
}
|
|
1671
2331
|
interface forcereveal {
|
|
1672
2332
|
epoch: UInt64Type;
|
|
1673
2333
|
}
|
|
2334
|
+
interface found {
|
|
2335
|
+
player: NameType;
|
|
2336
|
+
entity_id: UInt64Type;
|
|
2337
|
+
x: Int64Type;
|
|
2338
|
+
y: Int64Type;
|
|
2339
|
+
}
|
|
1674
2340
|
interface gather {
|
|
1675
2341
|
source_id: UInt64Type;
|
|
1676
2342
|
destination_id: UInt64Type;
|
|
@@ -1689,15 +2355,32 @@ declare namespace ActionParams {
|
|
|
1689
2355
|
interface genesisfleet {
|
|
1690
2356
|
entities: Type.entity_row[];
|
|
1691
2357
|
}
|
|
2358
|
+
interface getcharter {
|
|
2359
|
+
x: Int64Type;
|
|
2360
|
+
y: Int64Type;
|
|
2361
|
+
}
|
|
2362
|
+
interface getcharttree {
|
|
2363
|
+
}
|
|
1692
2364
|
interface getcluster {
|
|
1693
2365
|
hub_id: UInt64Type;
|
|
1694
2366
|
}
|
|
1695
2367
|
interface getconfig {
|
|
1696
2368
|
}
|
|
2369
|
+
interface getdecomp {
|
|
2370
|
+
item_id: UInt16Type;
|
|
2371
|
+
}
|
|
2372
|
+
interface getdemand {
|
|
2373
|
+
x: Int64Type;
|
|
2374
|
+
y: Int64Type;
|
|
2375
|
+
}
|
|
1697
2376
|
interface getdeposit {
|
|
1698
2377
|
owner: NameType;
|
|
1699
2378
|
asset_id: UInt64Type;
|
|
1700
2379
|
}
|
|
2380
|
+
interface getdepot {
|
|
2381
|
+
depot_id: UInt64Type;
|
|
2382
|
+
owner: NameType;
|
|
2383
|
+
}
|
|
1701
2384
|
interface getdistance {
|
|
1702
2385
|
ax: Int64Type;
|
|
1703
2386
|
ay: Int64Type;
|
|
@@ -1720,6 +2403,20 @@ declare namespace ActionParams {
|
|
|
1720
2403
|
interface getfootprint {
|
|
1721
2404
|
item_id: UInt16Type;
|
|
1722
2405
|
}
|
|
2406
|
+
interface getinfdecay {
|
|
2407
|
+
active: UInt64Type;
|
|
2408
|
+
epochs: UInt32Type;
|
|
2409
|
+
}
|
|
2410
|
+
interface getinfluence {
|
|
2411
|
+
owner: NameType;
|
|
2412
|
+
x: Int64Type;
|
|
2413
|
+
y: Int64Type;
|
|
2414
|
+
}
|
|
2415
|
+
interface getinfvalue {
|
|
2416
|
+
items: Type.cargo_item[];
|
|
2417
|
+
x: Int64Type;
|
|
2418
|
+
y: Int64Type;
|
|
2419
|
+
}
|
|
1723
2420
|
interface getitemdata {
|
|
1724
2421
|
}
|
|
1725
2422
|
interface getitemids {
|
|
@@ -1744,6 +2441,8 @@ declare namespace ActionParams {
|
|
|
1744
2441
|
x: Int64Type;
|
|
1745
2442
|
y: Int64Type;
|
|
1746
2443
|
}
|
|
2444
|
+
interface getmintcfg {
|
|
2445
|
+
}
|
|
1747
2446
|
interface getmodtypes {
|
|
1748
2447
|
}
|
|
1749
2448
|
interface getmodules {
|
|
@@ -1759,6 +2458,12 @@ declare namespace ActionParams {
|
|
|
1759
2458
|
interface getplayer {
|
|
1760
2459
|
account: NameType;
|
|
1761
2460
|
}
|
|
2461
|
+
interface getpool {
|
|
2462
|
+
category: UInt8Type;
|
|
2463
|
+
tier: UInt8Type;
|
|
2464
|
+
}
|
|
2465
|
+
interface getpools {
|
|
2466
|
+
}
|
|
1762
2467
|
interface getprojstate {
|
|
1763
2468
|
entity_id: UInt64Type;
|
|
1764
2469
|
task_count?: UInt8Type;
|
|
@@ -1792,6 +2497,13 @@ declare namespace ActionParams {
|
|
|
1792
2497
|
owner: NameType;
|
|
1793
2498
|
entity_type?: NameType;
|
|
1794
2499
|
}
|
|
2500
|
+
interface getupgjobs {
|
|
2501
|
+
dock_id: UInt64Type;
|
|
2502
|
+
}
|
|
2503
|
+
interface getvotes {
|
|
2504
|
+
x: Int64Type;
|
|
2505
|
+
y: Int64Type;
|
|
2506
|
+
}
|
|
1795
2507
|
interface getwormhole {
|
|
1796
2508
|
x: Int64Type;
|
|
1797
2509
|
y: Int64Type;
|
|
@@ -1827,9 +2539,15 @@ declare namespace ActionParams {
|
|
|
1827
2539
|
interface importentity {
|
|
1828
2540
|
row: Type.entity_row;
|
|
1829
2541
|
}
|
|
2542
|
+
interface importepoch {
|
|
2543
|
+
row: Type.epoch_row;
|
|
2544
|
+
}
|
|
1830
2545
|
interface importgroup {
|
|
1831
2546
|
row: Type.entitygroup_row;
|
|
1832
2547
|
}
|
|
2548
|
+
interface importnftcfg {
|
|
2549
|
+
row: Type.nftconfig_row;
|
|
2550
|
+
}
|
|
1833
2551
|
interface importplayer {
|
|
1834
2552
|
owner: NameType;
|
|
1835
2553
|
}
|
|
@@ -1853,6 +2571,9 @@ declare namespace ActionParams {
|
|
|
1853
2571
|
from_id: UInt64Type;
|
|
1854
2572
|
items: Type.cargo_item[];
|
|
1855
2573
|
}
|
|
2574
|
+
interface mintready {
|
|
2575
|
+
max_mints?: UInt32Type;
|
|
2576
|
+
}
|
|
1856
2577
|
interface movetile {
|
|
1857
2578
|
hub_id: UInt64Type;
|
|
1858
2579
|
from_gx: Int8Type;
|
|
@@ -1860,6 +2581,11 @@ declare namespace ActionParams {
|
|
|
1860
2581
|
to_gx: Int8Type;
|
|
1861
2582
|
to_gy: Int8Type;
|
|
1862
2583
|
}
|
|
2584
|
+
interface naturalize {
|
|
2585
|
+
player: NameType;
|
|
2586
|
+
x: Int64Type;
|
|
2587
|
+
y: Int64Type;
|
|
2588
|
+
}
|
|
1863
2589
|
interface nftimgurl {
|
|
1864
2590
|
item: Type.cargo_item;
|
|
1865
2591
|
location?: Type.coordinates;
|
|
@@ -1925,6 +2651,27 @@ declare namespace ActionParams {
|
|
|
1925
2651
|
x: Int64Type;
|
|
1926
2652
|
y: Int64Type;
|
|
1927
2653
|
}
|
|
2654
|
+
interface setinfburn {
|
|
2655
|
+
bps: UInt16Type;
|
|
2656
|
+
}
|
|
2657
|
+
interface setinfd1 {
|
|
2658
|
+
d1: UInt32Type;
|
|
2659
|
+
}
|
|
2660
|
+
interface setinfdemand {
|
|
2661
|
+
peak: UInt64Type;
|
|
2662
|
+
base: UInt64Type;
|
|
2663
|
+
floor: UInt64Type;
|
|
2664
|
+
}
|
|
2665
|
+
interface setinfmint {
|
|
2666
|
+
category: UInt8Type;
|
|
2667
|
+
tier: UInt8Type;
|
|
2668
|
+
threshold: UInt64Type;
|
|
2669
|
+
}
|
|
2670
|
+
interface setinfweight {
|
|
2671
|
+
category: UInt8Type;
|
|
2672
|
+
tier: UInt8Type;
|
|
2673
|
+
weight_fp: UInt64Type;
|
|
2674
|
+
}
|
|
1928
2675
|
interface setnextid {
|
|
1929
2676
|
next_id: UInt64Type;
|
|
1930
2677
|
}
|
|
@@ -2014,6 +2761,21 @@ declare namespace ActionParams {
|
|
|
2014
2761
|
inputs: Type.cargo_item[];
|
|
2015
2762
|
slot?: UInt8Type;
|
|
2016
2763
|
}
|
|
2764
|
+
interface upgradejob {
|
|
2765
|
+
target_id: UInt64Type;
|
|
2766
|
+
dock_id: UInt64Type;
|
|
2767
|
+
target_item_id: UInt16Type;
|
|
2768
|
+
inputs: Type.cargo_item[];
|
|
2769
|
+
}
|
|
2770
|
+
interface votecharter {
|
|
2771
|
+
player: NameType;
|
|
2772
|
+
x: Int64Type;
|
|
2773
|
+
y: Int64Type;
|
|
2774
|
+
node_id: UInt32Type;
|
|
2775
|
+
}
|
|
2776
|
+
interface voteready {
|
|
2777
|
+
max_ballots: UInt32Type;
|
|
2778
|
+
}
|
|
2017
2779
|
interface warp {
|
|
2018
2780
|
id: UInt64Type;
|
|
2019
2781
|
x: Int64Type;
|
|
@@ -2022,232 +2784,418 @@ declare namespace ActionParams {
|
|
|
2022
2784
|
interface wipe {
|
|
2023
2785
|
}
|
|
2024
2786
|
}
|
|
2025
|
-
interface ActionNameParams {
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2787
|
+
interface ActionNameParams$1 {
|
|
2788
|
+
abandonplot: ActionParams$1.abandonplot;
|
|
2789
|
+
addcontrib: ActionParams$1.addcontrib;
|
|
2790
|
+
addmodule: ActionParams$1.addmodule;
|
|
2791
|
+
addnexus: ActionParams$1.addnexus;
|
|
2792
|
+
addoracle: ActionParams$1.addoracle;
|
|
2793
|
+
blend: ActionParams$1.blend;
|
|
2794
|
+
buildplot: ActionParams$1.buildplot;
|
|
2795
|
+
cancel: ActionParams$1.cancel;
|
|
2796
|
+
canceljob: ActionParams$1.canceljob;
|
|
2797
|
+
cancelupgrade: ActionParams$1.cancelupgrade;
|
|
2798
|
+
charterready: ActionParams$1.charterready;
|
|
2799
|
+
claimjob: ActionParams$1.claimjob;
|
|
2800
|
+
claimplot: ActionParams$1.claimplot;
|
|
2801
|
+
claimstarter: ActionParams$1.claimstarter;
|
|
2802
|
+
claimupgrade: ActionParams$1.claimupgrade;
|
|
2803
|
+
cleanrsvp: ActionParams$1.cleanrsvp;
|
|
2804
|
+
cleartable: ActionParams$1.cleartable;
|
|
2805
|
+
clustercraft: ActionParams$1.clustercraft;
|
|
2806
|
+
commit: ActionParams$1.commit;
|
|
2807
|
+
configlog: ActionParams$1.configlog;
|
|
2808
|
+
craft: ActionParams$1.craft;
|
|
2809
|
+
craftjob: ActionParams$1.craftjob;
|
|
2810
|
+
dbgcredit: ActionParams$1.dbgcredit;
|
|
2811
|
+
dbgmandate: ActionParams$1.dbgmandate;
|
|
2812
|
+
delentity: ActionParams$1.delentity;
|
|
2813
|
+
demolish: ActionParams$1.demolish;
|
|
2814
|
+
deploy: ActionParams$1.deploy;
|
|
2815
|
+
depotstore: ActionParams$1.depotstore;
|
|
2816
|
+
depottake: ActionParams$1.depottake;
|
|
2817
|
+
descentity: ActionParams$1.descentity;
|
|
2818
|
+
enable: ActionParams$1.enable;
|
|
2819
|
+
fixcargomass: ActionParams$1.fixcargomass;
|
|
2820
|
+
fixitemids: ActionParams$1.fixitemids;
|
|
2821
|
+
forcereveal: ActionParams$1.forcereveal;
|
|
2822
|
+
found: ActionParams$1.found;
|
|
2823
|
+
gather: ActionParams$1.gather;
|
|
2824
|
+
gatherplan: ActionParams$1.gatherplan;
|
|
2825
|
+
genesisfleet: ActionParams$1.genesisfleet;
|
|
2826
|
+
getcharter: ActionParams$1.getcharter;
|
|
2827
|
+
getcharttree: ActionParams$1.getcharttree;
|
|
2828
|
+
getcluster: ActionParams$1.getcluster;
|
|
2829
|
+
getconfig: ActionParams$1.getconfig;
|
|
2830
|
+
getdecomp: ActionParams$1.getdecomp;
|
|
2831
|
+
getdemand: ActionParams$1.getdemand;
|
|
2832
|
+
getdeposit: ActionParams$1.getdeposit;
|
|
2833
|
+
getdepot: ActionParams$1.getdepot;
|
|
2834
|
+
getdistance: ActionParams$1.getdistance;
|
|
2835
|
+
geteligible: ActionParams$1.geteligible;
|
|
2836
|
+
getentcls: ActionParams$1.getentcls;
|
|
2837
|
+
getentities: ActionParams$1.getentities;
|
|
2838
|
+
getentity: ActionParams$1.getentity;
|
|
2839
|
+
getfootprint: ActionParams$1.getfootprint;
|
|
2840
|
+
getinfdecay: ActionParams$1.getinfdecay;
|
|
2841
|
+
getinfluence: ActionParams$1.getinfluence;
|
|
2842
|
+
getinfvalue: ActionParams$1.getinfvalue;
|
|
2843
|
+
getitemdata: ActionParams$1.getitemdata;
|
|
2844
|
+
getitemids: ActionParams$1.getitemids;
|
|
2845
|
+
getitems: ActionParams$1.getitems;
|
|
2846
|
+
getitemtype: ActionParams$1.getitemtype;
|
|
2847
|
+
getitemtypes: ActionParams$1.getitemtypes;
|
|
2848
|
+
getjobs: ActionParams$1.getjobs;
|
|
2849
|
+
getkindmeta: ActionParams$1.getkindmeta;
|
|
2850
|
+
getlocation: ActionParams$1.getlocation;
|
|
2851
|
+
getlocdata: ActionParams$1.getlocdata;
|
|
2852
|
+
getmintcfg: ActionParams$1.getmintcfg;
|
|
2853
|
+
getmodtypes: ActionParams$1.getmodtypes;
|
|
2854
|
+
getmodules: ActionParams$1.getmodules;
|
|
2855
|
+
getnearby: ActionParams$1.getnearby;
|
|
2856
|
+
getnftbase: ActionParams$1.getnftbase;
|
|
2857
|
+
getnftinfo: ActionParams$1.getnftinfo;
|
|
2858
|
+
getplayer: ActionParams$1.getplayer;
|
|
2859
|
+
getpool: ActionParams$1.getpool;
|
|
2860
|
+
getpools: ActionParams$1.getpools;
|
|
2861
|
+
getprojstate: ActionParams$1.getprojstate;
|
|
2862
|
+
getrecipe: ActionParams$1.getrecipe;
|
|
2863
|
+
getrecipes: ActionParams$1.getrecipes;
|
|
2864
|
+
getrescats: ActionParams$1.getrescats;
|
|
2865
|
+
getreserves: ActionParams$1.getreserves;
|
|
2866
|
+
getresources: ActionParams$1.getresources;
|
|
2867
|
+
getservice: ActionParams$1.getservice;
|
|
2868
|
+
getslots: ActionParams$1.getslots;
|
|
2869
|
+
getstratum: ActionParams$1.getstratum;
|
|
2870
|
+
getsummaries: ActionParams$1.getsummaries;
|
|
2871
|
+
getupgjobs: ActionParams$1.getupgjobs;
|
|
2872
|
+
getvotes: ActionParams$1.getvotes;
|
|
2873
|
+
getwormhole: ActionParams$1.getwormhole;
|
|
2874
|
+
grouptransit: ActionParams$1.grouptransit;
|
|
2875
|
+
grouptravel: ActionParams$1.grouptravel;
|
|
2876
|
+
hash: ActionParams$1.hash;
|
|
2877
|
+
hash512: ActionParams$1.hash512;
|
|
2878
|
+
importcargo: ActionParams$1.importcargo;
|
|
2879
|
+
importcell: ActionParams$1.importcell;
|
|
2880
|
+
importentity: ActionParams$1.importentity;
|
|
2881
|
+
importepoch: ActionParams$1.importepoch;
|
|
2882
|
+
importgroup: ActionParams$1.importgroup;
|
|
2883
|
+
importnftcfg: ActionParams$1.importnftcfg;
|
|
2884
|
+
importplayer: ActionParams$1.importplayer;
|
|
2885
|
+
importreserve: ActionParams$1.importreserve;
|
|
2886
|
+
importstate: ActionParams$1.importstate;
|
|
2887
|
+
join: ActionParams$1.join;
|
|
2888
|
+
launch: ActionParams$1.launch;
|
|
2889
|
+
load: ActionParams$1.load;
|
|
2890
|
+
mintready: ActionParams$1.mintready;
|
|
2891
|
+
movetile: ActionParams$1.movetile;
|
|
2892
|
+
naturalize: ActionParams$1.naturalize;
|
|
2893
|
+
nftimgurl: ActionParams$1.nftimgurl;
|
|
2894
|
+
notify: ActionParams$1.notify;
|
|
2895
|
+
placecargo: ActionParams$1.placecargo;
|
|
2896
|
+
placeentity: ActionParams$1.placeentity;
|
|
2897
|
+
recharge: ActionParams$1.recharge;
|
|
2898
|
+
refrshentity: ActionParams$1.refrshentity;
|
|
2899
|
+
removeoracle: ActionParams$1.removeoracle;
|
|
2900
|
+
rename: ActionParams$1.rename;
|
|
2901
|
+
resolve: ActionParams$1.resolve;
|
|
2902
|
+
resolveall: ActionParams$1.resolveall;
|
|
2903
|
+
resolveearly: ActionParams$1.resolveearly;
|
|
2904
|
+
reveal: ActionParams$1.reveal;
|
|
2905
|
+
rmmodule: ActionParams$1.rmmodule;
|
|
2906
|
+
rmnftcfg: ActionParams$1.rmnftcfg;
|
|
2907
|
+
setcivic: ActionParams$1.setcivic;
|
|
2908
|
+
setcluster: ActionParams$1.setcluster;
|
|
2909
|
+
setcoords: ActionParams$1.setcoords;
|
|
2910
|
+
setinfburn: ActionParams$1.setinfburn;
|
|
2911
|
+
setinfd1: ActionParams$1.setinfd1;
|
|
2912
|
+
setinfdemand: ActionParams$1.setinfdemand;
|
|
2913
|
+
setinfmint: ActionParams$1.setinfmint;
|
|
2914
|
+
setinfweight: ActionParams$1.setinfweight;
|
|
2915
|
+
setnextid: ActionParams$1.setnextid;
|
|
2916
|
+
setnftcfg: ActionParams$1.setnftcfg;
|
|
2917
|
+
setsocket: ActionParams$1.setsocket;
|
|
2918
|
+
setthreshold: ActionParams$1.setthreshold;
|
|
2919
|
+
setwrapcost: ActionParams$1.setwrapcost;
|
|
2920
|
+
setwrapfee: ActionParams$1.setwrapfee;
|
|
2921
|
+
shuttle: ActionParams$1.shuttle;
|
|
2922
|
+
stowcargo: ActionParams$1.stowcargo;
|
|
2923
|
+
stowentity: ActionParams$1.stowentity;
|
|
2924
|
+
swapmodule: ActionParams$1.swapmodule;
|
|
2925
|
+
swaptile: ActionParams$1.swaptile;
|
|
2926
|
+
transit: ActionParams$1.transit;
|
|
2927
|
+
travel: ActionParams$1.travel;
|
|
2928
|
+
travelplan: ActionParams$1.travelplan;
|
|
2929
|
+
undeploy: ActionParams$1.undeploy;
|
|
2930
|
+
unload: ActionParams$1.unload;
|
|
2931
|
+
upgrade: ActionParams$1.upgrade;
|
|
2932
|
+
upgradejob: ActionParams$1.upgradejob;
|
|
2933
|
+
votecharter: ActionParams$1.votecharter;
|
|
2934
|
+
voteready: ActionParams$1.voteready;
|
|
2935
|
+
warp: ActionParams$1.warp;
|
|
2936
|
+
wipe: ActionParams$1.wipe;
|
|
2139
2937
|
}
|
|
2140
|
-
type ActionNames = keyof ActionNameParams;
|
|
2938
|
+
type ActionNames$1 = keyof ActionNameParams$1;
|
|
2141
2939
|
interface ActionReturnValues {
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2940
|
+
abandonplot: Types$1.task_results;
|
|
2941
|
+
addcontrib: Types$1.task_results;
|
|
2942
|
+
buildplot: Types$1.task_results;
|
|
2943
|
+
cancel: Types$1.cancel_results;
|
|
2944
|
+
claimplot: Types$1.task_results;
|
|
2945
|
+
clustercraft: Types$1.task_results;
|
|
2946
|
+
craft: Types$1.task_results;
|
|
2947
|
+
craftjob: Types$1.job_receipt;
|
|
2948
|
+
demolish: Types$1.task_results;
|
|
2949
|
+
deploy: Types$1.task_results;
|
|
2950
|
+
depotstore: Types$1.task_results;
|
|
2951
|
+
depottake: Types$1.task_results;
|
|
2150
2952
|
descentity: string;
|
|
2151
|
-
gather: Types.task_results;
|
|
2152
|
-
gatherplan: Types.task_results;
|
|
2153
|
-
|
|
2154
|
-
|
|
2953
|
+
gather: Types$1.task_results;
|
|
2954
|
+
gatherplan: Types$1.task_results;
|
|
2955
|
+
getcharter: Types$1.charter_result;
|
|
2956
|
+
getcharttree: Types$1.charter_tree_result;
|
|
2957
|
+
getcluster: Types$1.cluster_row;
|
|
2958
|
+
getconfig: Types$1.game_config;
|
|
2959
|
+
getdecomp: Types$1.decomp_result;
|
|
2960
|
+
getdemand: Types$1.demand_result;
|
|
2155
2961
|
getdeposit: ExtendedAsset;
|
|
2962
|
+
getdepot: Types$1.depot_view;
|
|
2156
2963
|
getdistance: UInt64;
|
|
2157
2964
|
geteligible: UInt16[];
|
|
2158
|
-
getentcls: Types.enum_result;
|
|
2159
|
-
getentities: Types.entity_info[];
|
|
2160
|
-
getentity: Types.entity_info;
|
|
2161
|
-
getfootprint: Types.footprint_result;
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2965
|
+
getentcls: Types$1.enum_result;
|
|
2966
|
+
getentities: Types$1.entity_info[];
|
|
2967
|
+
getentity: Types$1.entity_info;
|
|
2968
|
+
getfootprint: Types$1.footprint_result;
|
|
2969
|
+
getinfdecay: UInt64;
|
|
2970
|
+
getinfluence: Types$1.influence_totals;
|
|
2971
|
+
getinfvalue: Types$1.infvalue_result;
|
|
2972
|
+
getitemdata: Types$1.itemdata_result;
|
|
2973
|
+
getitemids: Types$1.item_ids_result;
|
|
2974
|
+
getitems: Types$1.items_info;
|
|
2165
2975
|
getitemtype: UInt8;
|
|
2166
|
-
getitemtypes: Types.enum_result;
|
|
2167
|
-
getjobs: Types.jobs_result;
|
|
2168
|
-
getkindmeta: Types.kind_meta_result;
|
|
2169
|
-
getlocation: Types.location_info;
|
|
2170
|
-
getlocdata: Types.location_derived;
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2976
|
+
getitemtypes: Types$1.enum_result;
|
|
2977
|
+
getjobs: Types$1.jobs_result;
|
|
2978
|
+
getkindmeta: Types$1.kind_meta_result;
|
|
2979
|
+
getlocation: Types$1.location_info;
|
|
2980
|
+
getlocdata: Types$1.location_derived;
|
|
2981
|
+
getmintcfg: Types$1.mintcfg_result;
|
|
2982
|
+
getmodtypes: Types$1.enum_result;
|
|
2983
|
+
getmodules: Types$1.modules_result;
|
|
2984
|
+
getnearby: Types$1.nearby_info;
|
|
2174
2985
|
getnftbase: string[];
|
|
2175
|
-
getnftinfo: Types.nftinfo_result;
|
|
2176
|
-
getplayer: Types.player_info;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2986
|
+
getnftinfo: Types$1.nftinfo_result;
|
|
2987
|
+
getplayer: Types$1.player_info;
|
|
2988
|
+
getpool: Types$1.pool_pair_result;
|
|
2989
|
+
getpools: Types$1.pools_result;
|
|
2990
|
+
getprojstate: Types$1.projected_state;
|
|
2991
|
+
getrecipe: Types$1.recipes_result;
|
|
2992
|
+
getrecipes: Types$1.recipes_result;
|
|
2993
|
+
getrescats: Types$1.enum_result;
|
|
2994
|
+
getreserves: Types$1.stratum_remaining[];
|
|
2995
|
+
getresources: Types$1.resources_result;
|
|
2996
|
+
getservice: Types$1.service_row;
|
|
2997
|
+
getslots: Types$1.entity_layouts_result;
|
|
2998
|
+
getstratum: Types$1.stratum_data;
|
|
2999
|
+
getsummaries: Types$1.entity_summary[];
|
|
3000
|
+
getupgjobs: Types$1.upgjobs_result;
|
|
3001
|
+
getvotes: Types$1.vote_result;
|
|
3002
|
+
getwormhole: Types$1.wormhole_info;
|
|
3003
|
+
grouptransit: Types$1.task_results;
|
|
3004
|
+
grouptravel: Types$1.task_results;
|
|
2190
3005
|
hash: Checksum256;
|
|
2191
3006
|
hash512: Checksum512;
|
|
2192
|
-
launch: Types.task_results;
|
|
2193
|
-
load: Types.task_results;
|
|
2194
|
-
movetile: Types.task_results;
|
|
3007
|
+
launch: Types$1.task_results;
|
|
3008
|
+
load: Types$1.task_results;
|
|
3009
|
+
movetile: Types$1.task_results;
|
|
2195
3010
|
nftimgurl: string;
|
|
2196
|
-
placecargo: Types.task_results;
|
|
2197
|
-
placeentity: Types.task_results;
|
|
2198
|
-
recharge: Types.task_results;
|
|
2199
|
-
resolve: Types.resolve_results;
|
|
2200
|
-
resolveall: Types.resolveall_results;
|
|
2201
|
-
resolveearly: Types.resolve_results;
|
|
2202
|
-
shuttle: Types.task_results;
|
|
2203
|
-
stowcargo: Types.task_results;
|
|
2204
|
-
stowentity: Types.task_results;
|
|
2205
|
-
swaptile: Types.task_results;
|
|
2206
|
-
transit: Types.task_results;
|
|
2207
|
-
travel: Types.task_results;
|
|
2208
|
-
travelplan: Types.task_results;
|
|
2209
|
-
undeploy: Types.task_results;
|
|
2210
|
-
unload: Types.task_results;
|
|
2211
|
-
upgrade: Types.task_results;
|
|
2212
|
-
|
|
3011
|
+
placecargo: Types$1.task_results;
|
|
3012
|
+
placeentity: Types$1.task_results;
|
|
3013
|
+
recharge: Types$1.task_results;
|
|
3014
|
+
resolve: Types$1.resolve_results;
|
|
3015
|
+
resolveall: Types$1.resolveall_results;
|
|
3016
|
+
resolveearly: Types$1.resolve_results;
|
|
3017
|
+
shuttle: Types$1.task_results;
|
|
3018
|
+
stowcargo: Types$1.task_results;
|
|
3019
|
+
stowentity: Types$1.task_results;
|
|
3020
|
+
swaptile: Types$1.task_results;
|
|
3021
|
+
transit: Types$1.task_results;
|
|
3022
|
+
travel: Types$1.task_results;
|
|
3023
|
+
travelplan: Types$1.task_results;
|
|
3024
|
+
undeploy: Types$1.task_results;
|
|
3025
|
+
unload: Types$1.task_results;
|
|
3026
|
+
upgrade: Types$1.task_results;
|
|
3027
|
+
upgradejob: Types$1.job_receipt;
|
|
3028
|
+
warp: Types$1.task_results;
|
|
2213
3029
|
}
|
|
2214
3030
|
type ActionReturnNames = keyof ActionReturnValues;
|
|
2215
|
-
declare class Contract extends Contract$
|
|
3031
|
+
declare class Contract$1 extends Contract$4 {
|
|
2216
3032
|
constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
|
|
2217
|
-
action<T extends ActionNames>(name: T, data: ActionNameParams[T], options?: ActionOptions): Action;
|
|
2218
|
-
readonly<T extends ActionReturnNames>(name: T, data?: ActionNameParams[T]): ActionReturnValues[T];
|
|
2219
|
-
table<T extends TableNames>(name: T, scope?: NameType): Table<RowType<T>>;
|
|
3033
|
+
action<T extends ActionNames$1>(name: T, data: ActionNameParams$1[T], options?: ActionOptions): Action;
|
|
3034
|
+
readonly<T extends ActionReturnNames>(name: T, data?: ActionNameParams$1[T]): ActionReturnValues[T];
|
|
3035
|
+
table<T extends TableNames$1>(name: T, scope?: NameType): Table<RowType$1<T>>;
|
|
2220
3036
|
}
|
|
2221
3037
|
|
|
2222
|
-
declare const server_abiBlob: typeof abiBlob;
|
|
2223
|
-
declare const server_abi: typeof abi;
|
|
2224
|
-
declare const server_Types: typeof Types;
|
|
2225
|
-
declare const server_TableMap: typeof TableMap;
|
|
2226
|
-
type server_TableTypes = TableTypes;
|
|
2227
|
-
type server_RowType<T> = RowType<T>;
|
|
2228
|
-
type server_TableNames = TableNames;
|
|
2229
|
-
declare const server_ActionParams: typeof ActionParams;
|
|
2230
|
-
type server_ActionNameParams = ActionNameParams;
|
|
2231
|
-
type server_ActionNames = ActionNames;
|
|
2232
3038
|
type server_ActionReturnValues = ActionReturnValues;
|
|
2233
3039
|
type server_ActionReturnNames = ActionReturnNames;
|
|
2234
|
-
type server_Contract = Contract;
|
|
2235
|
-
declare const server_Contract: typeof Contract;
|
|
2236
3040
|
declare namespace server {
|
|
2237
3041
|
export {
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
3042
|
+
abiBlob$1 as abiBlob,
|
|
3043
|
+
abi$1 as abi,
|
|
3044
|
+
Types$1 as Types,
|
|
3045
|
+
TableMap$1 as TableMap,
|
|
3046
|
+
TableTypes$1 as TableTypes,
|
|
3047
|
+
RowType$1 as RowType,
|
|
3048
|
+
TableNames$1 as TableNames,
|
|
3049
|
+
ActionParams$1 as ActionParams,
|
|
3050
|
+
ActionNameParams$1 as ActionNameParams,
|
|
3051
|
+
ActionNames$1 as ActionNames,
|
|
2248
3052
|
server_ActionReturnValues as ActionReturnValues,
|
|
2249
3053
|
server_ActionReturnNames as ActionReturnNames,
|
|
2250
|
-
|
|
3054
|
+
Contract$1 as Contract,
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
declare const abiBlob: Blob;
|
|
3059
|
+
declare const abi: ABI;
|
|
3060
|
+
declare namespace Types {
|
|
3061
|
+
class account extends Struct {
|
|
3062
|
+
balance: Asset;
|
|
3063
|
+
}
|
|
3064
|
+
class close extends Struct {
|
|
3065
|
+
owner: Name;
|
|
3066
|
+
symbol: Asset.Symbol;
|
|
3067
|
+
}
|
|
3068
|
+
class create extends Struct {
|
|
3069
|
+
issuer: Name;
|
|
3070
|
+
maximum_supply: Asset;
|
|
3071
|
+
}
|
|
3072
|
+
class currency_stats extends Struct {
|
|
3073
|
+
supply: Asset;
|
|
3074
|
+
max_supply: Asset;
|
|
3075
|
+
issuer: Name;
|
|
3076
|
+
}
|
|
3077
|
+
class issue extends Struct {
|
|
3078
|
+
to: Name;
|
|
3079
|
+
quantity: Asset;
|
|
3080
|
+
memo: string;
|
|
3081
|
+
}
|
|
3082
|
+
class issuefixed extends Struct {
|
|
3083
|
+
to: Name;
|
|
3084
|
+
supply: Asset;
|
|
3085
|
+
memo: string;
|
|
3086
|
+
}
|
|
3087
|
+
class open extends Struct {
|
|
3088
|
+
owner: Name;
|
|
3089
|
+
symbol: Asset.Symbol;
|
|
3090
|
+
ram_payer: Name;
|
|
3091
|
+
}
|
|
3092
|
+
class retire extends Struct {
|
|
3093
|
+
quantity: Asset;
|
|
3094
|
+
memo: string;
|
|
3095
|
+
}
|
|
3096
|
+
class setmaxsupply extends Struct {
|
|
3097
|
+
issuer: Name;
|
|
3098
|
+
maximum_supply: Asset;
|
|
3099
|
+
}
|
|
3100
|
+
class transfer extends Struct {
|
|
3101
|
+
from: Name;
|
|
3102
|
+
to: Name;
|
|
3103
|
+
quantity: Asset;
|
|
3104
|
+
memo: string;
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
declare const TableMap: {
|
|
3108
|
+
accounts: typeof Types.account;
|
|
3109
|
+
stat: typeof Types.currency_stats;
|
|
3110
|
+
};
|
|
3111
|
+
interface TableTypes {
|
|
3112
|
+
accounts: Types.account;
|
|
3113
|
+
stat: Types.currency_stats;
|
|
3114
|
+
}
|
|
3115
|
+
type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any;
|
|
3116
|
+
type TableNames = keyof TableTypes;
|
|
3117
|
+
declare namespace ActionParams {
|
|
3118
|
+
namespace Type { }
|
|
3119
|
+
interface close {
|
|
3120
|
+
owner: NameType;
|
|
3121
|
+
symbol: Asset.SymbolType;
|
|
3122
|
+
}
|
|
3123
|
+
interface create {
|
|
3124
|
+
issuer: NameType;
|
|
3125
|
+
maximum_supply: AssetType;
|
|
3126
|
+
}
|
|
3127
|
+
interface issue {
|
|
3128
|
+
to: NameType;
|
|
3129
|
+
quantity: AssetType;
|
|
3130
|
+
memo: string;
|
|
3131
|
+
}
|
|
3132
|
+
interface issuefixed {
|
|
3133
|
+
to: NameType;
|
|
3134
|
+
supply: AssetType;
|
|
3135
|
+
memo: string;
|
|
3136
|
+
}
|
|
3137
|
+
interface open {
|
|
3138
|
+
owner: NameType;
|
|
3139
|
+
symbol: Asset.SymbolType;
|
|
3140
|
+
ram_payer: NameType;
|
|
3141
|
+
}
|
|
3142
|
+
interface retire {
|
|
3143
|
+
quantity: AssetType;
|
|
3144
|
+
memo: string;
|
|
3145
|
+
}
|
|
3146
|
+
interface setmaxsupply {
|
|
3147
|
+
issuer: NameType;
|
|
3148
|
+
maximum_supply: AssetType;
|
|
3149
|
+
}
|
|
3150
|
+
interface transfer {
|
|
3151
|
+
from: NameType;
|
|
3152
|
+
to: NameType;
|
|
3153
|
+
quantity: AssetType;
|
|
3154
|
+
memo: string;
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
interface ActionNameParams {
|
|
3158
|
+
close: ActionParams.close;
|
|
3159
|
+
create: ActionParams.create;
|
|
3160
|
+
issue: ActionParams.issue;
|
|
3161
|
+
issuefixed: ActionParams.issuefixed;
|
|
3162
|
+
open: ActionParams.open;
|
|
3163
|
+
retire: ActionParams.retire;
|
|
3164
|
+
setmaxsupply: ActionParams.setmaxsupply;
|
|
3165
|
+
transfer: ActionParams.transfer;
|
|
3166
|
+
}
|
|
3167
|
+
type ActionNames = keyof ActionNameParams;
|
|
3168
|
+
declare class Contract extends Contract$4 {
|
|
3169
|
+
constructor(args: PartialBy<ContractArgs, 'abi' | 'account'>);
|
|
3170
|
+
action<T extends ActionNames>(name: T, data: ActionNameParams[T], options?: ActionOptions): Action;
|
|
3171
|
+
table<T extends TableNames>(name: T, scope?: NameType): Table<RowType<T>>;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
declare const token_abiBlob: typeof abiBlob;
|
|
3175
|
+
declare const token_abi: typeof abi;
|
|
3176
|
+
declare const token_Types: typeof Types;
|
|
3177
|
+
declare const token_TableMap: typeof TableMap;
|
|
3178
|
+
type token_TableTypes = TableTypes;
|
|
3179
|
+
type token_RowType<T> = RowType<T>;
|
|
3180
|
+
type token_TableNames = TableNames;
|
|
3181
|
+
declare const token_ActionParams: typeof ActionParams;
|
|
3182
|
+
type token_ActionNameParams = ActionNameParams;
|
|
3183
|
+
type token_ActionNames = ActionNames;
|
|
3184
|
+
type token_Contract = Contract;
|
|
3185
|
+
declare const token_Contract: typeof Contract;
|
|
3186
|
+
declare namespace token {
|
|
3187
|
+
export {
|
|
3188
|
+
token_abiBlob as abiBlob,
|
|
3189
|
+
token_abi as abi,
|
|
3190
|
+
token_Types as Types,
|
|
3191
|
+
token_TableMap as TableMap,
|
|
3192
|
+
token_TableTypes as TableTypes,
|
|
3193
|
+
token_RowType as RowType,
|
|
3194
|
+
token_TableNames as TableNames,
|
|
3195
|
+
token_ActionParams as ActionParams,
|
|
3196
|
+
token_ActionNameParams as ActionNameParams,
|
|
3197
|
+
token_ActionNames as ActionNames,
|
|
3198
|
+
token_Contract as Contract,
|
|
2251
3199
|
};
|
|
2252
3200
|
}
|
|
2253
3201
|
|
|
@@ -2356,13 +3304,13 @@ interface ClusterSlotType {
|
|
|
2356
3304
|
gy: number;
|
|
2357
3305
|
}
|
|
2358
3306
|
interface ShipLike {
|
|
2359
|
-
coordinates: Types.coordinates;
|
|
3307
|
+
coordinates: Types$1.coordinates;
|
|
2360
3308
|
hullmass?: UInt32;
|
|
2361
3309
|
energy?: UInt32;
|
|
2362
|
-
engines?: Types.movement_stats;
|
|
2363
|
-
generator?: Types.energy_stats;
|
|
2364
|
-
loader_lanes?: Types.loader_lane[];
|
|
2365
|
-
hauler?: Types.hauler_stats;
|
|
3310
|
+
engines?: Types$1.movement_stats;
|
|
3311
|
+
generator?: Types$1.energy_stats;
|
|
3312
|
+
loader_lanes?: Types$1.loader_lane[];
|
|
3313
|
+
hauler?: Types$1.hauler_stats;
|
|
2366
3314
|
capacity?: UInt32;
|
|
2367
3315
|
}
|
|
2368
3316
|
interface CargoMassInfo {
|
|
@@ -2387,7 +3335,8 @@ declare enum TaskType {
|
|
|
2387
3335
|
CHARGE = 16,
|
|
2388
3336
|
UPGRADE = 17,
|
|
2389
3337
|
SHUTTLE = 18,
|
|
2390
|
-
REFIT = 19
|
|
3338
|
+
REFIT = 19,
|
|
3339
|
+
CONTRIBUTE = 20
|
|
2391
3340
|
}
|
|
2392
3341
|
declare enum RefitOp {
|
|
2393
3342
|
ADD = 0,
|
|
@@ -2415,19 +3364,23 @@ declare enum TaskCancelable {
|
|
|
2415
3364
|
BEFORE_START = 1,
|
|
2416
3365
|
ALWAYS = 2
|
|
2417
3366
|
}
|
|
2418
|
-
type CoordinatesType = Coordinates | Types.coordinates | {
|
|
3367
|
+
type CoordinatesType = Coordinates | Types$1.coordinates | {
|
|
2419
3368
|
x: Int64Type;
|
|
2420
3369
|
y: Int64Type;
|
|
2421
3370
|
};
|
|
2422
|
-
declare class Coordinates extends Types.coordinates {
|
|
3371
|
+
declare class Coordinates extends Types$1.coordinates {
|
|
2423
3372
|
static from(value: CoordinatesType): Coordinates;
|
|
2424
3373
|
equals(other: CoordinatesType): boolean;
|
|
2425
3374
|
toLocationId(): UInt64;
|
|
2426
3375
|
}
|
|
2427
3376
|
declare function coordsToLocationId(coords: CoordinatesType): UInt64;
|
|
3377
|
+
declare function locationIdToCoords(id: UInt64Type): {
|
|
3378
|
+
x: number;
|
|
3379
|
+
y: number;
|
|
3380
|
+
};
|
|
2428
3381
|
interface Distance {
|
|
2429
|
-
origin: ActionParams.Type.coordinates;
|
|
2430
|
-
destination: ActionParams.Type.coordinates;
|
|
3382
|
+
origin: ActionParams$1.Type.coordinates;
|
|
3383
|
+
destination: ActionParams$1.Type.coordinates;
|
|
2431
3384
|
distance: UInt16;
|
|
2432
3385
|
}
|
|
2433
3386
|
type ItemType = 'resource' | 'component' | 'module' | 'entity';
|
|
@@ -2538,7 +3491,9 @@ declare const ITEM_TENDER_T1A_PACKED = 10212;
|
|
|
2538
3491
|
declare const ITEM_WRIGHT_T1A_PACKED = 10213;
|
|
2539
3492
|
declare const ITEM_TUG_T1A_PACKED = 10214;
|
|
2540
3493
|
declare const ITEM_PORTER_T1A_PACKED = 10215;
|
|
3494
|
+
declare const ITEM_NEXUS_T1_PACKED = 10216;
|
|
2541
3495
|
declare const ITEM_SMITH_T1A_PACKED = 10218;
|
|
3496
|
+
declare const ITEM_DEPOT_T1_PACKED = 10219;
|
|
2542
3497
|
declare const ITEM_PLATE_T2 = 11001;
|
|
2543
3498
|
declare const ITEM_FRAME_T2 = 11002;
|
|
2544
3499
|
declare const ITEM_PLASMA_CELL_T2 = 11003;
|
|
@@ -2605,7 +3560,7 @@ declare enum EntityClass {
|
|
|
2605
3560
|
Plot = 2,
|
|
2606
3561
|
OrbitalStructure = 3
|
|
2607
3562
|
}
|
|
2608
|
-
type EntityTypeName = 'ship' | 'warehouse' | 'extractor' | 'factory' | 'builddock' | 'workshop' | 'container' | 'nexus' | 'plot' | 'mdriver' | 'mcatcher' | 'hub';
|
|
3563
|
+
type EntityTypeName = 'ship' | 'warehouse' | 'extractor' | 'factory' | 'builddock' | 'workshop' | 'container' | 'nexus' | 'plot' | 'mdriver' | 'mcatcher' | 'hub' | 'depot';
|
|
2609
3564
|
interface KindMeta {
|
|
2610
3565
|
kind: Name;
|
|
2611
3566
|
classification: EntityClass;
|
|
@@ -2633,6 +3588,7 @@ declare const ENTITY_WORKSHOP: Name;
|
|
|
2633
3588
|
declare const ENTITY_CONTAINER: Name;
|
|
2634
3589
|
declare const ENTITY_NEXUS: Name;
|
|
2635
3590
|
declare const ENTITY_HUB: Name;
|
|
3591
|
+
declare const ENTITY_DEPOT: Name;
|
|
2636
3592
|
declare function isShip(entity: {
|
|
2637
3593
|
type?: Name;
|
|
2638
3594
|
}): boolean;
|
|
@@ -2663,8 +3619,11 @@ declare function isPlot(entity: {
|
|
|
2663
3619
|
declare function isHub(entity: {
|
|
2664
3620
|
type?: Name;
|
|
2665
3621
|
}): boolean;
|
|
3622
|
+
declare function isDepot(entity: {
|
|
3623
|
+
type?: Name;
|
|
3624
|
+
}): boolean;
|
|
2666
3625
|
|
|
2667
|
-
declare class EntityInventory extends Types.cargo_item {
|
|
3626
|
+
declare class EntityInventory extends Types$1.cargo_item {
|
|
2668
3627
|
private _item?;
|
|
2669
3628
|
get item(): Item;
|
|
2670
3629
|
get good(): Item;
|
|
@@ -2719,8 +3678,8 @@ interface BuilderStats {
|
|
|
2719
3678
|
};
|
|
2720
3679
|
}
|
|
2721
3680
|
interface MovementCapability {
|
|
2722
|
-
engines: Types.movement_stats;
|
|
2723
|
-
generator: Types.energy_stats;
|
|
3681
|
+
engines: Types$1.movement_stats;
|
|
3682
|
+
generator: Types$1.energy_stats;
|
|
2724
3683
|
}
|
|
2725
3684
|
interface EnergyCapability {
|
|
2726
3685
|
energy: UInt32;
|
|
@@ -2728,7 +3687,7 @@ interface EnergyCapability {
|
|
|
2728
3687
|
interface StorageCapability {
|
|
2729
3688
|
capacity: UInt32;
|
|
2730
3689
|
cargomass: UInt32;
|
|
2731
|
-
cargo: Types.cargo_item[];
|
|
3690
|
+
cargo: Types$1.cargo_item[];
|
|
2732
3691
|
}
|
|
2733
3692
|
interface LoaderCapability {
|
|
2734
3693
|
loaders: LoaderStats;
|
|
@@ -2740,27 +3699,27 @@ interface MassCapability {
|
|
|
2740
3699
|
hullmass: UInt32;
|
|
2741
3700
|
}
|
|
2742
3701
|
interface ScheduleCapability {
|
|
2743
|
-
lanes?: Types.lane[];
|
|
2744
|
-
schedule?: Types.schedule;
|
|
3702
|
+
lanes?: Types$1.lane[];
|
|
3703
|
+
schedule?: Types$1.schedule;
|
|
2745
3704
|
}
|
|
2746
3705
|
interface EntityCapabilities {
|
|
2747
3706
|
hullmass?: UInt32;
|
|
2748
3707
|
capacity?: UInt32;
|
|
2749
|
-
engines?: Types.movement_stats;
|
|
2750
|
-
generator?: Types.energy_stats;
|
|
3708
|
+
engines?: Types$1.movement_stats;
|
|
3709
|
+
generator?: Types$1.energy_stats;
|
|
2751
3710
|
loaders?: LoaderStats;
|
|
2752
3711
|
gatherer?: GathererStats;
|
|
2753
3712
|
crafter?: CrafterStats;
|
|
2754
3713
|
builder?: BuilderStats;
|
|
2755
|
-
hauler?: Types.hauler_stats;
|
|
2756
|
-
launcher?: Types.launcher_stats;
|
|
3714
|
+
hauler?: Types$1.hauler_stats;
|
|
3715
|
+
launcher?: Types$1.launcher_stats;
|
|
2757
3716
|
}
|
|
2758
3717
|
interface EntityState {
|
|
2759
3718
|
owner: Name;
|
|
2760
|
-
location: Types.coordinates;
|
|
3719
|
+
location: Types$1.coordinates;
|
|
2761
3720
|
energy?: UInt32;
|
|
2762
3721
|
cargomass: UInt32;
|
|
2763
|
-
cargo: Types.cargo_item[];
|
|
3722
|
+
cargo: Types$1.cargo_item[];
|
|
2764
3723
|
}
|
|
2765
3724
|
declare function capsHasMovement(caps: EntityCapabilities): boolean;
|
|
2766
3725
|
declare function capsHasStorage(caps: EntityCapabilities): boolean;
|
|
@@ -2771,7 +3730,7 @@ declare function capsHasHauler(caps: EntityCapabilities): boolean;
|
|
|
2771
3730
|
declare function capsHasLauncher(caps: EntityCapabilities): boolean;
|
|
2772
3731
|
|
|
2773
3732
|
interface HasCargo {
|
|
2774
|
-
cargo: Types.cargo_item[];
|
|
3733
|
+
cargo: Types$1.cargo_item[];
|
|
2775
3734
|
}
|
|
2776
3735
|
interface HasCapacity {
|
|
2777
3736
|
capacity: UInt32;
|
|
@@ -2782,7 +3741,7 @@ interface HasCargomass {
|
|
|
2782
3741
|
interface MassInput {
|
|
2783
3742
|
item_id: UInt16;
|
|
2784
3743
|
quantity: UInt32;
|
|
2785
|
-
modules: Types.module_entry[];
|
|
3744
|
+
modules: Types$1.module_entry[];
|
|
2786
3745
|
}
|
|
2787
3746
|
declare function calcCargoItemMass(item: MassInput): UInt64;
|
|
2788
3747
|
declare function calcCargoMass(entity: HasCargo): UInt64;
|
|
@@ -2797,10 +3756,10 @@ interface CargoStack {
|
|
|
2797
3756
|
item_id: UInt16;
|
|
2798
3757
|
quantity: UInt32;
|
|
2799
3758
|
stats: UInt64;
|
|
2800
|
-
modules: Types.module_entry[];
|
|
3759
|
+
modules: Types$1.module_entry[];
|
|
2801
3760
|
}
|
|
2802
|
-
declare function cargoItemToStack(item: Types.cargo_item): CargoStack;
|
|
2803
|
-
declare function stackToCargoItem(stack: CargoStack): Types.cargo_item;
|
|
3761
|
+
declare function cargoItemToStack(item: Types$1.cargo_item): CargoStack;
|
|
3762
|
+
declare function stackToCargoItem(stack: CargoStack): Types$1.cargo_item;
|
|
2804
3763
|
declare function stackKey(s: CargoStack): string;
|
|
2805
3764
|
declare function stacksEqual(a: CargoStack, b: CargoStack): boolean;
|
|
2806
3765
|
declare function mergeStacks(stacks: CargoStack[], add: CargoStack): CargoStack[];
|
|
@@ -2837,7 +3796,7 @@ declare class Location {
|
|
|
2837
3796
|
}
|
|
2838
3797
|
declare function toLocation(coords: CoordinatesType | Location): Location;
|
|
2839
3798
|
|
|
2840
|
-
type Schedule$2 = Types.schedule;
|
|
3799
|
+
type Schedule$2 = Types$1.schedule;
|
|
2841
3800
|
declare function laneStartsIn(schedule: Schedule$2, now: Date): number;
|
|
2842
3801
|
declare function currentTaskIndexForLane(schedule: Schedule$2, now: Date): number;
|
|
2843
3802
|
declare function laneTaskComplete(schedule: Schedule$2, index: number, now: Date): boolean;
|
|
@@ -2845,10 +3804,10 @@ declare function laneTaskInProgress(schedule: Schedule$2, index: number, now: Da
|
|
|
2845
3804
|
declare function laneCompletesAt(schedule: Schedule$2, index: number): Date;
|
|
2846
3805
|
declare function currentTaskProgressFloatForLane(schedule: Schedule$2, now: Date): number;
|
|
2847
3806
|
|
|
2848
|
-
type Schedule$1 = Types.schedule;
|
|
2849
|
-
type Task$2 = Types.task;
|
|
2850
|
-
type Lane$1 = Types.lane;
|
|
2851
|
-
type Hold = Types.hold;
|
|
3807
|
+
type Schedule$1 = Types$1.schedule;
|
|
3808
|
+
type Task$2 = Types$1.task;
|
|
3809
|
+
type Lane$1 = Types$1.lane;
|
|
3810
|
+
type Hold = Types$1.hold;
|
|
2852
3811
|
declare const LANE_MOBILITY = 0;
|
|
2853
3812
|
declare const LANE_BARRIER = 255;
|
|
2854
3813
|
interface ScheduleData {
|
|
@@ -3007,7 +3966,7 @@ declare namespace schedule {
|
|
|
3007
3966
|
};
|
|
3008
3967
|
}
|
|
3009
3968
|
|
|
3010
|
-
type Task$1 = Types.task;
|
|
3969
|
+
type Task$1 = Types$1.task;
|
|
3011
3970
|
declare class ScheduleAccessor {
|
|
3012
3971
|
private entity;
|
|
3013
3972
|
private laneKey;
|
|
@@ -3040,7 +3999,7 @@ declare class ScheduleAccessor {
|
|
|
3040
3999
|
}
|
|
3041
4000
|
declare function createScheduleAccessor(entity: ScheduleData, laneKey?: number): ScheduleAccessor;
|
|
3042
4001
|
|
|
3043
|
-
declare class Entity$1 extends Types.entity_info {
|
|
4002
|
+
declare class Entity$1 extends Types$1.entity_info {
|
|
3044
4003
|
private _sched?;
|
|
3045
4004
|
private _inv?;
|
|
3046
4005
|
get name(): string;
|
|
@@ -3069,23 +4028,23 @@ interface EpochInfo {
|
|
|
3069
4028
|
start: Date;
|
|
3070
4029
|
end: Date;
|
|
3071
4030
|
}
|
|
3072
|
-
declare function getCurrentEpoch(game: Types$
|
|
3073
|
-
declare function getEpochInfo(game: Types$
|
|
4031
|
+
declare function getCurrentEpoch(game: Types$2.game_row): UInt64;
|
|
4032
|
+
declare function getEpochInfo(game: Types$2.game_row, epoch: UInt64): EpochInfo;
|
|
3074
4033
|
|
|
3075
4034
|
/**
|
|
3076
4035
|
* GameState class extends the state_row from the server contract
|
|
3077
4036
|
* with helper methods for epoch management and system generation
|
|
3078
4037
|
*/
|
|
3079
|
-
declare class GameState extends Types.state_row {
|
|
4038
|
+
declare class GameState extends Types$1.state_row {
|
|
3080
4039
|
private _game?;
|
|
3081
4040
|
/**
|
|
3082
4041
|
* Create a GameState instance from a state_row
|
|
3083
4042
|
*/
|
|
3084
|
-
static from(state: Types.state_row, game?: Types$
|
|
4043
|
+
static from(state: Types$1.state_row, game?: Types$2.game_row): GameState;
|
|
3085
4044
|
/**
|
|
3086
4045
|
* Set the game configuration (needed for epoch calculations)
|
|
3087
4046
|
*/
|
|
3088
|
-
setGame(game: Types$
|
|
4047
|
+
setGame(game: Types$2.game_row): void;
|
|
3089
4048
|
/**
|
|
3090
4049
|
* Get the current epoch number from the state
|
|
3091
4050
|
*/
|
|
@@ -3123,7 +4082,7 @@ declare class GameState extends Types.state_row {
|
|
|
3123
4082
|
/**
|
|
3124
4083
|
* Check if a system exists at coordinates object
|
|
3125
4084
|
*/
|
|
3126
|
-
hasSystemAtCoords(coords: Types.coordinates): boolean;
|
|
4085
|
+
hasSystemAtCoords(coords: Types$1.coordinates): boolean;
|
|
3127
4086
|
/**
|
|
3128
4087
|
* Get a summary of the game state
|
|
3129
4088
|
*/
|
|
@@ -3137,7 +4096,7 @@ declare class GameState extends Types.state_row {
|
|
|
3137
4096
|
interface PlayerStateInput {
|
|
3138
4097
|
owner: NameType;
|
|
3139
4098
|
}
|
|
3140
|
-
declare class Player extends Types.player_row {
|
|
4099
|
+
declare class Player extends Types$1.player_row {
|
|
3141
4100
|
static fromState(state: PlayerStateInput): Player;
|
|
3142
4101
|
}
|
|
3143
4102
|
|
|
@@ -3201,7 +4160,7 @@ interface DerivedStratum {
|
|
|
3201
4160
|
}
|
|
3202
4161
|
declare function deriveStrata(coords: CoordinatesType, gameSeed: Checksum256Type, epochSeed: Checksum256Type): DerivedStratum[];
|
|
3203
4162
|
|
|
3204
|
-
declare function deriveLocationSize(loc: Types.location_static): number;
|
|
4163
|
+
declare function deriveLocationSize(loc: Types$1.location_static): number;
|
|
3205
4164
|
|
|
3206
4165
|
declare const DEPTH_THRESHOLD_T1 = 0;
|
|
3207
4166
|
declare const DEPTH_THRESHOLD_T2 = 1500;
|
|
@@ -3397,12 +4356,12 @@ declare class EpochsManager extends BaseManager {
|
|
|
3397
4356
|
getTimeRemaining(): Promise<number>;
|
|
3398
4357
|
getProgress(): Promise<number>;
|
|
3399
4358
|
fitsInCurrentEpoch(durationMs: number): Promise<boolean>;
|
|
3400
|
-
getEpochRow(epoch: UInt64Type): Promise<Types.epoch_row | undefined>;
|
|
3401
|
-
getActiveEpochInfo(): Promise<Types.epoch_row | undefined>;
|
|
3402
|
-
getOracles(): Promise<Types.oracle_row[]>;
|
|
4359
|
+
getEpochRow(epoch: UInt64Type): Promise<Types$1.epoch_row | undefined>;
|
|
4360
|
+
getActiveEpochInfo(): Promise<Types$1.epoch_row | undefined>;
|
|
4361
|
+
getOracles(): Promise<Types$1.oracle_row[]>;
|
|
3403
4362
|
getThreshold(): Promise<number>;
|
|
3404
|
-
getCommitsFor(epoch: UInt64Type): Promise<Types.commit_row[]>;
|
|
3405
|
-
getRevealsFor(epoch: UInt64Type): Promise<Types.reveal_row[]>;
|
|
4363
|
+
getCommitsFor(epoch: UInt64Type): Promise<Types$1.commit_row[]>;
|
|
4364
|
+
getRevealsFor(epoch: UInt64Type): Promise<Types$1.reveal_row[]>;
|
|
3406
4365
|
}
|
|
3407
4366
|
|
|
3408
4367
|
type LaunchNumericInput = number | bigint | string | {
|
|
@@ -3442,6 +4401,7 @@ type WaypointInput = {
|
|
|
3442
4401
|
y: Int64Type;
|
|
3443
4402
|
};
|
|
3444
4403
|
declare class ActionsManager extends BaseManager {
|
|
4404
|
+
private tokenContracts;
|
|
3445
4405
|
travel(shipId: UInt64Type, destination: CoordinatesType, recharge?: boolean): Action;
|
|
3446
4406
|
private entityRefs;
|
|
3447
4407
|
grouptravel(entities: EntityRefInput[], destination: CoordinatesType, recharge?: boolean): Action;
|
|
@@ -3456,32 +4416,47 @@ declare class ActionsManager extends BaseManager {
|
|
|
3456
4416
|
recharge(entityId: UInt64Type): Action;
|
|
3457
4417
|
rename(entityId: UInt64Type, name: string): Action;
|
|
3458
4418
|
refrshentity(entityId: UInt64Type): Action;
|
|
3459
|
-
load(id: UInt64Type, fromId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
3460
|
-
unload(id: UInt64Type, toId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
4419
|
+
load(id: UInt64Type, fromId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4420
|
+
unload(id: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4421
|
+
depotstore(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4422
|
+
depottake(shipId: UInt64Type, depotId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4423
|
+
shuttle(carrierId: UInt64Type, fromId: UInt64Type, toId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4424
|
+
launch(launcherId: UInt64Type, catcherId: UInt64Type, items: ActionParams$1.Type.cargo_item[]): Action;
|
|
4425
|
+
getLaunchQuote(launcher: LaunchQuoteLauncher, catcher: LaunchQuoteCatcher, items: ActionParams$1.Type.cargo_item[], start?: Date): LaunchQuote;
|
|
3464
4426
|
foundCompany(account: NameType, name: string): Action;
|
|
3465
4427
|
join(account: NameType): Action;
|
|
3466
4428
|
gather(sourceId: UInt64Type, destinationId: UInt64Type, stratum: UInt16Type, quantity: UInt32Type, slot?: UInt8Type): Action;
|
|
3467
4429
|
gatherplan(sourceId: UInt64Type, destinationId: UInt64Type, stratum: UInt16Type, quantity: UInt32Type, recharge?: boolean, slots?: number[]): Action;
|
|
3468
4430
|
warp(entityId: UInt64Type, destination: CoordinatesType): Action;
|
|
3469
|
-
craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
|
|
3470
|
-
craftjob(shipId: UInt64Type, workshopId: UInt64Type, slot: UInt8Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
3471
|
-
clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
|
|
4431
|
+
craft(entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams$1.Type.cargo_item[], target?: UInt64Type, slot?: UInt8Type): Action;
|
|
4432
|
+
craftjob(shipId: UInt64Type, workshopId: UInt64Type, slot: UInt8Type, recipeId: UInt16Type, quantity: UInt32Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
|
|
4433
|
+
clustercraft(entityId: UInt64Type, recipeId: number, quantity: number, sources: ActionParams$1.Type.cluster_source[], target?: UInt64Type, slot?: UInt8Type): Action;
|
|
3472
4434
|
claimjob(jobId: UInt64Type, shipId: UInt64Type): Action;
|
|
3473
4435
|
canceljob(jobId: UInt64Type, shipId: UInt64Type): Action;
|
|
4436
|
+
upgradejob(targetId: UInt64Type, dockId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
|
|
4437
|
+
claimupgrade(jobId: UInt64Type): Action;
|
|
4438
|
+
cancelupgrade(jobId: UInt64Type): Action;
|
|
3474
4439
|
setsocket(workshopId: UInt64Type, slot: UInt8Type, open: boolean): Action;
|
|
3475
|
-
blend(entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
3476
|
-
deploy(entityId: UInt64Type, ref: ActionParams.Type.cargo_ref, slot?: ClusterSlotType): Action;
|
|
3477
|
-
upgrade(builderId: UInt64Type, targetId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams.Type.cargo_item[], slot?: UInt8Type): Action;
|
|
4440
|
+
blend(entityId: UInt64Type, inputs: ActionParams$1.Type.cargo_item[]): Action;
|
|
4441
|
+
deploy(entityId: UInt64Type, ref: ActionParams$1.Type.cargo_ref, slot?: ClusterSlotType): Action;
|
|
4442
|
+
upgrade(builderId: UInt64Type, targetId: UInt64Type, targetItemId: UInt16Type, inputs: ActionParams$1.Type.cargo_item[], slot?: UInt8Type): Action;
|
|
3478
4443
|
claimplot(entityId: UInt64Type, targetItemId: UInt16Type, slot: ClusterSlotType): Action;
|
|
3479
4444
|
movetile(hubId: UInt64Type, fromGx: number, fromGy: number, toGx: number, toGy: number): Action;
|
|
3480
4445
|
swaptile(hubId: UInt64Type, aGx: number, aGy: number, bGx: number, bGy: number): Action;
|
|
3481
4446
|
buildplot(entityId: UInt64Type, plotId: UInt64Type): Action;
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
4447
|
+
abandonplot(plotId: UInt64Type): Action;
|
|
4448
|
+
addmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams$1.Type.cargo_ref, targetRef?: ActionParams$1.Type.cargo_ref | null): Action;
|
|
4449
|
+
rmmodule(entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams$1.Type.cargo_ref | null): Action;
|
|
4450
|
+
swapmodule(entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams$1.Type.cargo_ref): Action;
|
|
4451
|
+
open(owner: NameType, tokenContract: NameType, tokenSymbol: Asset.SymbolType): Action;
|
|
4452
|
+
close(owner: NameType, tokenContract: NameType, tokenSymbol: Asset.SymbolType): Action;
|
|
4453
|
+
withdraw(owner: NameType, quantity: AssetType, tokenContract: NameType, memo?: string): Action;
|
|
4454
|
+
tokenContract(account: NameType): Contract;
|
|
4455
|
+
tokenTransfer(from: NameType, to: NameType, quantity: AssetType, tokenContract: NameType, memo?: string): Action;
|
|
4456
|
+
deposit(owner: NameType, quantity: AssetType, tokenContract: NameType, opts?: {
|
|
4457
|
+
memo?: string;
|
|
4458
|
+
open?: boolean;
|
|
4459
|
+
}): Action[];
|
|
3485
4460
|
wrap(owner: NameType, entityId: UInt64Type, nexusId: UInt64Type, cargoId: UInt64Type, quantity: UInt64Type, opts?: {
|
|
3486
4461
|
claimRam?: boolean;
|
|
3487
4462
|
}): Promise<Action[]>;
|
|
@@ -3506,6 +4481,14 @@ declare class ActionsManager extends BaseManager {
|
|
|
3506
4481
|
removeoracle(oracleId: NameType): Action;
|
|
3507
4482
|
setthreshold(threshold: UInt8Type): Action;
|
|
3508
4483
|
cleanrsvp(epoch: UInt64Type, maxRows: UInt64Type): Action;
|
|
4484
|
+
found(player: NameType, entityId: UInt64Type, location: CoordinatesType): Action;
|
|
4485
|
+
naturalize(player: NameType, location: CoordinatesType): Action;
|
|
4486
|
+
contribute(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action;
|
|
4487
|
+
firstContribution(player: NameType, entityId: UInt64Type, location: CoordinatesType, bundle: ActionParams$1.Type.cargo_item[]): Action[];
|
|
4488
|
+
mintready(maxMints?: UInt32Type): Action;
|
|
4489
|
+
charterready(location: CoordinatesType): Action;
|
|
4490
|
+
votecharter(player: NameType, location: CoordinatesType, nodeId: UInt32Type): Action;
|
|
4491
|
+
voteready(maxBallots?: UInt32Type): Action;
|
|
3509
4492
|
}
|
|
3510
4493
|
|
|
3511
4494
|
interface GridCell {
|
|
@@ -3530,6 +4513,15 @@ interface NftConfigForItem {
|
|
|
3530
4513
|
templateId: number;
|
|
3531
4514
|
schemaName: string;
|
|
3532
4515
|
}
|
|
4516
|
+
interface WrapConfig {
|
|
4517
|
+
feePctBasisPoints: number;
|
|
4518
|
+
feeAccount: Name;
|
|
4519
|
+
}
|
|
4520
|
+
interface WrapGate {
|
|
4521
|
+
owner: Name;
|
|
4522
|
+
game: Name;
|
|
4523
|
+
lastAssetId: UInt64;
|
|
4524
|
+
}
|
|
3533
4525
|
interface WrapDeposit {
|
|
3534
4526
|
cost: bigint;
|
|
3535
4527
|
refund: bigint;
|
|
@@ -3539,13 +4531,43 @@ interface WrapDeposit {
|
|
|
3539
4531
|
tokenContract: string;
|
|
3540
4532
|
}
|
|
3541
4533
|
declare function resolveLockedAmount(cost: bigint, feePctBasisPoints: number): bigint;
|
|
4534
|
+
declare function wrapCostKey(itemType: number, tier: number): UInt64;
|
|
3542
4535
|
declare class NftManager extends BaseManager {
|
|
3543
4536
|
private cache;
|
|
4537
|
+
private wrapConfig?;
|
|
3544
4538
|
getNftConfigForItem(itemId: UInt64Type): Promise<NftConfigForItem | undefined>;
|
|
3545
|
-
|
|
4539
|
+
getWrapConfig(reload?: boolean): Promise<WrapConfig | null>;
|
|
4540
|
+
getWrapCost(itemType: number, tier: number): Promise<bigint>;
|
|
4541
|
+
getWrapDeposit(itemType: number, tier: number, opts?: {
|
|
4542
|
+
reload?: boolean;
|
|
4543
|
+
}): Promise<WrapDeposit | null>;
|
|
4544
|
+
getWrapGate(owner: NameType): Promise<WrapGate | null>;
|
|
3546
4545
|
}
|
|
3547
4546
|
|
|
3548
|
-
|
|
4547
|
+
interface DepositConfig {
|
|
4548
|
+
tokenContract: Name;
|
|
4549
|
+
symbol: Asset.Symbol;
|
|
4550
|
+
}
|
|
4551
|
+
interface PlatformBalance {
|
|
4552
|
+
owner: Name;
|
|
4553
|
+
tokenContract: Name;
|
|
4554
|
+
balance: Asset;
|
|
4555
|
+
}
|
|
4556
|
+
interface TokenBalance {
|
|
4557
|
+
account: Name;
|
|
4558
|
+
tokenContract: Name;
|
|
4559
|
+
balance: Asset;
|
|
4560
|
+
}
|
|
4561
|
+
declare class BalancesManager extends BaseManager {
|
|
4562
|
+
private depositConfig?;
|
|
4563
|
+
getDepositConfig(reload?: boolean): Promise<DepositConfig | null>;
|
|
4564
|
+
private resolveTokenContract;
|
|
4565
|
+
getPlatformBalances(owner: NameType): Promise<PlatformBalance[]>;
|
|
4566
|
+
getPlatformBalance(owner: NameType, tokenContract?: NameType): Promise<PlatformBalance | null>;
|
|
4567
|
+
getWalletBalance(account: NameType, tokenContract?: NameType, symbolCode?: Asset.SymbolCodeType): Promise<TokenBalance | null>;
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4570
|
+
type CargoItem$3 = Types$1.cargo_item;
|
|
3549
4571
|
interface JobWindow {
|
|
3550
4572
|
id: number;
|
|
3551
4573
|
socket: number;
|
|
@@ -3613,7 +4635,295 @@ declare class JobsManager extends BaseManager {
|
|
|
3613
4635
|
private parseOwnedJob;
|
|
3614
4636
|
}
|
|
3615
4637
|
|
|
3616
|
-
|
|
4638
|
+
declare const INFLUENCE_ATOMIC_PER_POINT = 10000;
|
|
4639
|
+
declare const NEED_FP_SCALE = 10000;
|
|
4640
|
+
declare const WEIGHT_FP_SCALE = 10000;
|
|
4641
|
+
declare const MASS_KG_PER_TONNE = 1000;
|
|
4642
|
+
declare const INFLUENCE_WEIGHT_FP_MAX = 1000000n;
|
|
4643
|
+
declare const INFLUENCE_NEED_FP_MAX = 1000000n;
|
|
4644
|
+
declare const INFLUENCE_MASS_KG_MAX: bigint;
|
|
4645
|
+
declare const DECAY_RETAIN_NUM = 19n;
|
|
4646
|
+
declare const DECAY_RETAIN_DEN = 20n;
|
|
4647
|
+
declare const DECAY_MAX_ITERATIONS = 1024;
|
|
4648
|
+
declare const W_EFF_ATOMIC_PER_KG: bigint;
|
|
4649
|
+
declare const DECOMP_MAX_BUCKETS = 12;
|
|
4650
|
+
declare const DECOMP_MAX_DEPTH = 8;
|
|
4651
|
+
declare const DECOMP_RAW_KG_MAX = 100000000;
|
|
4652
|
+
declare const DECOMP_PROCESSED_KG_MAX = 100000000;
|
|
4653
|
+
declare const RESOURCE_ORE = 0;
|
|
4654
|
+
declare const RESOURCE_GAS = 1;
|
|
4655
|
+
declare const RESOURCE_REGOLITH = 2;
|
|
4656
|
+
declare const RESOURCE_BIOMASS = 3;
|
|
4657
|
+
declare const RESOURCE_CRYSTAL = 4;
|
|
4658
|
+
declare const RESOURCE_CATEGORY_COUNT = 5;
|
|
4659
|
+
declare const CIVIC_LOADER_STAT = 213;
|
|
4660
|
+
declare const CIVIC_LOADER_TIER = 1;
|
|
4661
|
+
declare const DEFAULT_ORBITAL_Z = 800;
|
|
4662
|
+
declare const GRADE_STANDARD = 0;
|
|
4663
|
+
declare const GRADE_PREMIUM = 1;
|
|
4664
|
+
declare const MINTREADY_DEFAULT_CAP = 10;
|
|
4665
|
+
declare const BAR_SEED = 102363;
|
|
4666
|
+
declare const BAR_STEP_UNIT = 20;
|
|
4667
|
+
declare const BAR_STEP_UP: number;
|
|
4668
|
+
declare const BAR_STEP_DOWN = 20;
|
|
4669
|
+
declare const CHARTER_NONE = 0;
|
|
4670
|
+
declare const CHARTER_WORKSHOP = 1;
|
|
4671
|
+
declare const CHARTER_EFFECT_SPAWN_ENTITY = 1;
|
|
4672
|
+
declare const CHARTER_EFFECT_REFIT_MODULES = 2;
|
|
4673
|
+
declare const VOTE_READY_DEFAULT_MAX = 20;
|
|
4674
|
+
declare const CHARTER_WORKSHOP_COST = 2000000000n;
|
|
4675
|
+
declare const CHARTER_BASELINE_STAT = 213;
|
|
4676
|
+
declare const CHARTER_MAX_PREREQS = 4;
|
|
4677
|
+
declare const INFLUENCE_D1_SEED = 45369;
|
|
4678
|
+
declare const DEMAND_TRIPLE_SEED: {
|
|
4679
|
+
peak: bigint;
|
|
4680
|
+
base: bigint;
|
|
4681
|
+
floor: bigint;
|
|
4682
|
+
};
|
|
4683
|
+
declare function poolKey(category: number, tier: number, grade: number): bigint;
|
|
4684
|
+
declare function influenceWeightKey(category: number, tier: number): bigint;
|
|
4685
|
+
declare function atomicToPoints(atomic: bigint | number | string): number;
|
|
4686
|
+
|
|
4687
|
+
declare function categoryIndex(category: ResourceCategory): number;
|
|
4688
|
+
declare function categoryAtIndex(index: number): ResourceCategory;
|
|
4689
|
+
declare function allCategoryIndexes(): number[];
|
|
4690
|
+
|
|
4691
|
+
declare function decayActive(active: bigint, epochsElapsed: number): bigint;
|
|
4692
|
+
interface DecayableStanding {
|
|
4693
|
+
active: bigint;
|
|
4694
|
+
lastUpdateEpoch: number;
|
|
4695
|
+
}
|
|
4696
|
+
declare function normalizeActive(standing: DecayableStanding, epoch: number): bigint;
|
|
4697
|
+
|
|
4698
|
+
declare function getStatCount(itemId: number): number;
|
|
4699
|
+
declare function statsSumSq(packedStats: bigint, nStats: number): number;
|
|
4700
|
+
declare function qualityFactor(packedStats: bigint, nStats: number, d1: number): number;
|
|
4701
|
+
|
|
4702
|
+
interface DecompBucket {
|
|
4703
|
+
category: number;
|
|
4704
|
+
tier: number;
|
|
4705
|
+
rawKg: number;
|
|
4706
|
+
}
|
|
4707
|
+
interface DecompEntry {
|
|
4708
|
+
itemId: number;
|
|
4709
|
+
processedKg: number;
|
|
4710
|
+
buckets: DecompBucket[];
|
|
4711
|
+
}
|
|
4712
|
+
declare const DECOMP_REGISTRY: DecompEntry[];
|
|
4713
|
+
declare function findDecomp(itemId: number): DecompEntry | undefined;
|
|
4714
|
+
|
|
4715
|
+
interface DemandTriple {
|
|
4716
|
+
peak: bigint;
|
|
4717
|
+
base: bigint;
|
|
4718
|
+
floor: bigint;
|
|
4719
|
+
}
|
|
4720
|
+
interface DemandView {
|
|
4721
|
+
abundantMask: number;
|
|
4722
|
+
lackingMask: number;
|
|
4723
|
+
acute: number;
|
|
4724
|
+
needFp: bigint[];
|
|
4725
|
+
}
|
|
4726
|
+
declare function abundantMaskFor(locationType: number, subtype: number): number;
|
|
4727
|
+
declare function lackingMaskFrom(abundantMask: number): number;
|
|
4728
|
+
declare function popcount5(mask: number): number;
|
|
4729
|
+
declare function pickAcuteCategory(lackingMask: number, roll: number): number;
|
|
4730
|
+
declare function demandRoll(hash: Checksum512): number;
|
|
4731
|
+
declare function buildDemand(abundantMask: number, acute: number, triple: DemandTriple): DemandView;
|
|
4732
|
+
declare function needForCategory(demand: DemandView, category: number): bigint;
|
|
4733
|
+
declare function deriveDemand(args: {
|
|
4734
|
+
gameSeed: Checksum256Type;
|
|
4735
|
+
epochSeed: Checksum256Type;
|
|
4736
|
+
coordinates: CoordinatesType;
|
|
4737
|
+
triple: DemandTriple;
|
|
4738
|
+
}): DemandView;
|
|
4739
|
+
declare function isAbundant(demand: DemandView, category: number): boolean;
|
|
4740
|
+
declare function isAcute(demand: DemandView, category: number): boolean;
|
|
4741
|
+
declare function needMultiplier(demand: DemandView, category: number): number;
|
|
4742
|
+
|
|
4743
|
+
interface InfluencePricing {
|
|
4744
|
+
d1: number;
|
|
4745
|
+
weight(category: number, tier: number): bigint;
|
|
4746
|
+
}
|
|
4747
|
+
interface ValuedItem {
|
|
4748
|
+
itemId: number;
|
|
4749
|
+
quantity: number;
|
|
4750
|
+
stats: bigint;
|
|
4751
|
+
}
|
|
4752
|
+
declare function weightedQualityAtomic(weightedKgFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
|
|
4753
|
+
declare function resourceValueAtomic(massKg: bigint, weightFp: bigint, sumSq: number, nStats: number, d1: number, needFp: bigint): bigint;
|
|
4754
|
+
declare function componentBaseAtomic(weightedRawKgFp: bigint, sumSq: number, nStats: number, d1: number): bigint;
|
|
4755
|
+
declare function componentEffortAtomic(processedKgPerUnit: number, quantity: number): bigint;
|
|
4756
|
+
declare function valueCargoItem(item: ValuedItem, demand: DemandView, pricing: InfluencePricing): bigint;
|
|
4757
|
+
declare function valueContribution(bundle: ValuedItem[], demand: DemandView, pricing: InfluencePricing): bigint;
|
|
4758
|
+
declare function pricingFromWeights(d1: number, weights: Iterable<{
|
|
4759
|
+
category: number;
|
|
4760
|
+
tier: number;
|
|
4761
|
+
weightFp: bigint | number | string;
|
|
4762
|
+
}>): InfluencePricing;
|
|
4763
|
+
|
|
4764
|
+
interface CivicLoaderStats {
|
|
4765
|
+
thrust: number;
|
|
4766
|
+
mass: number;
|
|
4767
|
+
}
|
|
4768
|
+
declare function civicLoader(): CivicLoaderStats;
|
|
4769
|
+
declare function contributeDuration(totalMassKg: number, altitudeZ?: number): number;
|
|
4770
|
+
declare function contributeDurationForTonnes(tonnes: number, altitudeZ?: number): number;
|
|
4771
|
+
|
|
4772
|
+
declare function citizenryName(gameSeed: Checksum256Type, coordinates: CoordinatesType): string | undefined;
|
|
4773
|
+
declare function citizenryPatternCount(): number;
|
|
4774
|
+
|
|
4775
|
+
interface CharterEffect {
|
|
4776
|
+
kind: number;
|
|
4777
|
+
itemId: number;
|
|
4778
|
+
targetItemId: number;
|
|
4779
|
+
slotMask: number;
|
|
4780
|
+
stat: number;
|
|
4781
|
+
}
|
|
4782
|
+
interface CharterNode {
|
|
4783
|
+
nodeId: number;
|
|
4784
|
+
cost: bigint;
|
|
4785
|
+
prereqs: number[];
|
|
4786
|
+
effect: CharterEffect;
|
|
4787
|
+
}
|
|
4788
|
+
declare const CHARTER_REGISTRY: CharterNode[];
|
|
4789
|
+
declare function charterNode(nodeId: number): CharterNode | undefined;
|
|
4790
|
+
type CharterIneligibility = 'already-taken' | 'prereq-missing' | 'refit-target-missing';
|
|
4791
|
+
declare const CHARTER_INELIGIBILITY_MESSAGES: Record<CharterIneligibility, string>;
|
|
4792
|
+
interface BuiltCharter {
|
|
4793
|
+
nodeId: number;
|
|
4794
|
+
entityId: bigint;
|
|
4795
|
+
}
|
|
4796
|
+
interface CharterWorld {
|
|
4797
|
+
built: BuiltCharter[];
|
|
4798
|
+
entityExists?: (entityId: bigint) => boolean;
|
|
4799
|
+
}
|
|
4800
|
+
interface ChosenCharter {
|
|
4801
|
+
chosen: number;
|
|
4802
|
+
chosenEpoch: number;
|
|
4803
|
+
}
|
|
4804
|
+
declare function charterSpawnNodeFor(targetItemId: number): CharterNode | undefined;
|
|
4805
|
+
declare function charterPrereqsMet(world: CharterWorld, node: CharterNode): boolean;
|
|
4806
|
+
declare function charterEffectTargetEntity(world: CharterWorld, node: CharterNode): bigint;
|
|
4807
|
+
declare function charterEffectTargetPresent(world: CharterWorld, node: CharterNode): boolean;
|
|
4808
|
+
declare function charterIneligible(world: CharterWorld, node: CharterNode): CharterIneligibility | undefined;
|
|
4809
|
+
declare function charterEligible(world: CharterWorld, node: CharterNode): boolean;
|
|
4810
|
+
declare function eligibleCharters(world: CharterWorld): CharterNode[];
|
|
4811
|
+
declare function charterSingletonMandate(world: CharterWorld): number;
|
|
4812
|
+
declare function effectiveMandate(stored: ChosenCharter, world: CharterWorld, epoch: number): number;
|
|
4813
|
+
|
|
4814
|
+
interface InfluenceStanding {
|
|
4815
|
+
epoch: number;
|
|
4816
|
+
playerLifetime: bigint;
|
|
4817
|
+
playerActive: bigint;
|
|
4818
|
+
standingLifetime: bigint;
|
|
4819
|
+
standingActive: bigint;
|
|
4820
|
+
locationLifetime: bigint;
|
|
4821
|
+
locationActive: bigint;
|
|
4822
|
+
watermark: bigint;
|
|
4823
|
+
mandate: number;
|
|
4824
|
+
founder: Name;
|
|
4825
|
+
founded: number;
|
|
4826
|
+
}
|
|
4827
|
+
interface CharterProgress {
|
|
4828
|
+
locationId: bigint;
|
|
4829
|
+
lifetime: bigint;
|
|
4830
|
+
watermark: bigint;
|
|
4831
|
+
surplus: bigint;
|
|
4832
|
+
mandate: number;
|
|
4833
|
+
nextCost: bigint;
|
|
4834
|
+
prereqsMet: boolean;
|
|
4835
|
+
buildable: boolean;
|
|
4836
|
+
epoch: number;
|
|
4837
|
+
built: {
|
|
4838
|
+
nodeId: number;
|
|
4839
|
+
completedEpoch: number;
|
|
4840
|
+
entityId: bigint;
|
|
4841
|
+
}[];
|
|
4842
|
+
}
|
|
4843
|
+
interface ContributePreviewRow {
|
|
4844
|
+
itemId: number;
|
|
4845
|
+
quantity: number;
|
|
4846
|
+
stats: bigint;
|
|
4847
|
+
valueAtomic: bigint;
|
|
4848
|
+
massKg: number;
|
|
4849
|
+
}
|
|
4850
|
+
interface ContributePreview {
|
|
4851
|
+
rows: ContributePreviewRow[];
|
|
4852
|
+
totalAtomic: bigint;
|
|
4853
|
+
totalMassKg: number;
|
|
4854
|
+
durationSeconds: number;
|
|
4855
|
+
demand: DemandView;
|
|
4856
|
+
}
|
|
4857
|
+
interface FoundedWorld {
|
|
4858
|
+
locationId: bigint;
|
|
4859
|
+
x: number;
|
|
4860
|
+
y: number;
|
|
4861
|
+
lifetime: bigint;
|
|
4862
|
+
active: bigint;
|
|
4863
|
+
watermark: bigint;
|
|
4864
|
+
chosen: number;
|
|
4865
|
+
chosenEpoch: number;
|
|
4866
|
+
mandate: number | undefined;
|
|
4867
|
+
founder: Name;
|
|
4868
|
+
founded: number;
|
|
4869
|
+
}
|
|
4870
|
+
interface VoteOption {
|
|
4871
|
+
nodeId: number;
|
|
4872
|
+
cost: bigint;
|
|
4873
|
+
eligible: boolean;
|
|
4874
|
+
total: bigint | undefined;
|
|
4875
|
+
}
|
|
4876
|
+
interface VoteStandings {
|
|
4877
|
+
locationId: bigint;
|
|
4878
|
+
epoch: number;
|
|
4879
|
+
chosen: number;
|
|
4880
|
+
chosenEpoch: number;
|
|
4881
|
+
mandate: number;
|
|
4882
|
+
ballotEpoch: number | undefined;
|
|
4883
|
+
talliesSuppressed: boolean;
|
|
4884
|
+
options: VoteOption[];
|
|
4885
|
+
}
|
|
4886
|
+
interface VoteCast {
|
|
4887
|
+
account: Name;
|
|
4888
|
+
epoch: number;
|
|
4889
|
+
nodeId: number;
|
|
4890
|
+
weight: bigint;
|
|
4891
|
+
}
|
|
4892
|
+
interface PendingBallot {
|
|
4893
|
+
locationId: bigint;
|
|
4894
|
+
x: number;
|
|
4895
|
+
y: number;
|
|
4896
|
+
epoch: number;
|
|
4897
|
+
}
|
|
4898
|
+
declare class InfluenceManager extends BaseManager {
|
|
4899
|
+
getStanding(owner: NameType, location: CoordinatesType): Promise<InfluenceStanding>;
|
|
4900
|
+
getDemandConfig(): Promise<DemandTriple>;
|
|
4901
|
+
getQualityDivisor(): Promise<number>;
|
|
4902
|
+
getWeights(): Promise<Types$1.infweight_row[]>;
|
|
4903
|
+
getDemand(location: CoordinatesType): Promise<DemandView>;
|
|
4904
|
+
getCitizenryName(location: CoordinatesType): Promise<string | undefined>;
|
|
4905
|
+
previewContribution(location: CoordinatesType, bundle: ValuedItem[], opts?: {
|
|
4906
|
+
altitudeZ?: number;
|
|
4907
|
+
}): Promise<ContributePreview>;
|
|
4908
|
+
getCharter(location: CoordinatesType): Promise<CharterProgress>;
|
|
4909
|
+
getPools(): Promise<Types$1.pool_view[]>;
|
|
4910
|
+
getPool(category: number, tier: number): Promise<Types$1.pool_pair_result>;
|
|
4911
|
+
getMintConfig(): Promise<Types$1.mintcfg_result>;
|
|
4912
|
+
getVotes(location: CoordinatesType): Promise<VoteStandings>;
|
|
4913
|
+
getVoteCasts(location: CoordinatesType): Promise<VoteCast[]>;
|
|
4914
|
+
getVoteTallies(location: CoordinatesType): Promise<{
|
|
4915
|
+
nodeId: number;
|
|
4916
|
+
total: bigint;
|
|
4917
|
+
}[]>;
|
|
4918
|
+
getBuiltCharters(location: CoordinatesType): Promise<BuiltCharter[]>;
|
|
4919
|
+
getBallotQueue(): Promise<PendingBallot[]>;
|
|
4920
|
+
getFoundedWorlds(opts?: {
|
|
4921
|
+
withMandate?: boolean;
|
|
4922
|
+
}): Promise<FoundedWorld[]>;
|
|
4923
|
+
isFounded(location: CoordinatesType): Promise<boolean>;
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
type EntityInfo$2 = Types$1.entity_info;
|
|
3617
4927
|
interface BoundingBox {
|
|
3618
4928
|
min_x: number;
|
|
3619
4929
|
min_y: number;
|
|
@@ -3836,8 +5146,8 @@ declare class SubscriptionsManager {
|
|
|
3836
5146
|
|
|
3837
5147
|
declare class GameContext {
|
|
3838
5148
|
readonly client: APIClient;
|
|
3839
|
-
readonly server: Contract$
|
|
3840
|
-
readonly platform: Contract$
|
|
5149
|
+
readonly server: Contract$4;
|
|
5150
|
+
readonly platform: Contract$4;
|
|
3841
5151
|
readonly atomicAssetsAccount: string;
|
|
3842
5152
|
private _entities?;
|
|
3843
5153
|
private _players?;
|
|
@@ -3847,12 +5157,14 @@ declare class GameContext {
|
|
|
3847
5157
|
private _actions?;
|
|
3848
5158
|
private _clusters?;
|
|
3849
5159
|
private _nft?;
|
|
5160
|
+
private _balances?;
|
|
3850
5161
|
private _jobs?;
|
|
5162
|
+
private _influence?;
|
|
3851
5163
|
private _subscriptions?;
|
|
3852
5164
|
private _subscriptionsUrl?;
|
|
3853
5165
|
private _gameCache?;
|
|
3854
5166
|
private _stateCache?;
|
|
3855
|
-
constructor(client: APIClient, server: Contract$
|
|
5167
|
+
constructor(client: APIClient, server: Contract$4, platform: Contract$4, atomicAssetsAccount?: string);
|
|
3856
5168
|
get entities(): EntitiesManager;
|
|
3857
5169
|
get players(): PlayersManager;
|
|
3858
5170
|
get locations(): LocationsManager;
|
|
@@ -3861,12 +5173,14 @@ declare class GameContext {
|
|
|
3861
5173
|
get actions(): ActionsManager;
|
|
3862
5174
|
get clusters(): ClusterManager;
|
|
3863
5175
|
get nft(): NftManager;
|
|
5176
|
+
get balances(): BalancesManager;
|
|
3864
5177
|
get jobs(): JobsManager;
|
|
5178
|
+
get influence(): InfluenceManager;
|
|
3865
5179
|
setSubscriptionsUrl(url: string): void;
|
|
3866
5180
|
get subscriptions(): SubscriptionsManager;
|
|
3867
|
-
getGame(reload?: boolean): Promise<Types$
|
|
5181
|
+
getGame(reload?: boolean): Promise<Types$2.game_row>;
|
|
3868
5182
|
getState(reload?: boolean): Promise<GameState>;
|
|
3869
|
-
get cachedGame(): Types$
|
|
5183
|
+
get cachedGame(): Types$2.game_row | undefined;
|
|
3870
5184
|
get cachedState(): GameState | undefined;
|
|
3871
5185
|
}
|
|
3872
5186
|
|
|
@@ -3877,16 +5191,17 @@ declare abstract class BaseManager {
|
|
|
3877
5191
|
protected get server(): _wharfkit_contract.Contract;
|
|
3878
5192
|
protected get platform(): _wharfkit_contract.Contract;
|
|
3879
5193
|
protected get atomicAssetsAccount(): string;
|
|
3880
|
-
protected getGame(): Promise<Types$
|
|
5194
|
+
protected getGame(): Promise<Types$2.game_row>;
|
|
3881
5195
|
protected getState(reload?: boolean): Promise<GameState>;
|
|
3882
5196
|
}
|
|
3883
5197
|
|
|
3884
5198
|
declare class EntitiesManager extends BaseManager {
|
|
3885
5199
|
getEntity(id: UInt64Type): Promise<Entity$1>;
|
|
3886
5200
|
getProjection(id: UInt64Type, taskCount?: number): Promise<unknown>;
|
|
3887
|
-
getEntities(owner: NameType | Types.player_row, kind?: EntityTypeName): Promise<Entity$1[]>;
|
|
3888
|
-
getAllEntities(kind?: EntityTypeName): Promise<Types.entity_row[]>;
|
|
3889
|
-
getSummaries(owner: NameType | Types.player_row, kind?: EntityTypeName): Promise<Types.entity_summary[]>;
|
|
5201
|
+
getEntities(owner: NameType | Types$1.player_row, kind?: EntityTypeName): Promise<Entity$1[]>;
|
|
5202
|
+
getAllEntities(kind?: EntityTypeName): Promise<Types$1.entity_row[]>;
|
|
5203
|
+
getSummaries(owner: NameType | Types$1.player_row, kind?: EntityTypeName): Promise<Types$1.entity_summary[]>;
|
|
5204
|
+
getDepot(depotId: UInt64Type, owner: NameType | Types$1.player_row): Promise<Types$1.depot_view>;
|
|
3890
5205
|
private resolveOwner;
|
|
3891
5206
|
}
|
|
3892
5207
|
|
|
@@ -3898,8 +5213,8 @@ interface ShiploadOptions {
|
|
|
3898
5213
|
atomicAssetsAccount?: string;
|
|
3899
5214
|
}
|
|
3900
5215
|
interface ShiploadConstructorOptions extends ShiploadOptions {
|
|
3901
|
-
platformContract?: Contract$
|
|
3902
|
-
serverContract?: Contract$
|
|
5216
|
+
platformContract?: Contract$4;
|
|
5217
|
+
serverContract?: Contract$4;
|
|
3903
5218
|
}
|
|
3904
5219
|
declare class Shipload {
|
|
3905
5220
|
private readonly _context;
|
|
@@ -3907,8 +5222,8 @@ declare class Shipload {
|
|
|
3907
5222
|
static load(chain: ChainDefinition, shiploadOptions?: ShiploadOptions): Promise<Shipload>;
|
|
3908
5223
|
get client(): APIClient;
|
|
3909
5224
|
get atomicAssetsAccount(): string;
|
|
3910
|
-
get server(): Contract$
|
|
3911
|
-
get platform(): Contract$
|
|
5225
|
+
get server(): Contract$4;
|
|
5226
|
+
get platform(): Contract$4;
|
|
3912
5227
|
get entities(): EntitiesManager;
|
|
3913
5228
|
get players(): PlayersManager;
|
|
3914
5229
|
get locations(): LocationsManager;
|
|
@@ -3917,9 +5232,11 @@ declare class Shipload {
|
|
|
3917
5232
|
get actions(): ActionsManager;
|
|
3918
5233
|
get clusters(): ClusterManager;
|
|
3919
5234
|
get nft(): NftManager;
|
|
5235
|
+
get balances(): BalancesManager;
|
|
3920
5236
|
get jobs(): JobsManager;
|
|
5237
|
+
get influence(): InfluenceManager;
|
|
3921
5238
|
get subscriptions(): SubscriptionsManager;
|
|
3922
|
-
getGame(reload?: boolean): Promise<Types$
|
|
5239
|
+
getGame(reload?: boolean): Promise<Types$2.game_row>;
|
|
3923
5240
|
getState(reload?: boolean): Promise<GameState>;
|
|
3924
5241
|
}
|
|
3925
5242
|
|
|
@@ -3942,9 +5259,9 @@ interface EntityStateInput {
|
|
|
3942
5259
|
cargomass?: number;
|
|
3943
5260
|
energy?: number;
|
|
3944
5261
|
modules?: PackedModuleInput[];
|
|
3945
|
-
schedule?: Types.schedule;
|
|
3946
|
-
lanes?: Types.lane[];
|
|
3947
|
-
cargo?: Types.cargo_item[];
|
|
5262
|
+
schedule?: Types$1.schedule;
|
|
5263
|
+
lanes?: Types$1.lane[];
|
|
5264
|
+
cargo?: Types$1.cargo_item[];
|
|
3948
5265
|
}
|
|
3949
5266
|
declare function makeEntity(packedItemId: number, state: EntityStateInput): Entity$1;
|
|
3950
5267
|
|
|
@@ -3959,7 +5276,7 @@ type FinalizerCapability = 'builder';
|
|
|
3959
5276
|
interface BuildableTarget {
|
|
3960
5277
|
entityId: UInt64;
|
|
3961
5278
|
ownerName: Name;
|
|
3962
|
-
coordinates: Types.coordinates;
|
|
5279
|
+
coordinates: Types$1.coordinates;
|
|
3963
5280
|
targetItemId: number;
|
|
3964
5281
|
targetItem: Item;
|
|
3965
5282
|
state: BuildState;
|
|
@@ -3967,7 +5284,7 @@ interface BuildableTarget {
|
|
|
3967
5284
|
progress: PlotProgress;
|
|
3968
5285
|
finalizeAction: Name;
|
|
3969
5286
|
finalizerCapability: FinalizerCapability;
|
|
3970
|
-
activeTask?: Types.task;
|
|
5287
|
+
activeTask?: Types$1.task;
|
|
3971
5288
|
scheduledBuild?: ScheduledBuild;
|
|
3972
5289
|
}
|
|
3973
5290
|
interface SourceEntityRef {
|
|
@@ -3984,7 +5301,7 @@ interface SourceCargoStack {
|
|
|
3984
5301
|
itemId: number;
|
|
3985
5302
|
item: Item;
|
|
3986
5303
|
stats: UInt64;
|
|
3987
|
-
modules: Types.module_entry[];
|
|
5304
|
+
modules: Types$1.module_entry[];
|
|
3988
5305
|
available: number;
|
|
3989
5306
|
plotNeeds: number;
|
|
3990
5307
|
reserved: number;
|
|
@@ -4037,23 +5354,24 @@ interface PlotProgress {
|
|
|
4037
5354
|
|
|
4038
5355
|
declare class ConstructionManager extends BaseManager {
|
|
4039
5356
|
private readonly plot;
|
|
4040
|
-
getTarget(entity: Types.entity_row, cargo: Types.cargo_row[], activeTask?: Types.task, scheduledBuild?: ScheduledBuild): BuildableTarget | null;
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
5357
|
+
getTarget(entity: Types$1.entity_row, cargo: Types$1.cargo_row[], activeTask?: Types$1.task, scheduledBuild?: ScheduledBuild): BuildableTarget | null;
|
|
5358
|
+
canAbandon(entity: Types$1.entity_row, cargo: Types$1.cargo_row[]): boolean;
|
|
5359
|
+
eligibleSources(target: BuildableTarget, entities: Types$1.entity_info[], cargo: Types$1.cargo_row[]): SourceEntityRef[];
|
|
5360
|
+
unreachableSources(target: BuildableTarget, entities: Types$1.entity_info[], cargo: Types$1.cargo_row[]): SourceEntityRef[];
|
|
5361
|
+
partitionSources(target: BuildableTarget, entities: Types$1.entity_info[], cargo: Types$1.cargo_row[]): {
|
|
4044
5362
|
eligible: SourceEntityRef[];
|
|
4045
5363
|
unreachable: SourceEntityRef[];
|
|
4046
5364
|
};
|
|
4047
|
-
eligibleFinalizers(target: BuildableTarget, entities: Types.entity_info[]): FinalizerEntityRef[];
|
|
4048
|
-
inboundTransfersTo(plotId: UInt64, entities: Types.entity_info[], now: Date): InboundTransfer[];
|
|
4049
|
-
inboundTransfersByTarget(entities: Types.entity_info[], now: Date): Map<string, InboundTransfer[]>;
|
|
5365
|
+
eligibleFinalizers(target: BuildableTarget, entities: Types$1.entity_info[]): FinalizerEntityRef[];
|
|
5366
|
+
inboundTransfersTo(plotId: UInt64, entities: Types$1.entity_info[], now: Date): InboundTransfer[];
|
|
5367
|
+
inboundTransfersByTarget(entities: Types$1.entity_info[], now: Date): Map<string, InboundTransfer[]>;
|
|
4050
5368
|
private plotReservation;
|
|
4051
5369
|
private builderBuildStart;
|
|
4052
5370
|
private builderCancelability;
|
|
4053
5371
|
private buildFromReservation;
|
|
4054
|
-
scheduledBuildFor(plot: Types.entity_info, entities: Types.entity_info[], now: Date): ScheduledBuild | null;
|
|
4055
|
-
scheduledBuildsByTarget(entities: Types.entity_info[], now: Date): Map<string, ScheduledBuild>;
|
|
4056
|
-
reservationsFrom(sourceEntityId: UInt64, entities: Types.entity_info[]): Reservation[];
|
|
5372
|
+
scheduledBuildFor(plot: Types$1.entity_info, entities: Types$1.entity_info[], now: Date): ScheduledBuild | null;
|
|
5373
|
+
scheduledBuildsByTarget(entities: Types$1.entity_info[], now: Date): Map<string, ScheduledBuild>;
|
|
5374
|
+
reservationsFrom(sourceEntityId: UInt64, entities: Types$1.entity_info[]): Reservation[];
|
|
4057
5375
|
estimateFinalizeDuration(target: BuildableTarget, builderSpeed: number): UInt32;
|
|
4058
5376
|
static isConstructionKind(kind: string): boolean;
|
|
4059
5377
|
}
|
|
@@ -4076,6 +5394,7 @@ declare function getEntityItems(opts?: {
|
|
|
4076
5394
|
tier?: number;
|
|
4077
5395
|
}): Item[];
|
|
4078
5396
|
declare function resolveItemCategory(id: number): ResourceCategory | undefined;
|
|
5397
|
+
declare function itemTypeIndex(itemId: UInt16Type): number;
|
|
4079
5398
|
declare function typeLabel(type: ItemType | number): string;
|
|
4080
5399
|
declare function categoryLabel(cat: ResourceCategory): string;
|
|
4081
5400
|
declare function categoryFromIndex(i: number): ResourceCategory | undefined;
|
|
@@ -4087,9 +5406,9 @@ declare function getLocationTypeName(type: LocationType): string;
|
|
|
4087
5406
|
declare function getSystemName(gameSeed: Checksum256Type, location: CoordinatesType): string;
|
|
4088
5407
|
declare function hasSystem(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
4089
5408
|
declare function getLocationKind(gameSeed: Checksum256Type, x: number, y: number): 'wormhole' | 'system' | 'empty';
|
|
4090
|
-
declare function deriveLocationStatic(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_static;
|
|
5409
|
+
declare function deriveLocationStatic(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types$1.location_static;
|
|
4091
5410
|
declare function isLocationBuildable(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
4092
|
-
declare function deriveLocation(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_derived;
|
|
5411
|
+
declare function deriveLocation(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types$1.location_derived;
|
|
4093
5412
|
|
|
4094
5413
|
declare function hash(seed: Checksum256Type, string: string): Checksum256;
|
|
4095
5414
|
declare function hash512(seed: Checksum256Type, string: string): Checksum512;
|
|
@@ -4118,9 +5437,9 @@ declare function validateDisplayName(input: string, opts?: ValidateDisplayNameOp
|
|
|
4118
5437
|
*/
|
|
4119
5438
|
|
|
4120
5439
|
declare function calc_orbital_altitude(mass: number): number;
|
|
4121
|
-
declare function distanceBetweenCoordinates(origin: ActionParams.Type.coordinates, destination: ActionParams.Type.coordinates): UInt64;
|
|
5440
|
+
declare function distanceBetweenCoordinates(origin: ActionParams$1.Type.coordinates, destination: ActionParams$1.Type.coordinates): UInt64;
|
|
4122
5441
|
declare function distanceBetweenPoints(x1: Int64Type, y1: Int64Type, x2: Int64Type, y2: Int64Type): UInt64;
|
|
4123
|
-
declare function lerp(origin: ActionParams.Type.coordinates, destination: ActionParams.Type.coordinates, time: number): ActionParams.Type.coordinates;
|
|
5442
|
+
declare function lerp(origin: ActionParams$1.Type.coordinates, destination: ActionParams$1.Type.coordinates, time: number): ActionParams$1.Type.coordinates;
|
|
4124
5443
|
interface FloatPosition {
|
|
4125
5444
|
x: number;
|
|
4126
5445
|
y: number;
|
|
@@ -4137,8 +5456,8 @@ declare function interpolateFlightPosition(origin: {
|
|
|
4137
5456
|
easing?: 'physics' | 'linear';
|
|
4138
5457
|
}): FloatPosition;
|
|
4139
5458
|
declare function getInterpolatedPosition(entity: HasScheduleAndLocation, taskIndex: number, taskProgress: number): FloatPosition;
|
|
4140
|
-
declare function rotation(origin: ActionParams.Type.coordinates, destination: ActionParams.Type.coordinates): number;
|
|
4141
|
-
declare function findNearbyPlanets(seed: Checksum256, origin: ActionParams.Type.coordinates, maxDistance?: UInt64Type): Distance[];
|
|
5459
|
+
declare function rotation(origin: ActionParams$1.Type.coordinates, destination: ActionParams$1.Type.coordinates): number;
|
|
5460
|
+
declare function findNearbyPlanets(seed: Checksum256, origin: ActionParams$1.Type.coordinates, maxDistance?: UInt64Type): Distance[];
|
|
4142
5461
|
declare function calc_rechargetime(capacity: UInt32Type, energy: UInt32Type, recharge: UInt32Type): UInt32;
|
|
4143
5462
|
declare function calc_ship_rechargetime(ship: ShipLike): UInt32;
|
|
4144
5463
|
declare function calc_flighttime(distance: UInt64Type, acceleration: number): UInt32;
|
|
@@ -4199,12 +5518,12 @@ interface TransferEntity {
|
|
|
4199
5518
|
loaderLanes?: TransferLoaderLane[];
|
|
4200
5519
|
}
|
|
4201
5520
|
interface HasScheduleAndLocation extends ScheduleData {
|
|
4202
|
-
coordinates: ActionParams.Type.coordinates;
|
|
5521
|
+
coordinates: ActionParams$1.Type.coordinates;
|
|
4203
5522
|
}
|
|
4204
|
-
declare function getFlightOrigin(entity: HasScheduleAndLocation, flightTaskIndex: number): ActionParams.Type.coordinates;
|
|
4205
|
-
declare function getDestinationLocation(entity: HasScheduleAndLocation): ActionParams.Type.coordinates | undefined;
|
|
5523
|
+
declare function getFlightOrigin(entity: HasScheduleAndLocation, flightTaskIndex: number): ActionParams$1.Type.coordinates;
|
|
5524
|
+
declare function getDestinationLocation(entity: HasScheduleAndLocation): ActionParams$1.Type.coordinates | undefined;
|
|
4206
5525
|
/** Returns chain-tile coordinates (rounded). For visual position use getInterpolatedPosition. */
|
|
4207
|
-
declare function getPositionAt(entity: HasScheduleAndLocation, taskIndex: number, taskProgress: number): ActionParams.Type.coordinates;
|
|
5526
|
+
declare function getPositionAt(entity: HasScheduleAndLocation, taskIndex: number, taskProgress: number): ActionParams$1.Type.coordinates;
|
|
4208
5527
|
declare function calc_onesided_duration(loaderThrust: number, loaderMass: number, activeZ: number, counterpartZ: number, activeEntityClass: EntityClass, counterpartEntityClass: EntityClass, cargoMass: number): number;
|
|
4209
5528
|
declare function calc_transfer_duration(source: TransferEntity, dest: TransferEntity, cargoMass: number): number;
|
|
4210
5529
|
|
|
@@ -4333,9 +5652,9 @@ declare function simulateRoute(movers: RouteMoverInput[], waypoints: {
|
|
|
4333
5652
|
y: number;
|
|
4334
5653
|
}, recharge: boolean): RouteSim;
|
|
4335
5654
|
|
|
4336
|
-
type ModuleEntry$3 = Types.module_entry;
|
|
4337
|
-
type Lane = Types.lane;
|
|
4338
|
-
type Schedule = Types.schedule;
|
|
5655
|
+
type ModuleEntry$3 = Types$1.module_entry;
|
|
5656
|
+
type Lane = Types$1.lane;
|
|
5657
|
+
type Schedule = Types$1.schedule;
|
|
4339
5658
|
interface ResolvedGathererLane {
|
|
4340
5659
|
slotIndex: number;
|
|
4341
5660
|
yield: number;
|
|
@@ -4380,11 +5699,11 @@ declare function getCargoForItem(cargo: EntityInventory[], goodId: UInt64Type):
|
|
|
4380
5699
|
declare function hasSpace(currentMass: UInt64, maxCapacity: UInt64, goodMass: UInt64, quantity: number): boolean;
|
|
4381
5700
|
declare function availableCapacity(currentMass: UInt64, maxCapacity: UInt64): UInt64;
|
|
4382
5701
|
declare function isFull(currentMass: UInt64, maxCapacity: UInt64): boolean;
|
|
4383
|
-
declare function afterRemoveItems(cargo: Types.cargo_item[], goodsToRemove: Array<{
|
|
5702
|
+
declare function afterRemoveItems(cargo: Types$1.cargo_item[], goodsToRemove: Array<{
|
|
4384
5703
|
goodId: number;
|
|
4385
5704
|
quantity: number;
|
|
4386
5705
|
}>): EntityInventory[];
|
|
4387
|
-
declare function afterRemoveAllItems(cargo: Types.cargo_item[]): EntityInventory[];
|
|
5706
|
+
declare function afterRemoveAllItems(cargo: Types$1.cargo_item[]): EntityInventory[];
|
|
4388
5707
|
|
|
4389
5708
|
type cargoUtils_CargoData = CargoData;
|
|
4390
5709
|
declare const cargoUtils_totalCargoMass: typeof totalCargoMass;
|
|
@@ -4410,14 +5729,14 @@ declare namespace cargoUtils {
|
|
|
4410
5729
|
declare function cargoRef(src: {
|
|
4411
5730
|
item_id: number;
|
|
4412
5731
|
stats: bigint | number;
|
|
4413
|
-
modules?: Types.module_entry[];
|
|
5732
|
+
modules?: Types$1.module_entry[];
|
|
4414
5733
|
entity_id?: bigint | number;
|
|
4415
|
-
}): ActionParams.Type.cargo_ref;
|
|
5734
|
+
}): ActionParams$1.Type.cargo_ref;
|
|
4416
5735
|
declare function cargoItem(src: {
|
|
4417
5736
|
item_id: number;
|
|
4418
5737
|
stats: bigint | number;
|
|
4419
|
-
modules?: Types.module_entry[];
|
|
4420
|
-
}, quantity: bigint | number): ActionParams.Type.cargo_item;
|
|
5738
|
+
modules?: Types$1.module_entry[];
|
|
5739
|
+
}, quantity: bigint | number): ActionParams$1.Type.cargo_item;
|
|
4421
5740
|
|
|
4422
5741
|
interface ProjectedEntity {
|
|
4423
5742
|
location: Coordinates;
|
|
@@ -4425,16 +5744,16 @@ interface ProjectedEntity {
|
|
|
4425
5744
|
cargo: CargoStack[];
|
|
4426
5745
|
shipMass: UInt32;
|
|
4427
5746
|
capacity?: UInt64;
|
|
4428
|
-
engines?: Types.movement_stats;
|
|
4429
|
-
loaderLanes: Types.loader_lane[];
|
|
4430
|
-
generator?: Types.energy_stats;
|
|
4431
|
-
hauler?: Types.hauler_stats;
|
|
4432
|
-
launcher?: Types.launcher_stats;
|
|
5747
|
+
engines?: Types$1.movement_stats;
|
|
5748
|
+
loaderLanes: Types$1.loader_lane[];
|
|
5749
|
+
generator?: Types$1.energy_stats;
|
|
5750
|
+
hauler?: Types$1.hauler_stats;
|
|
5751
|
+
launcher?: Types$1.launcher_stats;
|
|
4433
5752
|
readonly cargoMass: UInt64;
|
|
4434
5753
|
readonly totalMass: UInt64;
|
|
4435
|
-
readonly gathererLanes: Types.gatherer_lane[];
|
|
4436
|
-
readonly crafterLanes: Types.crafter_lane[];
|
|
4437
|
-
readonly builderLanes: Types.builder_lane[];
|
|
5754
|
+
readonly gathererLanes: Types$1.gatherer_lane[];
|
|
5755
|
+
readonly crafterLanes: Types$1.crafter_lane[];
|
|
5756
|
+
readonly builderLanes: Types$1.builder_lane[];
|
|
4438
5757
|
hasMovement(): boolean;
|
|
4439
5758
|
hasStorage(): boolean;
|
|
4440
5759
|
hasLoaders(): boolean;
|
|
@@ -4443,24 +5762,24 @@ interface ProjectedEntity {
|
|
|
4443
5762
|
state(): EntityState;
|
|
4444
5763
|
}
|
|
4445
5764
|
interface Projectable extends ScheduleData {
|
|
4446
|
-
coordinates: Coordinates | Types.coordinates;
|
|
5765
|
+
coordinates: Coordinates | Types$1.coordinates;
|
|
4447
5766
|
energy?: UInt32;
|
|
4448
5767
|
hullmass?: UInt32;
|
|
4449
|
-
generator?: Types.energy_stats;
|
|
4450
|
-
engines?: Types.movement_stats;
|
|
4451
|
-
loader_lanes?: Types.loader_lane[];
|
|
4452
|
-
gatherer_lanes?: Types.gatherer_lane[];
|
|
4453
|
-
crafter_lanes?: Types.crafter_lane[];
|
|
4454
|
-
builder_lanes?: Types.builder_lane[];
|
|
4455
|
-
hauler?: Types.hauler_stats;
|
|
4456
|
-
launcher?: Types.launcher_stats;
|
|
5768
|
+
generator?: Types$1.energy_stats;
|
|
5769
|
+
engines?: Types$1.movement_stats;
|
|
5770
|
+
loader_lanes?: Types$1.loader_lane[];
|
|
5771
|
+
gatherer_lanes?: Types$1.gatherer_lane[];
|
|
5772
|
+
crafter_lanes?: Types$1.crafter_lane[];
|
|
5773
|
+
builder_lanes?: Types$1.builder_lane[];
|
|
5774
|
+
hauler?: Types$1.hauler_stats;
|
|
5775
|
+
launcher?: Types$1.launcher_stats;
|
|
4457
5776
|
capacity?: UInt32;
|
|
4458
|
-
cargo: Types.cargo_item[];
|
|
5777
|
+
cargo: Types$1.cargo_item[];
|
|
4459
5778
|
cargomass: UInt32;
|
|
4460
5779
|
owner?: Name;
|
|
4461
5780
|
stats?: bigint;
|
|
4462
5781
|
item_id?: number | UInt16;
|
|
4463
|
-
modules?: Types.module_entry[] | InstalledModule[];
|
|
5782
|
+
modules?: Types$1.module_entry[] | InstalledModule[];
|
|
4464
5783
|
}
|
|
4465
5784
|
declare function createProjectedEntity(entity: Projectable): ProjectedEntity;
|
|
4466
5785
|
interface ProjectionOptions {
|
|
@@ -4476,22 +5795,22 @@ interface TaskCargoChange {
|
|
|
4476
5795
|
direction: TaskCargoDirection;
|
|
4477
5796
|
item_id: number;
|
|
4478
5797
|
stats: bigint;
|
|
4479
|
-
modules: Types.module_entry[];
|
|
5798
|
+
modules: Types$1.module_entry[];
|
|
4480
5799
|
quantity: number;
|
|
4481
5800
|
}
|
|
4482
|
-
declare function taskCargoChanges(task: Types.task): TaskCargoChange[];
|
|
5801
|
+
declare function taskCargoChanges(task: Types$1.task): TaskCargoChange[];
|
|
4483
5802
|
|
|
4484
|
-
type EntityInfo$1 = Types.entity_info;
|
|
5803
|
+
type EntityInfo$1 = Types$1.entity_info;
|
|
4485
5804
|
type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
|
|
4486
5805
|
type IdleResolveTarget = ScheduleData & {
|
|
4487
5806
|
id: UInt64;
|
|
4488
5807
|
};
|
|
4489
5808
|
declare function composeIdleResolve(blocker: IdleResolveTarget, action: Action, actions: ActionsManager, now: Date, lookupCounterpart?: CounterpartLookup): Action[];
|
|
4490
5809
|
|
|
4491
|
-
type Task = Types.task;
|
|
4492
|
-
type Coupling = Types.coupling;
|
|
4493
|
-
type CargoItem$2 = Types.cargo_item;
|
|
4494
|
-
type ModuleEntry$2 = Types.module_entry;
|
|
5810
|
+
type Task = Types$1.task;
|
|
5811
|
+
type Coupling = Types$1.coupling;
|
|
5812
|
+
type CargoItem$2 = Types$1.cargo_item;
|
|
5813
|
+
type ModuleEntry$2 = Types$1.module_entry;
|
|
4495
5814
|
interface CargoEffect {
|
|
4496
5815
|
added: CargoItem$2[];
|
|
4497
5816
|
removed: CargoItem$2[];
|
|
@@ -4530,9 +5849,9 @@ declare enum CancelBlockReason {
|
|
|
4530
5849
|
WOULD_OVERFILL = "WOULD_OVERFILL",
|
|
4531
5850
|
NOT_OWNER = "NOT_OWNER"
|
|
4532
5851
|
}
|
|
4533
|
-
type EntityInfo = InstanceType<typeof Types.entity_info>;
|
|
4534
|
-
type EntityRef = InstanceType<typeof Types.entity_ref>;
|
|
4535
|
-
type CargoItem$1 = InstanceType<typeof Types.cargo_item>;
|
|
5852
|
+
type EntityInfo = InstanceType<typeof Types$1.entity_info>;
|
|
5853
|
+
type EntityRef = InstanceType<typeof Types$1.entity_ref>;
|
|
5854
|
+
type CargoItem$1 = InstanceType<typeof Types$1.cargo_item>;
|
|
4536
5855
|
interface CancelRefund {
|
|
4537
5856
|
giver: EntityRef;
|
|
4538
5857
|
cargo: CargoItem$1[];
|
|
@@ -4587,7 +5906,7 @@ declare function unwrapLoadDuration(loaders: DerivedLoaders | null, itemMass: nu
|
|
|
4587
5906
|
interface UnwrapItem {
|
|
4588
5907
|
itemId: number;
|
|
4589
5908
|
quantity: number;
|
|
4590
|
-
modules: Types.module_entry[];
|
|
5909
|
+
modules: Types$1.module_entry[];
|
|
4591
5910
|
originX: number;
|
|
4592
5911
|
originY: number;
|
|
4593
5912
|
}
|
|
@@ -4647,8 +5966,8 @@ declare function calc_craft_energy(drain: number, totalInputMass: number): UInt3
|
|
|
4647
5966
|
declare function calc_build_duration(speed: number, totalInputMass: number): UInt32;
|
|
4648
5967
|
declare function calc_build_energy(drain: number, totalInputMass: number): UInt32;
|
|
4649
5968
|
|
|
4650
|
-
type CargoItem = Types.cargo_item;
|
|
4651
|
-
type ModuleEntry$1 = Types.module_entry;
|
|
5969
|
+
type CargoItem = Types$1.cargo_item;
|
|
5970
|
+
type ModuleEntry$1 = Types$1.module_entry;
|
|
4652
5971
|
interface CraftableEntity extends ScheduleData {
|
|
4653
5972
|
cargo: CargoItem[];
|
|
4654
5973
|
modules: ModuleEntry$1[];
|
|
@@ -4662,7 +5981,7 @@ interface Entity {
|
|
|
4662
5981
|
type: Name;
|
|
4663
5982
|
owner: Name;
|
|
4664
5983
|
entity_name: string;
|
|
4665
|
-
location: Coordinates | Types.coordinates;
|
|
5984
|
+
location: Coordinates | Types$1.coordinates;
|
|
4666
5985
|
}
|
|
4667
5986
|
type ShipEntity = Entity & Partial<MovementCapability> & Partial<EnergyCapability> & StorageCapability & Partial<LoaderCapability> & MassCapability & ScheduleCapability & Partial<GathererCapability>;
|
|
4668
5987
|
type WarehouseEntity = Entity & StorageCapability & Partial<LoaderCapability> & MassCapability & ScheduleCapability;
|
|
@@ -4904,6 +6223,10 @@ declare function computeWarehouseHullCapabilities(stats: Record<string, number>)
|
|
|
4904
6223
|
hullmass: number;
|
|
4905
6224
|
capacity: number;
|
|
4906
6225
|
};
|
|
6226
|
+
declare function computeDepotHullCapabilities(stats: Record<string, number>): {
|
|
6227
|
+
hullmass: number;
|
|
6228
|
+
capacity: number;
|
|
6229
|
+
};
|
|
4907
6230
|
interface GathererLaneEntry {
|
|
4908
6231
|
slotIndex: number;
|
|
4909
6232
|
yield: number;
|
|
@@ -5028,20 +6351,20 @@ declare function nearbyWormholes(seed: Checksum256Type, x: number, y: number, re
|
|
|
5028
6351
|
}[];
|
|
5029
6352
|
declare function isValidWormholePair(seed: Checksum256Type, ax: number, ay: number, bx: number, by: number): boolean;
|
|
5030
6353
|
|
|
5031
|
-
declare function rollupGatherer(lanes: Types.gatherer_lane[]): {
|
|
6354
|
+
declare function rollupGatherer(lanes: Types$1.gatherer_lane[]): {
|
|
5032
6355
|
yield: UInt16;
|
|
5033
6356
|
drain: UInt32;
|
|
5034
6357
|
depth: UInt16;
|
|
5035
6358
|
} | undefined;
|
|
5036
|
-
declare function rollupCrafter(lanes: Types.crafter_lane[]): {
|
|
6359
|
+
declare function rollupCrafter(lanes: Types$1.crafter_lane[]): {
|
|
5037
6360
|
speed: UInt16;
|
|
5038
6361
|
drain: UInt32;
|
|
5039
6362
|
} | undefined;
|
|
5040
|
-
declare function rollupBuilder(lanes: Types.builder_lane[]): {
|
|
6363
|
+
declare function rollupBuilder(lanes: Types$1.builder_lane[]): {
|
|
5041
6364
|
speed: UInt16;
|
|
5042
6365
|
drain: UInt32;
|
|
5043
6366
|
} | undefined;
|
|
5044
|
-
declare function rollupLoaders(lanes: Types.loader_lane[]): {
|
|
6367
|
+
declare function rollupLoaders(lanes: Types$1.loader_lane[]): {
|
|
5045
6368
|
mass: UInt32;
|
|
5046
6369
|
thrust: UInt16;
|
|
5047
6370
|
quantity: UInt8;
|
|
@@ -5090,7 +6413,7 @@ interface ResolvedItem {
|
|
|
5090
6413
|
attributes?: ResolvedAttributeGroup[];
|
|
5091
6414
|
moduleSlots?: ResolvedModuleSlot[];
|
|
5092
6415
|
}
|
|
5093
|
-
declare function resolveItem(itemId: UInt16Type, stats?: UInt64Type, modules?: Types.module_entry[]): ResolvedItem;
|
|
6416
|
+
declare function resolveItem(itemId: UInt16Type, stats?: UInt64Type, modules?: Types$1.module_entry[]): ResolvedItem;
|
|
5094
6417
|
|
|
5095
6418
|
interface TextSpan {
|
|
5096
6419
|
text: string;
|
|
@@ -5154,6 +6477,7 @@ declare function computeBaseCapacityShip(stats: bigint): number;
|
|
|
5154
6477
|
declare function computeBaseCapacityContainer(stats: bigint): number;
|
|
5155
6478
|
declare function computeBaseCapacityWarehouse(stats: bigint): number;
|
|
5156
6479
|
declare function computeBaseCapacityWorkshop(stats: bigint): number;
|
|
6480
|
+
declare function computeBaseCapacityDepot(stats: bigint): number;
|
|
5157
6481
|
declare function computeBaseCapacityForEntity(itemId: number, stats: bigint): number;
|
|
5158
6482
|
declare const computeEngineThrust: (vol: number, tier: number) => number;
|
|
5159
6483
|
declare const computeEngineDrain: (thm: number) => number;
|
|
@@ -5205,7 +6529,7 @@ interface ImmutableModuleSlot {
|
|
|
5205
6529
|
stats: number | string | bigint;
|
|
5206
6530
|
};
|
|
5207
6531
|
}
|
|
5208
|
-
declare function moduleSlotsForImmutable(modules: Types.module_entry[]): ImmutableModuleSlot[];
|
|
6532
|
+
declare function moduleSlotsForImmutable(modules: Types$1.module_entry[]): ImmutableModuleSlot[];
|
|
5209
6533
|
declare function computeNftImageUrl(item: {
|
|
5210
6534
|
item_id: number;
|
|
5211
6535
|
stats: bigint;
|
|
@@ -5282,6 +6606,7 @@ declare const index_computeBaseCapacityShip: typeof computeBaseCapacityShip;
|
|
|
5282
6606
|
declare const index_computeBaseCapacityContainer: typeof computeBaseCapacityContainer;
|
|
5283
6607
|
declare const index_computeBaseCapacityWarehouse: typeof computeBaseCapacityWarehouse;
|
|
5284
6608
|
declare const index_computeBaseCapacityWorkshop: typeof computeBaseCapacityWorkshop;
|
|
6609
|
+
declare const index_computeBaseCapacityDepot: typeof computeBaseCapacityDepot;
|
|
5285
6610
|
declare const index_computeBaseCapacityForEntity: typeof computeBaseCapacityForEntity;
|
|
5286
6611
|
declare const index_computeEngineThrust: typeof computeEngineThrust;
|
|
5287
6612
|
declare const index_computeEngineDrain: typeof computeEngineDrain;
|
|
@@ -5356,6 +6681,7 @@ declare namespace index {
|
|
|
5356
6681
|
index_computeBaseCapacityContainer as computeBaseCapacityContainer,
|
|
5357
6682
|
index_computeBaseCapacityWarehouse as computeBaseCapacityWarehouse,
|
|
5358
6683
|
index_computeBaseCapacityWorkshop as computeBaseCapacityWorkshop,
|
|
6684
|
+
index_computeBaseCapacityDepot as computeBaseCapacityDepot,
|
|
5359
6685
|
index_computeBaseCapacityForEntity as computeBaseCapacityForEntity,
|
|
5360
6686
|
index_computeEngineThrust as computeEngineThrust,
|
|
5361
6687
|
index_computeEngineDrain as computeEngineDrain,
|
|
@@ -5424,6 +6750,8 @@ declare function formatLocation(loc: {
|
|
|
5424
6750
|
y: number;
|
|
5425
6751
|
}): string;
|
|
5426
6752
|
declare function formatMassScaled(kg: number): string;
|
|
6753
|
+
declare function formatInfluence(atomic: bigint | number | string): string;
|
|
6754
|
+
declare function formatNeedMultiplier(needFp: bigint | number | string): string;
|
|
5427
6755
|
|
|
5428
6756
|
interface DisplayNameInputCommon {
|
|
5429
6757
|
tier: number;
|
|
@@ -5487,8 +6815,8 @@ declare class WebSocketConnection {
|
|
|
5487
6815
|
get isConnected(): boolean;
|
|
5488
6816
|
}
|
|
5489
6817
|
|
|
5490
|
-
declare function mapEntity(ei: Types.entity_info): Entity$1;
|
|
5491
|
-
declare function parseWireEntity(raw: WireEntity): Types.entity_info;
|
|
6818
|
+
declare function mapEntity(ei: Types$1.entity_info): Entity$1;
|
|
6819
|
+
declare function parseWireEntity(raw: WireEntity): Types$1.entity_info;
|
|
5492
6820
|
|
|
5493
6821
|
declare function setSubscriptionsDebug(on: boolean): void;
|
|
5494
6822
|
declare function isSubscriptionsDebugEnabled(): boolean;
|
|
@@ -5501,8 +6829,8 @@ type PlanTarget = {
|
|
|
5501
6829
|
quantity: number;
|
|
5502
6830
|
} | 'max';
|
|
5503
6831
|
interface GatherPlanEntity extends Projectable {
|
|
5504
|
-
gatherer_lanes: Types.gatherer_lane[];
|
|
5505
|
-
loader_lanes: Types.loader_lane[];
|
|
6832
|
+
gatherer_lanes: Types$1.gatherer_lane[];
|
|
6833
|
+
loader_lanes: Types$1.loader_lane[];
|
|
5506
6834
|
}
|
|
5507
6835
|
interface GatherLimpet {
|
|
5508
6836
|
slot: number;
|
|
@@ -5538,9 +6866,9 @@ declare function allocateProportional(lanes: {
|
|
|
5538
6866
|
slot: number;
|
|
5539
6867
|
weight: number;
|
|
5540
6868
|
}[], total: number): LanePlanEntry[];
|
|
5541
|
-
declare function gatherEnergyCost(lane: Types.gatherer_lane, quantity: number, stratum: number, itemMass: number, richness: number): number;
|
|
5542
|
-
declare function splitCost(reaching: Types.gatherer_lane[], quantity: number, stratum: number, itemMass: number, richness: number): number;
|
|
5543
|
-
declare function maxQtyForCharge(reaching: Types.gatherer_lane[], hi: number, capacity: number, stratum: number, itemMass: number, richness: number): number;
|
|
6869
|
+
declare function gatherEnergyCost(lane: Types$1.gatherer_lane, quantity: number, stratum: number, itemMass: number, richness: number): number;
|
|
6870
|
+
declare function splitCost(reaching: Types$1.gatherer_lane[], quantity: number, stratum: number, itemMass: number, richness: number): number;
|
|
6871
|
+
declare function maxQtyForCharge(reaching: Types$1.gatherer_lane[], hi: number, capacity: number, stratum: number, itemMass: number, richness: number): number;
|
|
5544
6872
|
declare function buildGatherPlan(entity: GatherPlanEntity, stratum: number, target: PlanTarget, opts: BuildGatherPlanOpts): GatherPlan;
|
|
5545
6873
|
declare function planParallelTransfer(entity: GatherPlanEntity, target: PlanTarget): LanePlanEntry[];
|
|
5546
6874
|
|
|
@@ -5551,14 +6879,14 @@ type Extractor = Entity$1;
|
|
|
5551
6879
|
type Factory = Entity$1;
|
|
5552
6880
|
type Nexus = Entity$1;
|
|
5553
6881
|
|
|
5554
|
-
type movement_stats = Types.movement_stats;
|
|
5555
|
-
type energy_stats = Types.energy_stats;
|
|
5556
|
-
type lane = Types.lane;
|
|
5557
|
-
type task = Types.task;
|
|
5558
|
-
type coupling = Types.coupling;
|
|
5559
|
-
type cargo_item = Types.cargo_item;
|
|
5560
|
-
type entity_row = Types.entity_row;
|
|
5561
|
-
type location_static = Types.location_static;
|
|
5562
|
-
type location_derived = Types.location_derived;
|
|
5563
|
-
|
|
5564
|
-
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, 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, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DEFAULT_BASE_HULLMASS, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DemandRow, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, 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_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T1_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingSource, InstalledModule, InventoryAccessor, Item, ItemType, JOB_QUEUE_CAP, JobLane, JobLaneEntry, JobStatus, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverInput, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, ValidateDisplayNameOptions, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WH, WOULD_OVERFILL, WOULD_STRAND, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapDeposit, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, addressFromCoordinates, allBuildableItems, allPlotBuildableItems, allocateProportional, applyCapacityTier, applyResourceTierMultiplier, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, clusterStockAvailable, compareByStars, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, coupling, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, eligibleUpgrades, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, incomingHoldMass, interpolateFlightPosition, isBuildable, isConstructionDock, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, jobStatus, jobsToLanes, kindCan, lane, laneKeyForModule, lerp, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needsRecharge, normalizeDisplayName, parseWireEntity, partnerRegion, pickFabricator, planParallelTransfer, planRoute, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, yieldThresholdAt };
|
|
6882
|
+
type movement_stats = Types$1.movement_stats;
|
|
6883
|
+
type energy_stats = Types$1.energy_stats;
|
|
6884
|
+
type lane = Types$1.lane;
|
|
6885
|
+
type task = Types$1.task;
|
|
6886
|
+
type coupling = Types$1.coupling;
|
|
6887
|
+
type cargo_item = Types$1.cargo_item;
|
|
6888
|
+
type entity_row = Types$1.entity_row;
|
|
6889
|
+
type location_static = Types$1.location_static;
|
|
6890
|
+
type location_derived = Types$1.location_derived;
|
|
6891
|
+
|
|
6892
|
+
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BAR_SEED, BAR_STEP_DOWN, BAR_STEP_UNIT, BAR_STEP_UP, BASE_HAUL_PENALTY_MILLI, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BalancesManager, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildGatherPlanOpts, BuildMethod, BuildState, BuildableTarget, BuilderStats, BuiltCharter, CANCEL_CONTAINS_GROUPED_TASK, CAPACITY_TIER_TABLE, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, CHARTER_BASELINE_STAT, CHARTER_EFFECT_REFIT_MODULES, CHARTER_EFFECT_SPAWN_ENTITY, CHARTER_INELIGIBILITY_MESSAGES, CHARTER_MAX_PREREQS, CHARTER_NONE, CHARTER_REGISTRY, CHARTER_WORKSHOP, CHARTER_WORKSHOP_COST, CIVIC_LOADER_STAT, CIVIC_LOADER_TIER, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, COORD_MAX, COORD_MIN, COORD_OFFSET, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityAttributeRow, CapabilityInput, CargoData, CargoInput, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, CharterEffect, CharterIneligibility, CharterNode, CharterProgress, CharterWorld, ChosenCharter, CivicLoaderStats, ClientMessage, Cluster, ClusterCell, ClusterCellWire, ClusterDeltaMessage, ClusterManager, ClusterSlotType, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, ContributePreview, ContributePreviewRow, Coord, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, CrafterStats, DECAY_MAX_ITERATIONS, DECAY_RETAIN_DEN, DECAY_RETAIN_NUM, DECOMP_MAX_BUCKETS, DECOMP_MAX_DEPTH, DECOMP_PROCESSED_KG_MAX, DECOMP_RAW_KG_MAX, DECOMP_REGISTRY, DEFAULT_BASE_HULLMASS, DEFAULT_ORBITAL_Z, DEMAND_TRIPLE_SEED, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecayableStanding, DecodedAtomicAsset, DecompBucket, DecompEntry, DemandRow, DemandTriple, DemandView, DepositConfig, DerivedLoaders, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENGINE_DRAIN_BASE, ENGINE_DRAIN_REF_THM, ENGINE_DRAIN_REF_THRUST, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONSTRUCTION_DOCK, ENTITY_CONTAINER, ENTITY_DEPOT, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_HUB, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, ENTITY_WORKSHOP, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FillCap, FinalizerCapability, FinalizerEntityRef, FloatPosition, FoundedWorld, fund as FundContract, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_MASS_DIVISOR, GATHER_NOT_ENOUGH_ENERGY, GRADE_PREMIUM, GRADE_STANDARD, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GatherCycle, GatherLimpet, GatherPlan, GatherPlanEntity, GathererCapability, GathererDepthParams, GathererStats, GridCell, HAULER_EFFICIENCY_DENOM, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, HoldKind, INFLUENCE_ATOMIC_PER_POINT, INFLUENCE_D1_SEED, INFLUENCE_MASS_KG_MAX, INFLUENCE_NEED_FP_MAX, INFLUENCE_WEIGHT_FP_MAX, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INTAKE_RATE, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BATTERY_T2, ITEM_BEAM, ITEM_BEAM_T2, ITEM_BIOMASS_T1, ITEM_BIOMASS_T10, ITEM_BIOMASS_T2, ITEM_BIOMASS_T3, ITEM_BIOMASS_T4, ITEM_BIOMASS_T5, ITEM_BIOMASS_T6, ITEM_BIOMASS_T7, ITEM_BIOMASS_T8, ITEM_BIOMASS_T9, ITEM_BUILDER_T1, ITEM_BUILDER_T2, ITEM_CERAMIC, ITEM_CERAMIC_T2, ITEM_CONSTRUCTION_DOCK_T1_PACKED, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRAFTER_T2, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DEPOT_T1_PACKED, ITEM_DOES_NOT_EXIST, ITEM_DREDGER_T2A_PACKED, ITEM_ENGINE_T1, ITEM_ENGINE_T2, ITEM_EXTRACTOR_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_GATHERER_T2, ITEM_GENERATOR_T1, ITEM_GENERATOR_T2, ITEM_HAULER_T1, ITEM_HAULER_T2, ITEM_HUB_T1_PACKED, ITEM_LAUNCHER_T1, ITEM_LOADER_T1, ITEM_LOADER_T2, ITEM_MASS_CATCHER_T1_PACKED, ITEM_MASS_DRIVER_T1_PACKED, ITEM_NEXUS_T1_PACKED, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLASMA_CELL_T2, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_POLYMER_T2, ITEM_PORTER_T1A_PACKED, ITEM_PROSPECTOR_T1A_PACKED, ITEM_PROSPECTOR_T2A_PACKED, ITEM_PROSPECTOR_T2B_PACKED, ITEM_REACTOR, ITEM_REACTOR_T2, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESIN_T2, ITEM_RESONATOR, ITEM_RESONATOR_T2, ITEM_ROUSTABOUT_T1A_PACKED, ITEM_SENSOR, ITEM_SENSOR_T2, ITEM_SHIP_T1_PACKED, ITEM_SMITH_T1A_PACKED, ITEM_STORAGE_T1, ITEM_STORAGE_T2, ITEM_TENDER_T1A_PACKED, ITEM_TUG_T1A_PACKED, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, ITEM_WARP_T2, ITEM_WORKSHOP_T1_PACKED, ITEM_WRIGHT_T1A_PACKED, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, IncomingSource, InfluenceManager, InfluencePricing, InfluenceStanding, InstalledModule, InventoryAccessor, Item, ItemType, JOB_QUEUE_CAP, JobLane, JobLaneEntry, JobStatus, JobWindow, JobsManager, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCAL_HALF, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LanePlanEntry, LaneView, LaunchNumericInput, LaunchQuote, LaunchQuoteCatcher, LaunchQuoteLauncher, LaunchStatsInput, LoadTimeBreakdown, LoaderCapability, LoaderStats, Location, LocationStratum, LocationType, LocationsManager, MASS_KG_PER_TONNE, MAX_LEGS, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MINTREADY_DEFAULT_CAP, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_AUX, MODULE_BATTERY, MODULE_BUILDER, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STAT_SCALING_ANCHOR, MODULE_STAT_SCALING_POST_ANCHOR_PERCENT, MODULE_STORAGE, MODULE_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, NEED_FP_SCALE, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Neighbor, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnedJob, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PendingBallot, PingMessage, PlanRouteParams, PlanTarget, PlanetSubtypeInfo, PlatformBalance, platform as PlatformContract, Types$2 as PlatformTypes, Player, PlayerRosterEntry, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REGION_DIV, REGION_PER_AXIS, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, RESOURCE_BIOMASS, RESOURCE_CATEGORY_COUNT, RESOURCE_CRYSTAL, RESOURCE_GAS, RESOURCE_ORE, RESOURCE_REGOLITH, RESOURCE_TIER_ADJECTIVES, RESOURCE_TIER_MULT_TENTHS, RawData, ReachStats, Recipe, RecipeConsumer, RecipeInput, RecipeSlotInput, RefitOp, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedCrafterLane, ResolvedEvent, ResolvedGathererLane, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedLoaderLane, ResolvedModuleSlot, ResourceCategory, ResourceDemand, ResourceStats, RouteFailure, RouteFailureReason, RouteHeuristicCost, RouteLegCost, RouteLegInput, RouteLegSim, RouteMoverInput, RoutePlan, RouteResult, RouteSim, SECTORS_PER_AXIS, SECTOR_DIV, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScanProvider, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types$1 as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StarSortable, StatDefinition, StatFlow, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, SystemGraph, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TokenBalance, token as TokenContract, TransferEntity, TravelDrainBreakdown, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UnwrapDestination, UnwrapItem, UpdateBoundsMessage, UpdateMessage, VOTE_READY_DEFAULT_MAX, ValidateDisplayNameOptions, ValuedItem, VoteCast, VoteOption, VoteStandings, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WEIGHT_FP_SCALE, WH, WOULD_OVERFILL, WOULD_STRAND, W_EFF_ATOMIC_PER_KG, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapConfig, WrapDeposit, WrapGate, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, abundantMaskFor, addressFromCoordinates, allBuildableItems, allCategoryIndexes, allPlotBuildableItems, allocateProportional, applyCapacityTier, applyResourceTierMultiplier, atomicToPoints, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildDemand, buildEntityDescription, buildEntityImmutable, buildGatherPlan, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcClusterIntake, calcClustercraftDuration, calcCounterpartDelivery, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_build_duration, calc_build_energy, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, calc_group_flighttime, calc_loader_acceleration, calc_loader_flighttime, calc_onesided_duration, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calc_transit_duration, calc_travel_flighttime, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capacityTierMultiplier, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLauncher, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoInputKey, cargoItem, cargoItemToStack, cargoKey, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryAtIndex, categoryColors, categoryFromIndex, categoryIndex, categoryLabel, categoryLabelFromIndex, charterEffectTargetEntity, charterEffectTargetPresent, charterEligible, charterIneligible, charterNode, charterPrereqsMet, charterSingletonMandate, charterSpawnNodeFor, citizenryName, citizenryPatternCount, civicLoader, clusterStockAvailable, compareByStars, componentBaseAtomic, componentEffortAtomic, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityContainer, computeBaseCapacityDepot, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeBatteryCapabilities, computeBuilderCapabilities, computeBuilderDrain, computeBuilderSpeed, computeComponentStats, computeContainerCapabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeDepotHullCapabilities, computeEffectiveModuleStat, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeFreeCells, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeGroupPerLegReach, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerEfficiency, computeInputMass, computeLauncherCapabilities, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computePerLegReach, computeShipHullCapabilities, computeStorageCapabilities, computeTravelDrain, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, contributeDuration, contributeDurationForTonnes, coordsToLocationId, coupling, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decayActive, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, demandRoll, deriveDemand, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, derivedLoaders, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, effectiveMandate, eligibleCharters, eligibleUpgrades, encodeAddress, encodeAddressMemo, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, estimateUnwrapDuration, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findDecomp, findNearbyPlanets, flightSpeedFactor, formatInfluence, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatNeedMultiplier, formatTier, gatherEnergyCost, gathererDepthForTier, getAllRecipes, getBaseHullmassFor, getCapabilityAttributeRows, getCapabilityAttributes, getCategoryInfo, getComponentDemand, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getProducersForAttribute, getRecipe, getRecipeConsumers, getResourceDemand, getResourceTier, getResourceWeight, getResources, getStatCount, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasIncomingCoupling, hasLoaders, hasMass, hasSchedule, hasSourceCoupling, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, incomingHoldMass, influenceWeightKey, interpolateFlightPosition, isAbundant, isAcute, isBuildable, isConstructionDock, isContainer, isCraftedItem, isDepot, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isHub, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, isWorkshop, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, itemTypeIndex, jobStatus, jobsToLanes, kindCan, lackingMaskFrom, lane, laneKeyForModule, lerp, locationIdToCoords, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxQtyForCharge, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, nearbyWormholes, needForCategory, needMultiplier, needsRecharge, normalizeActive, normalizeDisplayName, parseWireEntity, partnerRegion, pickAcuteCategory, pickFabricator, planParallelTransfer, planRoute, poolKey, popcount5, pricingFromWeights, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, projectedPeakCargomass, qualityFactor, rawScheduleEnd, readCommonBase, receiveFits, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLaneBuilder, resolveLaneCrafter, resolveLaneGatherer, resolveLaneLoader, resolveLockedAmount, resolveStats, resourceValueAtomic, rollTier, rollWithinTier, rollupBuilder, rollupCrafter, rollupGatherer, rollupLoaders, rotation, schedule, sdkSystemGraph, selectGatherLane, setSubscriptionsDebug, simulateRoute, slotAcceptsModule, socketTail, sourceLabelForOutput, splitCost, splitJobCargo, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, statsSumSq, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, unwrapLoadDuration, unwrapTransitDuration, usedInputStatKeys, validateDisplayName, validateSchedule, valueCargoItem, valueContribution, weightedQualityAtomic, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, wrapCostKey, yieldThresholdAt };
|