@shipload/sdk 1.0.0-next.7 → 1.0.0-next.70
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/scan.d.ts +52 -0
- package/lib/scan.js +162 -0
- package/lib/scan.js.map +1 -0
- package/lib/scan.m.js +152 -0
- package/lib/scan.m.js.map +1 -0
- package/lib/shipload.d.ts +5696 -1503
- package/lib/shipload.js +20294 -5200
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +20371 -5683
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +1648 -0
- package/lib/testing.js +6980 -0
- package/lib/testing.js.map +1 -0
- package/lib/testing.m.js +6974 -0
- package/lib/testing.m.js.map +1 -0
- package/package.json +20 -2
- package/src/capabilities/craftable.test.ts +82 -0
- package/src/capabilities/craftable.ts +82 -0
- package/src/capabilities/crafting.test.ts +80 -0
- package/src/capabilities/crafting.ts +50 -8
- package/src/capabilities/gathering.test.ts +29 -0
- package/src/capabilities/gathering.ts +38 -20
- package/src/capabilities/hauling.ts +0 -5
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/modules.ts +27 -30
- package/src/capabilities/movement.ts +1 -1
- package/src/capabilities/storage.test.ts +26 -0
- package/src/capabilities/storage.ts +22 -7
- package/src/contracts/fund.ts +306 -0
- package/src/contracts/platform.ts +312 -3
- package/src/contracts/server.ts +2661 -466
- package/src/contracts/token.ts +170 -0
- package/src/contracts.ts +2 -0
- package/src/coordinates/address.ts +88 -0
- package/src/coordinates/constants.test.ts +15 -0
- package/src/coordinates/constants.ts +23 -0
- package/src/coordinates/index.ts +15 -0
- package/src/coordinates/memo.test.ts +47 -0
- package/src/coordinates/memo.ts +20 -0
- package/src/coordinates/permutation.ts +77 -0
- package/src/coordinates/regions.ts +48 -0
- package/src/coordinates/sectors.ts +115 -0
- package/src/data/capabilities.ts +49 -18
- package/src/data/capability-formulas.ts +26 -14
- package/src/data/catalog.test.ts +19 -0
- package/src/data/catalog.ts +13 -3
- package/src/data/charters.json +396 -0
- package/src/data/citizenry-adjectives.json +42 -0
- package/src/data/citizenry-nouns.json +50 -0
- package/src/data/colors.ts +14 -32
- package/src/data/entities.json +421 -15
- package/src/data/item-ids.ts +53 -13
- package/src/data/items.json +330 -77
- package/src/data/kind-registry.json +212 -0
- package/src/data/kind-registry.ts +192 -0
- package/src/data/metadata.ts +312 -51
- package/src/data/recipes-runtime.ts +6 -23
- package/src/data/recipes.json +2173 -173
- package/src/data/tiers.ts +9 -6
- package/src/derivation/build-methods.test.ts +71 -0
- package/src/derivation/build-methods.ts +50 -0
- package/src/derivation/capabilities.test.ts +348 -0
- package/src/derivation/capabilities.ts +707 -0
- package/src/derivation/capability-mappings.ts +60 -16
- package/src/derivation/crafting.test.ts +17 -0
- package/src/derivation/crafting.ts +57 -34
- package/src/derivation/index.ts +27 -2
- package/src/derivation/recipe-usage.test.ts +88 -0
- package/src/derivation/recipe-usage.ts +141 -0
- package/src/derivation/reserve-regen.ts +34 -0
- package/src/derivation/resources.ts +9 -1
- package/src/derivation/rollups.test.ts +55 -0
- package/src/derivation/rollups.ts +72 -0
- package/src/derivation/stars.test.ts +67 -0
- package/src/derivation/stars.ts +25 -0
- package/src/derivation/stat-scaling.ts +12 -0
- package/src/derivation/stats.ts +6 -6
- package/src/derivation/strata.ts +5 -3
- package/src/derivation/stratum.ts +26 -22
- package/src/derivation/tiers.ts +40 -7
- package/src/derivation/upgrades.ts +14 -0
- package/src/derivation/wormhole.ts +154 -0
- package/src/entities/entity.ts +102 -0
- package/src/entities/gamestate.ts +3 -28
- package/src/entities/makers.ts +144 -136
- package/src/entities/slot-multiplier.ts +43 -0
- package/src/entity/hydrate.test.ts +156 -0
- package/src/entity/hydrate.ts +86 -0
- package/src/errors.ts +21 -16
- package/src/format.ts +42 -9
- package/src/index-module.ts +411 -32
- package/src/influence/ballot.test.ts +103 -0
- package/src/influence/ballot.ts +98 -0
- package/src/influence/categories.ts +32 -0
- package/src/influence/charter-metadata.test.ts +136 -0
- package/src/influence/charter-metadata.ts +236 -0
- package/src/influence/charters.test.ts +112 -0
- package/src/influence/charters.ts +150 -0
- package/src/influence/citizenry.ts +38 -0
- package/src/influence/civic-shuttle.test.ts +202 -0
- package/src/influence/civic-shuttle.ts +142 -0
- package/src/influence/civic.test.ts +287 -0
- package/src/influence/civic.ts +269 -0
- package/src/influence/constants.ts +84 -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 +101 -0
- package/src/influence/index.ts +118 -0
- package/src/influence/influence.test.ts +450 -0
- package/src/influence/quality.ts +25 -0
- package/src/influence/valuation.ts +154 -0
- package/src/managers/actions.ts +940 -93
- package/src/managers/balances.test.ts +161 -0
- package/src/managers/balances.ts +93 -0
- package/src/managers/base.ts +10 -2
- package/src/managers/cluster.test.ts +39 -0
- package/src/managers/cluster.ts +53 -0
- package/src/managers/construction-types.ts +80 -0
- package/src/managers/construction.ts +453 -0
- package/src/managers/context.ts +58 -1
- package/src/managers/coordinates.ts +14 -0
- package/src/managers/entities.ts +35 -63
- package/src/managers/epochs.ts +72 -1
- package/src/managers/index.ts +38 -1
- package/src/managers/influence.test.ts +56 -0
- package/src/managers/influence.ts +425 -0
- package/src/managers/jobs.test.ts +80 -0
- package/src/managers/jobs.ts +54 -0
- package/src/managers/locations.ts +25 -29
- package/src/managers/nft.test.ts +21 -0
- package/src/managers/nft.ts +110 -0
- package/src/managers/players.ts +25 -0
- package/src/managers/plot.ts +122 -0
- package/src/nft/atomicassets.abi.json +1342 -0
- package/src/nft/atomicassets.ts +237 -0
- package/src/nft/atomicdata.ts +130 -0
- package/src/nft/buildImmutableData.ts +388 -0
- package/src/nft/description.ts +222 -100
- package/src/nft/index.ts +3 -0
- package/src/planner/index.ts +296 -0
- package/src/planner/planner.test.ts +459 -0
- package/src/receipts.ts +22 -0
- package/src/resolution/describe-module.ts +43 -25
- package/src/resolution/display-name.ts +39 -11
- package/src/resolution/resolve-item.test.ts +48 -0
- package/src/resolution/resolve-item.ts +112 -58
- package/src/scan/index.ts +244 -0
- package/src/scan/scan-wasm.base64.ts +2 -0
- package/src/scheduling/accessor.ts +65 -23
- package/src/scheduling/availability.test.ts +320 -0
- package/src/scheduling/availability.ts +251 -0
- package/src/scheduling/cancel.test.ts +550 -0
- package/src/scheduling/cancel.ts +254 -0
- package/src/scheduling/cluster-stock.test.ts +31 -0
- package/src/scheduling/cluster-stock.ts +15 -0
- package/src/scheduling/energy.ts +47 -0
- package/src/scheduling/epoch.ts +1 -0
- package/src/scheduling/idle-resolve.ts +45 -0
- package/src/scheduling/jobs.test.ts +49 -0
- package/src/scheduling/jobs.ts +137 -0
- package/src/scheduling/lane-core.ts +128 -0
- package/src/scheduling/lanes.test.ts +250 -0
- package/src/scheduling/lanes.ts +227 -0
- package/src/scheduling/projection.ts +265 -149
- package/src/scheduling/schedule.test.ts +163 -0
- package/src/scheduling/schedule.ts +282 -116
- package/src/scheduling/task-cargo.test.ts +110 -0
- package/src/scheduling/task-cargo.ts +62 -0
- package/src/scheduling/task-effects.test.ts +35 -0
- package/src/scheduling/task-effects.ts +34 -0
- package/src/scheduling/unwrap.test.ts +86 -0
- package/src/scheduling/unwrap.ts +190 -0
- package/src/shipload.ts +63 -4
- package/src/subscriptions/manager.cluster.test.ts +51 -0
- package/src/subscriptions/manager.ts +245 -172
- package/src/subscriptions/mappers.ts +5 -8
- package/src/subscriptions/types.ts +28 -3
- package/src/testing/catalog-hash.ts +19 -0
- package/src/testing/index.ts +2 -0
- package/src/testing/projection-parity.ts +167 -0
- package/src/travel/reach.test.ts +86 -0
- package/src/travel/reach.ts +34 -0
- package/src/travel/route-build.test.ts +63 -0
- package/src/travel/route-build.ts +60 -0
- package/src/travel/route-planner.ts +288 -0
- package/src/travel/route-simulator.ts +170 -0
- package/src/travel/travel.ts +190 -123
- package/src/types/capabilities.ts +37 -8
- package/src/types/entity.ts +3 -3
- package/src/types/index.ts +0 -1
- package/src/types.ts +81 -23
- package/src/utils/cargo.test.ts +14 -0
- package/src/utils/cargo.ts +2 -0
- package/src/utils/display-name.ts +70 -0
- package/src/utils/hash.ts +22 -2
- package/src/utils/system.ts +24 -5
- package/src/capabilities/loading.ts +0 -8
- package/src/entities/container.ts +0 -123
- package/src/entities/ship-deploy.ts +0 -295
- package/src/entities/ship.ts +0 -221
- package/src/entities/warehouse.ts +0 -127
- package/src/types/entity-traits.ts +0 -69
package/lib/testing.d.ts
ADDED
|
@@ -0,0 +1,1648 @@
|
|
|
1
|
+
import { Struct, UInt64, UInt16, UInt8, UInt32, Name, Int64, TimePoint, Int8, Checksum256, Bytes, Int32, BlockTimestamp, Int64Type } from '@wharfkit/antelope';
|
|
2
|
+
|
|
3
|
+
declare const CATALOG_FILES_REL: readonly ["items.json", "recipes.json", "entities.json", "kind-registry.json", "item-ids.ts"];
|
|
4
|
+
declare function computeCatalogHash(filePaths: ReadonlyArray<string>): string;
|
|
5
|
+
|
|
6
|
+
declare namespace Types {
|
|
7
|
+
class abandonplot extends Struct {
|
|
8
|
+
plot_id: UInt64;
|
|
9
|
+
}
|
|
10
|
+
class packed_module extends Struct {
|
|
11
|
+
item_id: UInt16;
|
|
12
|
+
stats: UInt64;
|
|
13
|
+
}
|
|
14
|
+
class module_entry extends Struct {
|
|
15
|
+
type: UInt8;
|
|
16
|
+
installed?: packed_module;
|
|
17
|
+
}
|
|
18
|
+
class cargo_item extends Struct {
|
|
19
|
+
item_id: UInt16;
|
|
20
|
+
stats: UInt64;
|
|
21
|
+
modules: module_entry[];
|
|
22
|
+
quantity: UInt32;
|
|
23
|
+
entity_id?: UInt64;
|
|
24
|
+
}
|
|
25
|
+
class addcontrib extends Struct {
|
|
26
|
+
player: Name;
|
|
27
|
+
entity_id: UInt64;
|
|
28
|
+
x: Int64;
|
|
29
|
+
y: Int64;
|
|
30
|
+
bundle: cargo_item[];
|
|
31
|
+
}
|
|
32
|
+
class cargo_ref extends Struct {
|
|
33
|
+
item_id: UInt16;
|
|
34
|
+
stats: UInt64;
|
|
35
|
+
modules: module_entry[];
|
|
36
|
+
entity_id?: UInt64;
|
|
37
|
+
}
|
|
38
|
+
class addmodule extends Struct {
|
|
39
|
+
entity_id: UInt64;
|
|
40
|
+
module_index: UInt8;
|
|
41
|
+
module_ref: cargo_ref;
|
|
42
|
+
target_ref?: cargo_ref;
|
|
43
|
+
}
|
|
44
|
+
class addnexus extends Struct {
|
|
45
|
+
nexus_name: string;
|
|
46
|
+
x: Int64;
|
|
47
|
+
y: Int64;
|
|
48
|
+
}
|
|
49
|
+
class addoracle extends Struct {
|
|
50
|
+
oracle_id: Name;
|
|
51
|
+
}
|
|
52
|
+
class ballot_credit extends Struct {
|
|
53
|
+
account: Name;
|
|
54
|
+
amount: UInt64;
|
|
55
|
+
}
|
|
56
|
+
class ballot_row extends Struct {
|
|
57
|
+
ballot_id: UInt64;
|
|
58
|
+
kind: UInt8;
|
|
59
|
+
subject: UInt64;
|
|
60
|
+
seats: UInt32;
|
|
61
|
+
settled_epoch: UInt32;
|
|
62
|
+
queue: UInt32[];
|
|
63
|
+
parked: ballot_credit[];
|
|
64
|
+
}
|
|
65
|
+
class ballot_seq_row extends Struct {
|
|
66
|
+
next_id: UInt64;
|
|
67
|
+
cursor: UInt64;
|
|
68
|
+
page_rows: UInt32;
|
|
69
|
+
}
|
|
70
|
+
class ballot_tally extends Struct {
|
|
71
|
+
option: UInt32;
|
|
72
|
+
weight: UInt64;
|
|
73
|
+
}
|
|
74
|
+
class ballotpicks_row extends Struct {
|
|
75
|
+
account: Name;
|
|
76
|
+
picks: UInt32[];
|
|
77
|
+
}
|
|
78
|
+
class ballotsettle_row extends Struct {
|
|
79
|
+
ballot_id: UInt64;
|
|
80
|
+
round: UInt32;
|
|
81
|
+
cursor: UInt64;
|
|
82
|
+
target_epoch: UInt32;
|
|
83
|
+
tallies: ballot_tally[];
|
|
84
|
+
seated: UInt32[];
|
|
85
|
+
}
|
|
86
|
+
class blend extends Struct {
|
|
87
|
+
id: UInt64;
|
|
88
|
+
inputs: cargo_item[];
|
|
89
|
+
}
|
|
90
|
+
class booking_receipt extends Struct {
|
|
91
|
+
job_id: UInt64;
|
|
92
|
+
lands_at: TimePoint;
|
|
93
|
+
runtime: UInt32;
|
|
94
|
+
}
|
|
95
|
+
class builder_lane extends Struct {
|
|
96
|
+
slot_index: UInt8;
|
|
97
|
+
speed: UInt16;
|
|
98
|
+
drain: UInt32;
|
|
99
|
+
output_pct: UInt16;
|
|
100
|
+
}
|
|
101
|
+
class buildings_row extends Struct {
|
|
102
|
+
entity_id: UInt64;
|
|
103
|
+
building: UInt8;
|
|
104
|
+
}
|
|
105
|
+
class buildjob extends Struct {
|
|
106
|
+
target_id: UInt64;
|
|
107
|
+
dock_id: UInt64;
|
|
108
|
+
slot: UInt8;
|
|
109
|
+
target_item_id: UInt16;
|
|
110
|
+
inputs: cargo_item[];
|
|
111
|
+
}
|
|
112
|
+
class coordinates extends Struct {
|
|
113
|
+
x: Int64;
|
|
114
|
+
y: Int64;
|
|
115
|
+
z?: UInt16;
|
|
116
|
+
}
|
|
117
|
+
class buildjob_row extends Struct {
|
|
118
|
+
id: UInt64;
|
|
119
|
+
building: UInt64;
|
|
120
|
+
socket: UInt8;
|
|
121
|
+
target: UInt64;
|
|
122
|
+
owner: Name;
|
|
123
|
+
coords: coordinates;
|
|
124
|
+
starts_at: TimePoint;
|
|
125
|
+
completes_at: TimePoint;
|
|
126
|
+
target_item_id: UInt16;
|
|
127
|
+
cargo: cargo_item[];
|
|
128
|
+
deposited: boolean;
|
|
129
|
+
}
|
|
130
|
+
class buildjobs_result extends Struct {
|
|
131
|
+
jobs: buildjob_row[];
|
|
132
|
+
}
|
|
133
|
+
class buildplot extends Struct {
|
|
134
|
+
builder_id: UInt64;
|
|
135
|
+
plot_id: UInt64;
|
|
136
|
+
}
|
|
137
|
+
class cancel extends Struct {
|
|
138
|
+
id: UInt64;
|
|
139
|
+
lane_key: UInt8;
|
|
140
|
+
count: UInt64;
|
|
141
|
+
}
|
|
142
|
+
class entity_ref extends Struct {
|
|
143
|
+
entity_type: Name;
|
|
144
|
+
entity_id: UInt64;
|
|
145
|
+
}
|
|
146
|
+
class cancel_results extends Struct {
|
|
147
|
+
entity_id: UInt64;
|
|
148
|
+
entity_type: Name;
|
|
149
|
+
cancelled_count: UInt8;
|
|
150
|
+
schedule_started?: TimePoint;
|
|
151
|
+
entitygroup?: UInt64;
|
|
152
|
+
group_members?: entity_ref[];
|
|
153
|
+
}
|
|
154
|
+
class cancelbuild extends Struct {
|
|
155
|
+
job_id: UInt64;
|
|
156
|
+
}
|
|
157
|
+
class cancelcivic extends Struct {
|
|
158
|
+
building: UInt64;
|
|
159
|
+
lane_key: UInt8;
|
|
160
|
+
from_id: UInt64;
|
|
161
|
+
}
|
|
162
|
+
class cargo_row extends Struct {
|
|
163
|
+
id: UInt64;
|
|
164
|
+
entity_id: UInt64;
|
|
165
|
+
item_id: UInt64;
|
|
166
|
+
quantity: UInt64;
|
|
167
|
+
stats: UInt64;
|
|
168
|
+
modules: module_entry[];
|
|
169
|
+
sequence_id?: UInt64;
|
|
170
|
+
}
|
|
171
|
+
class cargo_view extends Struct {
|
|
172
|
+
item_id: UInt16;
|
|
173
|
+
stats: UInt64;
|
|
174
|
+
modules: module_entry[];
|
|
175
|
+
quantity: UInt32;
|
|
176
|
+
id: UInt64;
|
|
177
|
+
entity_id?: UInt64;
|
|
178
|
+
}
|
|
179
|
+
class castballot extends Struct {
|
|
180
|
+
player: Name;
|
|
181
|
+
ballot_id: UInt64;
|
|
182
|
+
picks: UInt32[];
|
|
183
|
+
}
|
|
184
|
+
class civic_grant extends Struct {
|
|
185
|
+
kind: UInt8;
|
|
186
|
+
building: UInt8;
|
|
187
|
+
stat: UInt8;
|
|
188
|
+
value: UInt16;
|
|
189
|
+
}
|
|
190
|
+
class charter_node_def extends Struct {
|
|
191
|
+
node_id: UInt32;
|
|
192
|
+
cost: UInt64;
|
|
193
|
+
prereqs: UInt32[];
|
|
194
|
+
grants: civic_grant[];
|
|
195
|
+
exclusion_group: UInt16;
|
|
196
|
+
repeat_cap: UInt8;
|
|
197
|
+
}
|
|
198
|
+
class charter_ready_view extends Struct {
|
|
199
|
+
x: Int64;
|
|
200
|
+
y: Int64;
|
|
201
|
+
mandate: UInt32;
|
|
202
|
+
}
|
|
203
|
+
class charter_view extends Struct {
|
|
204
|
+
node_id: UInt32;
|
|
205
|
+
repeats: UInt16;
|
|
206
|
+
}
|
|
207
|
+
class seat_view extends Struct {
|
|
208
|
+
node_id: UInt32;
|
|
209
|
+
cost: UInt64;
|
|
210
|
+
progress: UInt64;
|
|
211
|
+
gap: UInt64;
|
|
212
|
+
}
|
|
213
|
+
class progress_view extends Struct {
|
|
214
|
+
node_id: UInt32;
|
|
215
|
+
amount: UInt64;
|
|
216
|
+
}
|
|
217
|
+
class charter_result extends Struct {
|
|
218
|
+
location_id: UInt64;
|
|
219
|
+
lifetime: UInt64;
|
|
220
|
+
spent: UInt64;
|
|
221
|
+
unassigned: UInt64;
|
|
222
|
+
mandate: UInt32;
|
|
223
|
+
next_cost: UInt64;
|
|
224
|
+
prereqs_met: boolean;
|
|
225
|
+
buildable: boolean;
|
|
226
|
+
epoch: UInt32;
|
|
227
|
+
built: charter_view[];
|
|
228
|
+
ballot_id: UInt64;
|
|
229
|
+
settling: boolean;
|
|
230
|
+
queue: seat_view[];
|
|
231
|
+
progress: progress_view[];
|
|
232
|
+
}
|
|
233
|
+
class charter_tree_result extends Struct {
|
|
234
|
+
nodes: charter_node_def[];
|
|
235
|
+
}
|
|
236
|
+
class charterready extends Struct {
|
|
237
|
+
x: Int64;
|
|
238
|
+
y: Int64;
|
|
239
|
+
}
|
|
240
|
+
class charterready_result extends Struct {
|
|
241
|
+
worlds: charter_ready_view[];
|
|
242
|
+
}
|
|
243
|
+
class citizenship_row extends Struct {
|
|
244
|
+
location_id: UInt64;
|
|
245
|
+
lifetime: UInt64;
|
|
246
|
+
active: UInt64;
|
|
247
|
+
active_epoch: UInt32;
|
|
248
|
+
}
|
|
249
|
+
class civicconfig_row extends Struct {
|
|
250
|
+
civic_owner: Name;
|
|
251
|
+
}
|
|
252
|
+
class civicshuttle extends Struct {
|
|
253
|
+
building: UInt64;
|
|
254
|
+
from_id: UInt64;
|
|
255
|
+
to_id: UInt64;
|
|
256
|
+
items: cargo_item[];
|
|
257
|
+
}
|
|
258
|
+
class claim_row extends Struct {
|
|
259
|
+
owner: Name;
|
|
260
|
+
}
|
|
261
|
+
class claimbuild extends Struct {
|
|
262
|
+
job_id: UInt64;
|
|
263
|
+
}
|
|
264
|
+
class claimcraft extends Struct {
|
|
265
|
+
job_id: UInt64;
|
|
266
|
+
ship_id: UInt64;
|
|
267
|
+
}
|
|
268
|
+
class cluster_slot extends Struct {
|
|
269
|
+
hub: UInt64;
|
|
270
|
+
gx: Int8;
|
|
271
|
+
gy: Int8;
|
|
272
|
+
}
|
|
273
|
+
class claimplot extends Struct {
|
|
274
|
+
builder_id: UInt64;
|
|
275
|
+
target_item_id: UInt16;
|
|
276
|
+
slot: cluster_slot;
|
|
277
|
+
}
|
|
278
|
+
class claimstarter extends Struct {
|
|
279
|
+
owner: Name;
|
|
280
|
+
}
|
|
281
|
+
class cleanrsvp extends Struct {
|
|
282
|
+
epoch: UInt64;
|
|
283
|
+
max_rows: UInt64;
|
|
284
|
+
}
|
|
285
|
+
class cleartable extends Struct {
|
|
286
|
+
table_name: Name;
|
|
287
|
+
scope?: Name;
|
|
288
|
+
max_rows?: UInt64;
|
|
289
|
+
}
|
|
290
|
+
class closeepoch extends Struct {
|
|
291
|
+
epoch: UInt64;
|
|
292
|
+
}
|
|
293
|
+
class cluster_cell extends Struct {
|
|
294
|
+
gx: Int8;
|
|
295
|
+
gy: Int8;
|
|
296
|
+
entity: UInt64;
|
|
297
|
+
}
|
|
298
|
+
class cluster_row extends Struct {
|
|
299
|
+
root: UInt64;
|
|
300
|
+
cells: cluster_cell[];
|
|
301
|
+
}
|
|
302
|
+
class cluster_source extends Struct {
|
|
303
|
+
source_id: UInt64;
|
|
304
|
+
items: cargo_item[];
|
|
305
|
+
}
|
|
306
|
+
class clustercraft extends Struct {
|
|
307
|
+
id: UInt64;
|
|
308
|
+
recipe_id: UInt16;
|
|
309
|
+
quantity: UInt32;
|
|
310
|
+
sources: cluster_source[];
|
|
311
|
+
target?: UInt64;
|
|
312
|
+
slot?: UInt8;
|
|
313
|
+
}
|
|
314
|
+
class commit extends Struct {
|
|
315
|
+
oracle_id: Name;
|
|
316
|
+
epoch: UInt64;
|
|
317
|
+
commit: Checksum256;
|
|
318
|
+
}
|
|
319
|
+
class commit_row extends Struct {
|
|
320
|
+
id: UInt64;
|
|
321
|
+
epoch: UInt64;
|
|
322
|
+
oracle_id: Name;
|
|
323
|
+
commit: Checksum256;
|
|
324
|
+
}
|
|
325
|
+
class entity_defaults extends Struct {
|
|
326
|
+
warehouse_z: UInt16;
|
|
327
|
+
container_z: UInt16;
|
|
328
|
+
}
|
|
329
|
+
class item_def extends Struct {
|
|
330
|
+
id: UInt16;
|
|
331
|
+
mass: UInt32;
|
|
332
|
+
type: UInt8;
|
|
333
|
+
subtype: UInt8;
|
|
334
|
+
tier: UInt8;
|
|
335
|
+
}
|
|
336
|
+
class game_config extends Struct {
|
|
337
|
+
version: UInt32;
|
|
338
|
+
defaults: entity_defaults;
|
|
339
|
+
items: item_def[];
|
|
340
|
+
}
|
|
341
|
+
class configlog extends Struct {
|
|
342
|
+
config: game_config;
|
|
343
|
+
}
|
|
344
|
+
class coupling extends Struct {
|
|
345
|
+
counterpart: entity_ref;
|
|
346
|
+
hold: UInt64;
|
|
347
|
+
kind: UInt8;
|
|
348
|
+
}
|
|
349
|
+
class craft extends Struct {
|
|
350
|
+
id: UInt64;
|
|
351
|
+
recipe_id: UInt16;
|
|
352
|
+
quantity: UInt32;
|
|
353
|
+
inputs: cargo_item[];
|
|
354
|
+
target?: UInt64;
|
|
355
|
+
slot?: UInt8;
|
|
356
|
+
}
|
|
357
|
+
class crafter_lane extends Struct {
|
|
358
|
+
slot_index: UInt8;
|
|
359
|
+
speed: UInt16;
|
|
360
|
+
drain: UInt32;
|
|
361
|
+
output_pct: UInt16;
|
|
362
|
+
}
|
|
363
|
+
class craftjob extends Struct {
|
|
364
|
+
ship_id: UInt64;
|
|
365
|
+
workshop_id: UInt64;
|
|
366
|
+
slot: UInt8;
|
|
367
|
+
recipe_id: UInt16;
|
|
368
|
+
quantity: UInt32;
|
|
369
|
+
inputs: cargo_item[];
|
|
370
|
+
}
|
|
371
|
+
class craftjob_row extends Struct {
|
|
372
|
+
id: UInt64;
|
|
373
|
+
building: UInt64;
|
|
374
|
+
socket: UInt8;
|
|
375
|
+
owner: Name;
|
|
376
|
+
ship_id: UInt64;
|
|
377
|
+
coords: coordinates;
|
|
378
|
+
starts_at: TimePoint;
|
|
379
|
+
completes_at: TimePoint;
|
|
380
|
+
recipe_id: UInt16;
|
|
381
|
+
quantity: UInt32;
|
|
382
|
+
energy_paid: UInt32;
|
|
383
|
+
cargo: cargo_item[];
|
|
384
|
+
deposited: boolean;
|
|
385
|
+
}
|
|
386
|
+
class craftjobs_result extends Struct {
|
|
387
|
+
jobs: craftjob_row[];
|
|
388
|
+
}
|
|
389
|
+
class dbgcredit extends Struct {
|
|
390
|
+
owner: Name;
|
|
391
|
+
x: Int64;
|
|
392
|
+
y: Int64;
|
|
393
|
+
amount_atomic: UInt64;
|
|
394
|
+
node?: UInt32;
|
|
395
|
+
}
|
|
396
|
+
class dbgmandate extends Struct {
|
|
397
|
+
x: Int64;
|
|
398
|
+
y: Int64;
|
|
399
|
+
node_id: UInt32;
|
|
400
|
+
}
|
|
401
|
+
class dbgoldjobs extends Struct {
|
|
402
|
+
crafts: craftjob_row[];
|
|
403
|
+
builds: buildjob_row[];
|
|
404
|
+
}
|
|
405
|
+
class dbgpagerows extends Struct {
|
|
406
|
+
rows: UInt32;
|
|
407
|
+
}
|
|
408
|
+
class dbgpurge extends Struct {
|
|
409
|
+
table_name: Name;
|
|
410
|
+
scope?: Name;
|
|
411
|
+
}
|
|
412
|
+
class dbgseats extends Struct {
|
|
413
|
+
x: Int64;
|
|
414
|
+
y: Int64;
|
|
415
|
+
seats: UInt32;
|
|
416
|
+
}
|
|
417
|
+
class decomp_bucket extends Struct {
|
|
418
|
+
category: UInt8;
|
|
419
|
+
tier: UInt8;
|
|
420
|
+
raw_mass: UInt32;
|
|
421
|
+
}
|
|
422
|
+
class decomp_result extends Struct {
|
|
423
|
+
item_id: UInt16;
|
|
424
|
+
processed_mass: UInt64;
|
|
425
|
+
buckets: decomp_bucket[];
|
|
426
|
+
}
|
|
427
|
+
class delentity extends Struct {
|
|
428
|
+
entity_id: UInt64;
|
|
429
|
+
}
|
|
430
|
+
class demand_result extends Struct {
|
|
431
|
+
abundant_mask: UInt8;
|
|
432
|
+
lacking_mask: UInt8;
|
|
433
|
+
acute: UInt8;
|
|
434
|
+
need_fp: UInt64[];
|
|
435
|
+
epoch: UInt32;
|
|
436
|
+
}
|
|
437
|
+
class demolish extends Struct {
|
|
438
|
+
entity_id: UInt64;
|
|
439
|
+
}
|
|
440
|
+
class deploy extends Struct {
|
|
441
|
+
id: UInt64;
|
|
442
|
+
ref: cargo_ref;
|
|
443
|
+
slot?: cluster_slot;
|
|
444
|
+
}
|
|
445
|
+
class storage_row extends Struct {
|
|
446
|
+
id: UInt64;
|
|
447
|
+
owner: Name;
|
|
448
|
+
item_id: UInt64;
|
|
449
|
+
quantity: UInt64;
|
|
450
|
+
stats: UInt64;
|
|
451
|
+
modules: module_entry[];
|
|
452
|
+
sequence_id?: UInt64;
|
|
453
|
+
}
|
|
454
|
+
class depot_view extends Struct {
|
|
455
|
+
player_cap: UInt64;
|
|
456
|
+
stored_mass: UInt64;
|
|
457
|
+
reserved_mass: UInt64;
|
|
458
|
+
rows: storage_row[];
|
|
459
|
+
}
|
|
460
|
+
class depotstore extends Struct {
|
|
461
|
+
ship_id: UInt64;
|
|
462
|
+
depot_id: UInt64;
|
|
463
|
+
items: cargo_item[];
|
|
464
|
+
}
|
|
465
|
+
class depottake extends Struct {
|
|
466
|
+
ship_id: UInt64;
|
|
467
|
+
depot_id: UInt64;
|
|
468
|
+
items: cargo_item[];
|
|
469
|
+
}
|
|
470
|
+
class descentity extends Struct {
|
|
471
|
+
item_id: UInt16;
|
|
472
|
+
hull_stats: UInt64;
|
|
473
|
+
module_items: UInt16[];
|
|
474
|
+
module_stats: UInt64[];
|
|
475
|
+
}
|
|
476
|
+
class enable extends Struct {
|
|
477
|
+
enabled: boolean;
|
|
478
|
+
}
|
|
479
|
+
class energy_stats extends Struct {
|
|
480
|
+
capacity: UInt32;
|
|
481
|
+
recharge: UInt32;
|
|
482
|
+
}
|
|
483
|
+
class entity_current_state extends Struct {
|
|
484
|
+
coordinates: coordinates;
|
|
485
|
+
energy: UInt32;
|
|
486
|
+
}
|
|
487
|
+
class movement_stats extends Struct {
|
|
488
|
+
thrust: UInt32;
|
|
489
|
+
drain: UInt32;
|
|
490
|
+
}
|
|
491
|
+
class warp_stats extends Struct {
|
|
492
|
+
range: UInt32;
|
|
493
|
+
}
|
|
494
|
+
class hauler_tier_cap extends Struct {
|
|
495
|
+
tier: UInt8;
|
|
496
|
+
capacity: UInt8;
|
|
497
|
+
}
|
|
498
|
+
class hauler_stats extends Struct {
|
|
499
|
+
capacity: UInt8;
|
|
500
|
+
efficiency: UInt16;
|
|
501
|
+
drain: UInt32;
|
|
502
|
+
capacity_by_tier: hauler_tier_cap[];
|
|
503
|
+
}
|
|
504
|
+
class gatherer_lane extends Struct {
|
|
505
|
+
slot_index: UInt8;
|
|
506
|
+
yield: UInt16;
|
|
507
|
+
drain: UInt32;
|
|
508
|
+
depth: UInt16;
|
|
509
|
+
output_pct: UInt16;
|
|
510
|
+
}
|
|
511
|
+
class loader_lane extends Struct {
|
|
512
|
+
slot_index: UInt8;
|
|
513
|
+
mass: UInt32;
|
|
514
|
+
thrust: UInt16;
|
|
515
|
+
output_pct: UInt16;
|
|
516
|
+
}
|
|
517
|
+
class launcher_stats extends Struct {
|
|
518
|
+
charge_rate: UInt16;
|
|
519
|
+
velocity: UInt16;
|
|
520
|
+
drain: UInt16;
|
|
521
|
+
}
|
|
522
|
+
class refit_op extends Struct {
|
|
523
|
+
op: UInt8;
|
|
524
|
+
slot: UInt8;
|
|
525
|
+
}
|
|
526
|
+
class task extends Struct {
|
|
527
|
+
type: UInt8;
|
|
528
|
+
duration: UInt32;
|
|
529
|
+
cancelable: UInt8;
|
|
530
|
+
coordinates?: coordinates;
|
|
531
|
+
cargo: cargo_item[];
|
|
532
|
+
couplings: coupling[];
|
|
533
|
+
subject?: entity_ref;
|
|
534
|
+
entitygroup?: UInt64;
|
|
535
|
+
energy_cost?: UInt32;
|
|
536
|
+
target_item_id?: UInt16;
|
|
537
|
+
refit?: refit_op;
|
|
538
|
+
charter_node?: UInt32;
|
|
539
|
+
}
|
|
540
|
+
class schedule extends Struct {
|
|
541
|
+
started: TimePoint;
|
|
542
|
+
tasks: task[];
|
|
543
|
+
}
|
|
544
|
+
class lane extends Struct {
|
|
545
|
+
lane_key: UInt8;
|
|
546
|
+
schedule: schedule;
|
|
547
|
+
}
|
|
548
|
+
class hold extends Struct {
|
|
549
|
+
id: UInt64;
|
|
550
|
+
kind: UInt8;
|
|
551
|
+
counterpart: entity_ref;
|
|
552
|
+
until: TimePoint;
|
|
553
|
+
incoming_mass: UInt32;
|
|
554
|
+
}
|
|
555
|
+
class entity_info extends Struct {
|
|
556
|
+
type: Name;
|
|
557
|
+
id: UInt64;
|
|
558
|
+
owner: Name;
|
|
559
|
+
entity_name: string;
|
|
560
|
+
coordinates: coordinates;
|
|
561
|
+
item_id: UInt16;
|
|
562
|
+
cargomass: UInt32;
|
|
563
|
+
cargo: cargo_view[];
|
|
564
|
+
modules: module_entry[];
|
|
565
|
+
energy?: UInt32;
|
|
566
|
+
hullmass?: UInt32;
|
|
567
|
+
capacity?: UInt32;
|
|
568
|
+
engines?: movement_stats;
|
|
569
|
+
warp?: warp_stats;
|
|
570
|
+
generator?: energy_stats;
|
|
571
|
+
hauler?: hauler_stats;
|
|
572
|
+
gatherer_lanes: gatherer_lane[];
|
|
573
|
+
crafter_lanes: crafter_lane[];
|
|
574
|
+
builder_lanes: builder_lane[];
|
|
575
|
+
loader_lanes: loader_lane[];
|
|
576
|
+
launcher?: launcher_stats;
|
|
577
|
+
lanes: lane[];
|
|
578
|
+
holds: hold[];
|
|
579
|
+
projected_at: TimePoint;
|
|
580
|
+
}
|
|
581
|
+
class slot_def extends Struct {
|
|
582
|
+
type: UInt8;
|
|
583
|
+
output_pct: UInt16;
|
|
584
|
+
max_tier: UInt8;
|
|
585
|
+
}
|
|
586
|
+
class entity_layout extends Struct {
|
|
587
|
+
entity_item_id: UInt16;
|
|
588
|
+
slots: slot_def[];
|
|
589
|
+
base_hullmass: UInt32;
|
|
590
|
+
}
|
|
591
|
+
class entity_layouts_result extends Struct {
|
|
592
|
+
entities: entity_layout[];
|
|
593
|
+
}
|
|
594
|
+
class entity_row extends Struct {
|
|
595
|
+
id: UInt64;
|
|
596
|
+
owner: Name;
|
|
597
|
+
kind: Name;
|
|
598
|
+
item_id: UInt16;
|
|
599
|
+
name: string;
|
|
600
|
+
stats: UInt64;
|
|
601
|
+
coordinates: coordinates;
|
|
602
|
+
energy?: UInt32;
|
|
603
|
+
cargomass: UInt32;
|
|
604
|
+
modules: module_entry[];
|
|
605
|
+
lanes: lane[];
|
|
606
|
+
holds: hold[];
|
|
607
|
+
}
|
|
608
|
+
class entity_seq_row extends Struct {
|
|
609
|
+
next_id: UInt64;
|
|
610
|
+
}
|
|
611
|
+
class entity_summary extends Struct {
|
|
612
|
+
type: Name;
|
|
613
|
+
id: UInt64;
|
|
614
|
+
owner: Name;
|
|
615
|
+
entity_name: string;
|
|
616
|
+
coordinates: coordinates;
|
|
617
|
+
is_idle: boolean;
|
|
618
|
+
resolved_count: UInt32;
|
|
619
|
+
pending_count: UInt32;
|
|
620
|
+
}
|
|
621
|
+
class entity_task_info extends Struct {
|
|
622
|
+
entity_id: UInt64;
|
|
623
|
+
entity_type: Name;
|
|
624
|
+
task_count: UInt32;
|
|
625
|
+
schedule_started: TimePoint;
|
|
626
|
+
}
|
|
627
|
+
class entitygroup_row extends Struct {
|
|
628
|
+
id: UInt64;
|
|
629
|
+
participants: entity_ref[];
|
|
630
|
+
}
|
|
631
|
+
class enum_member extends Struct {
|
|
632
|
+
value: UInt8;
|
|
633
|
+
name: string;
|
|
634
|
+
}
|
|
635
|
+
class enum_result extends Struct {
|
|
636
|
+
members: enum_member[];
|
|
637
|
+
}
|
|
638
|
+
class epoch_row extends Struct {
|
|
639
|
+
epoch: UInt64;
|
|
640
|
+
oracle_ids: Name[];
|
|
641
|
+
threshold: UInt8;
|
|
642
|
+
seed: Checksum256;
|
|
643
|
+
}
|
|
644
|
+
class fixcargomass extends Struct {
|
|
645
|
+
entity_id: UInt64;
|
|
646
|
+
}
|
|
647
|
+
class fixitemids extends Struct {
|
|
648
|
+
}
|
|
649
|
+
class grid_cell extends Struct {
|
|
650
|
+
gx: Int8;
|
|
651
|
+
gy: Int8;
|
|
652
|
+
}
|
|
653
|
+
class footprint_result extends Struct {
|
|
654
|
+
cells: grid_cell[];
|
|
655
|
+
}
|
|
656
|
+
class forcereveal extends Struct {
|
|
657
|
+
epoch: UInt64;
|
|
658
|
+
}
|
|
659
|
+
class found extends Struct {
|
|
660
|
+
player: Name;
|
|
661
|
+
entity_id: UInt64;
|
|
662
|
+
x: Int64;
|
|
663
|
+
y: Int64;
|
|
664
|
+
}
|
|
665
|
+
class gather extends Struct {
|
|
666
|
+
source_id: UInt64;
|
|
667
|
+
destination_id: UInt64;
|
|
668
|
+
stratum: UInt16;
|
|
669
|
+
quantity: UInt32;
|
|
670
|
+
slot?: UInt8;
|
|
671
|
+
}
|
|
672
|
+
class gatherplan extends Struct {
|
|
673
|
+
source_id: UInt64;
|
|
674
|
+
destination_id: UInt64;
|
|
675
|
+
stratum: UInt16;
|
|
676
|
+
quantity: UInt32;
|
|
677
|
+
recharge: boolean;
|
|
678
|
+
slots: Bytes;
|
|
679
|
+
}
|
|
680
|
+
class genesisfleet extends Struct {
|
|
681
|
+
entities: entity_row[];
|
|
682
|
+
}
|
|
683
|
+
class genesisworld extends Struct {
|
|
684
|
+
founder: Name;
|
|
685
|
+
x: Int64;
|
|
686
|
+
y: Int64;
|
|
687
|
+
node_ids: UInt32[];
|
|
688
|
+
}
|
|
689
|
+
class getbuildjobs extends Struct {
|
|
690
|
+
building_id: UInt64;
|
|
691
|
+
}
|
|
692
|
+
class getcharter extends Struct {
|
|
693
|
+
x: Int64;
|
|
694
|
+
y: Int64;
|
|
695
|
+
}
|
|
696
|
+
class getcharttree extends Struct {
|
|
697
|
+
}
|
|
698
|
+
class getchrtready extends Struct {
|
|
699
|
+
}
|
|
700
|
+
class getcluster extends Struct {
|
|
701
|
+
hub_id: UInt64;
|
|
702
|
+
}
|
|
703
|
+
class getconfig extends Struct {
|
|
704
|
+
}
|
|
705
|
+
class getcraftjobs extends Struct {
|
|
706
|
+
building_id: UInt64;
|
|
707
|
+
}
|
|
708
|
+
class getdecomp extends Struct {
|
|
709
|
+
item_id: UInt16;
|
|
710
|
+
}
|
|
711
|
+
class getdemand extends Struct {
|
|
712
|
+
x: Int64;
|
|
713
|
+
y: Int64;
|
|
714
|
+
}
|
|
715
|
+
class getdeposit extends Struct {
|
|
716
|
+
owner: Name;
|
|
717
|
+
asset_id: UInt64;
|
|
718
|
+
}
|
|
719
|
+
class getdepot extends Struct {
|
|
720
|
+
depot_id: UInt64;
|
|
721
|
+
owner: Name;
|
|
722
|
+
}
|
|
723
|
+
class getdistance extends Struct {
|
|
724
|
+
ax: Int64;
|
|
725
|
+
ay: Int64;
|
|
726
|
+
bx: Int64;
|
|
727
|
+
by: Int64;
|
|
728
|
+
}
|
|
729
|
+
class geteligible extends Struct {
|
|
730
|
+
coords: coordinates;
|
|
731
|
+
stratum: UInt16;
|
|
732
|
+
}
|
|
733
|
+
class getentcls extends Struct {
|
|
734
|
+
}
|
|
735
|
+
class getentities extends Struct {
|
|
736
|
+
owner: Name;
|
|
737
|
+
entity_type?: Name;
|
|
738
|
+
}
|
|
739
|
+
class getentity extends Struct {
|
|
740
|
+
entity_id: UInt64;
|
|
741
|
+
}
|
|
742
|
+
class getfootprint extends Struct {
|
|
743
|
+
item_id: UInt16;
|
|
744
|
+
}
|
|
745
|
+
class getinfdecay extends Struct {
|
|
746
|
+
active: UInt64;
|
|
747
|
+
epochs: UInt32;
|
|
748
|
+
}
|
|
749
|
+
class getinfluence extends Struct {
|
|
750
|
+
owner: Name;
|
|
751
|
+
x: Int64;
|
|
752
|
+
y: Int64;
|
|
753
|
+
}
|
|
754
|
+
class getinfvalue extends Struct {
|
|
755
|
+
items: cargo_item[];
|
|
756
|
+
x: Int64;
|
|
757
|
+
y: Int64;
|
|
758
|
+
}
|
|
759
|
+
class getitemdata extends Struct {
|
|
760
|
+
}
|
|
761
|
+
class getitemids extends Struct {
|
|
762
|
+
}
|
|
763
|
+
class getitems extends Struct {
|
|
764
|
+
}
|
|
765
|
+
class getitemtype extends Struct {
|
|
766
|
+
item_id: UInt16;
|
|
767
|
+
}
|
|
768
|
+
class getitemtypes extends Struct {
|
|
769
|
+
}
|
|
770
|
+
class getkindmeta extends Struct {
|
|
771
|
+
}
|
|
772
|
+
class getlocation extends Struct {
|
|
773
|
+
x: Int64;
|
|
774
|
+
y: Int64;
|
|
775
|
+
}
|
|
776
|
+
class getlocdata extends Struct {
|
|
777
|
+
x: Int64;
|
|
778
|
+
y: Int64;
|
|
779
|
+
}
|
|
780
|
+
class getmintcfg extends Struct {
|
|
781
|
+
}
|
|
782
|
+
class getmintready extends Struct {
|
|
783
|
+
}
|
|
784
|
+
class getmodtypes extends Struct {
|
|
785
|
+
}
|
|
786
|
+
class getmodules extends Struct {
|
|
787
|
+
}
|
|
788
|
+
class getnearby extends Struct {
|
|
789
|
+
entity_id: UInt64;
|
|
790
|
+
recharge: boolean;
|
|
791
|
+
}
|
|
792
|
+
class getnftbase extends Struct {
|
|
793
|
+
}
|
|
794
|
+
class getnftinfo extends Struct {
|
|
795
|
+
}
|
|
796
|
+
class getplayer extends Struct {
|
|
797
|
+
account: Name;
|
|
798
|
+
}
|
|
799
|
+
class getpool extends Struct {
|
|
800
|
+
category: UInt8;
|
|
801
|
+
tier: UInt8;
|
|
802
|
+
}
|
|
803
|
+
class getpools extends Struct {
|
|
804
|
+
}
|
|
805
|
+
class getprojstate extends Struct {
|
|
806
|
+
entity_id: UInt64;
|
|
807
|
+
task_count?: UInt8;
|
|
808
|
+
}
|
|
809
|
+
class getrecipe extends Struct {
|
|
810
|
+
output_item_id: UInt16;
|
|
811
|
+
}
|
|
812
|
+
class getrecipes extends Struct {
|
|
813
|
+
lower_bound: UInt16;
|
|
814
|
+
limit: UInt8;
|
|
815
|
+
}
|
|
816
|
+
class getrescats extends Struct {
|
|
817
|
+
}
|
|
818
|
+
class getreserves extends Struct {
|
|
819
|
+
x: Int64;
|
|
820
|
+
y: Int64;
|
|
821
|
+
}
|
|
822
|
+
class getresources extends Struct {
|
|
823
|
+
}
|
|
824
|
+
class getslots extends Struct {
|
|
825
|
+
}
|
|
826
|
+
class getstratum extends Struct {
|
|
827
|
+
x: Int64;
|
|
828
|
+
y: Int64;
|
|
829
|
+
stratum: UInt16;
|
|
830
|
+
}
|
|
831
|
+
class getsummaries extends Struct {
|
|
832
|
+
owner: Name;
|
|
833
|
+
entity_type?: Name;
|
|
834
|
+
}
|
|
835
|
+
class getvoteready extends Struct {
|
|
836
|
+
}
|
|
837
|
+
class getvotes extends Struct {
|
|
838
|
+
x: Int64;
|
|
839
|
+
y: Int64;
|
|
840
|
+
player: Name;
|
|
841
|
+
}
|
|
842
|
+
class getwormhole extends Struct {
|
|
843
|
+
x: Int64;
|
|
844
|
+
y: Int64;
|
|
845
|
+
}
|
|
846
|
+
class grouptransit extends Struct {
|
|
847
|
+
entities: entity_ref[];
|
|
848
|
+
ax: Int64;
|
|
849
|
+
ay: Int64;
|
|
850
|
+
bx: Int64;
|
|
851
|
+
by: Int64;
|
|
852
|
+
}
|
|
853
|
+
class grouptravel extends Struct {
|
|
854
|
+
entities: entity_ref[];
|
|
855
|
+
x: Int64;
|
|
856
|
+
y: Int64;
|
|
857
|
+
recharge: boolean;
|
|
858
|
+
}
|
|
859
|
+
class hash extends Struct {
|
|
860
|
+
value: string;
|
|
861
|
+
}
|
|
862
|
+
class hash512 extends Struct {
|
|
863
|
+
value: string;
|
|
864
|
+
}
|
|
865
|
+
class importcargo extends Struct {
|
|
866
|
+
row: cargo_row;
|
|
867
|
+
}
|
|
868
|
+
class importcell extends Struct {
|
|
869
|
+
root: UInt64;
|
|
870
|
+
gx: Int8;
|
|
871
|
+
gy: Int8;
|
|
872
|
+
entity_id: UInt64;
|
|
873
|
+
}
|
|
874
|
+
class importentity extends Struct {
|
|
875
|
+
row: entity_row;
|
|
876
|
+
}
|
|
877
|
+
class importepoch extends Struct {
|
|
878
|
+
row: epoch_row;
|
|
879
|
+
}
|
|
880
|
+
class importgroup extends Struct {
|
|
881
|
+
row: entitygroup_row;
|
|
882
|
+
}
|
|
883
|
+
class nftconfig_row extends Struct {
|
|
884
|
+
item_id: UInt16;
|
|
885
|
+
template_id: Int32;
|
|
886
|
+
schema_name: Name;
|
|
887
|
+
}
|
|
888
|
+
class importnftcfg extends Struct {
|
|
889
|
+
row: nftconfig_row;
|
|
890
|
+
}
|
|
891
|
+
class importplayer extends Struct {
|
|
892
|
+
owner: Name;
|
|
893
|
+
}
|
|
894
|
+
class reserve_row extends Struct {
|
|
895
|
+
id: UInt64;
|
|
896
|
+
coord_id: UInt64;
|
|
897
|
+
stratum: UInt16;
|
|
898
|
+
remaining: UInt32;
|
|
899
|
+
last_block: BlockTimestamp;
|
|
900
|
+
}
|
|
901
|
+
class importreserve extends Struct {
|
|
902
|
+
epoch_scope: UInt32;
|
|
903
|
+
row: reserve_row;
|
|
904
|
+
}
|
|
905
|
+
class state_row extends Struct {
|
|
906
|
+
enabled: boolean;
|
|
907
|
+
epoch: UInt32;
|
|
908
|
+
seed: Checksum256;
|
|
909
|
+
}
|
|
910
|
+
class importstate extends Struct {
|
|
911
|
+
row: state_row;
|
|
912
|
+
}
|
|
913
|
+
class infburn_row extends Struct {
|
|
914
|
+
bps: UInt16;
|
|
915
|
+
}
|
|
916
|
+
class infdemand_row extends Struct {
|
|
917
|
+
peak: UInt64;
|
|
918
|
+
base: UInt64;
|
|
919
|
+
floor: UInt64;
|
|
920
|
+
}
|
|
921
|
+
class influence_totals extends Struct {
|
|
922
|
+
standing_lifetime: UInt64;
|
|
923
|
+
standing_active: UInt64;
|
|
924
|
+
citizenship_lifetime: UInt64;
|
|
925
|
+
citizenship_active: UInt64;
|
|
926
|
+
location_lifetime: UInt64;
|
|
927
|
+
location_active: UInt64;
|
|
928
|
+
spent: UInt64;
|
|
929
|
+
mandate: UInt32;
|
|
930
|
+
founder: Name;
|
|
931
|
+
founded: UInt32;
|
|
932
|
+
epoch: UInt32;
|
|
933
|
+
}
|
|
934
|
+
class infmint_row extends Struct {
|
|
935
|
+
category: UInt8;
|
|
936
|
+
tier: UInt8;
|
|
937
|
+
threshold: UInt64;
|
|
938
|
+
}
|
|
939
|
+
class infpool_row extends Struct {
|
|
940
|
+
category: UInt8;
|
|
941
|
+
tier: UInt8;
|
|
942
|
+
grade: UInt8;
|
|
943
|
+
quantity: UInt64;
|
|
944
|
+
stats: UInt64;
|
|
945
|
+
bar: UInt64;
|
|
946
|
+
}
|
|
947
|
+
class infquality_row extends Struct {
|
|
948
|
+
d1: UInt32;
|
|
949
|
+
}
|
|
950
|
+
class infvalue_result extends Struct {
|
|
951
|
+
total_atomic: UInt64;
|
|
952
|
+
per_item_atomic: UInt64[];
|
|
953
|
+
}
|
|
954
|
+
class infweight_row extends Struct {
|
|
955
|
+
category: UInt8;
|
|
956
|
+
tier: UInt8;
|
|
957
|
+
weight_fp: UInt64;
|
|
958
|
+
}
|
|
959
|
+
class item_id_pair extends Struct {
|
|
960
|
+
id: UInt16;
|
|
961
|
+
name: string;
|
|
962
|
+
}
|
|
963
|
+
class item_ids_result extends Struct {
|
|
964
|
+
items: item_id_pair[];
|
|
965
|
+
}
|
|
966
|
+
class recipe_input extends Struct {
|
|
967
|
+
item_id: UInt16;
|
|
968
|
+
quantity: UInt32;
|
|
969
|
+
}
|
|
970
|
+
class stat_source extends Struct {
|
|
971
|
+
input_index: UInt8;
|
|
972
|
+
input_stat_index: UInt8;
|
|
973
|
+
}
|
|
974
|
+
class stat_slot_response extends Struct {
|
|
975
|
+
sources: stat_source[];
|
|
976
|
+
}
|
|
977
|
+
class recipe_item_info extends Struct {
|
|
978
|
+
id: UInt16;
|
|
979
|
+
mass: UInt32;
|
|
980
|
+
}
|
|
981
|
+
class recipe_response extends Struct {
|
|
982
|
+
output_item_id: UInt16;
|
|
983
|
+
output_mass: UInt32;
|
|
984
|
+
inputs: recipe_input[];
|
|
985
|
+
stat_slots: stat_slot_response[];
|
|
986
|
+
blend_weights: Bytes;
|
|
987
|
+
output_item: recipe_item_info;
|
|
988
|
+
input_items: recipe_item_info[];
|
|
989
|
+
source_subclass?: UInt16;
|
|
990
|
+
}
|
|
991
|
+
class recipes_result extends Struct {
|
|
992
|
+
recipes: recipe_response[];
|
|
993
|
+
}
|
|
994
|
+
class itemdata_result extends Struct {
|
|
995
|
+
items: item_def[];
|
|
996
|
+
recipes: recipes_result;
|
|
997
|
+
}
|
|
998
|
+
class items_info extends Struct {
|
|
999
|
+
items: item_def[];
|
|
1000
|
+
}
|
|
1001
|
+
class join extends Struct {
|
|
1002
|
+
account: Name;
|
|
1003
|
+
}
|
|
1004
|
+
class kind_meta_row extends Struct {
|
|
1005
|
+
kind: Name;
|
|
1006
|
+
classification: UInt8;
|
|
1007
|
+
capability_flags: UInt8;
|
|
1008
|
+
z_coord: UInt32;
|
|
1009
|
+
default_label: string;
|
|
1010
|
+
}
|
|
1011
|
+
class template_meta_row extends Struct {
|
|
1012
|
+
item_id: UInt16;
|
|
1013
|
+
kind: Name;
|
|
1014
|
+
display_label: string;
|
|
1015
|
+
}
|
|
1016
|
+
class kind_meta_result extends Struct {
|
|
1017
|
+
kinds: kind_meta_row[];
|
|
1018
|
+
templates: template_meta_row[];
|
|
1019
|
+
}
|
|
1020
|
+
class launch extends Struct {
|
|
1021
|
+
launcher_id: UInt64;
|
|
1022
|
+
catcher_id: UInt64;
|
|
1023
|
+
items: cargo_item[];
|
|
1024
|
+
}
|
|
1025
|
+
class load extends Struct {
|
|
1026
|
+
id: UInt64;
|
|
1027
|
+
from_id: UInt64;
|
|
1028
|
+
items: cargo_item[];
|
|
1029
|
+
}
|
|
1030
|
+
class location_static extends Struct {
|
|
1031
|
+
coords: coordinates;
|
|
1032
|
+
type: UInt8;
|
|
1033
|
+
subtype: UInt8;
|
|
1034
|
+
seed0: UInt8;
|
|
1035
|
+
seed1: UInt8;
|
|
1036
|
+
}
|
|
1037
|
+
class location_derived extends Struct {
|
|
1038
|
+
static_props: location_static;
|
|
1039
|
+
size: UInt16;
|
|
1040
|
+
}
|
|
1041
|
+
class location_info extends Struct {
|
|
1042
|
+
coords: coordinates;
|
|
1043
|
+
is_system: boolean;
|
|
1044
|
+
is_wormhole: boolean;
|
|
1045
|
+
}
|
|
1046
|
+
class locker_row extends Struct {
|
|
1047
|
+
depot_id: UInt64;
|
|
1048
|
+
stored_mass: UInt64;
|
|
1049
|
+
reserved_mass: UInt64;
|
|
1050
|
+
}
|
|
1051
|
+
class mandates_row extends Struct {
|
|
1052
|
+
node_id: UInt32;
|
|
1053
|
+
repeats: UInt16;
|
|
1054
|
+
}
|
|
1055
|
+
class migratejobs extends Struct {
|
|
1056
|
+
}
|
|
1057
|
+
class mint_threshold_view extends Struct {
|
|
1058
|
+
category: UInt8;
|
|
1059
|
+
tier: UInt8;
|
|
1060
|
+
threshold: UInt64;
|
|
1061
|
+
}
|
|
1062
|
+
class mintcfg_result extends Struct {
|
|
1063
|
+
thresholds: mint_threshold_view[];
|
|
1064
|
+
burn_bps: UInt16;
|
|
1065
|
+
}
|
|
1066
|
+
class mintq_row extends Struct {
|
|
1067
|
+
id: UInt64;
|
|
1068
|
+
grade: UInt8;
|
|
1069
|
+
}
|
|
1070
|
+
class mintready extends Struct {
|
|
1071
|
+
max_mints?: UInt32;
|
|
1072
|
+
}
|
|
1073
|
+
class module_info extends Struct {
|
|
1074
|
+
id: UInt16;
|
|
1075
|
+
mass: UInt32;
|
|
1076
|
+
module_type: UInt8;
|
|
1077
|
+
tier: UInt8;
|
|
1078
|
+
}
|
|
1079
|
+
class modules_result extends Struct {
|
|
1080
|
+
modules: module_info[];
|
|
1081
|
+
}
|
|
1082
|
+
class movetile extends Struct {
|
|
1083
|
+
hub_id: UInt64;
|
|
1084
|
+
from_gx: Int8;
|
|
1085
|
+
from_gy: Int8;
|
|
1086
|
+
to_gx: Int8;
|
|
1087
|
+
to_gy: Int8;
|
|
1088
|
+
}
|
|
1089
|
+
class naturalize extends Struct {
|
|
1090
|
+
player: Name;
|
|
1091
|
+
x: Int64;
|
|
1092
|
+
y: Int64;
|
|
1093
|
+
}
|
|
1094
|
+
class nearby_system extends Struct {
|
|
1095
|
+
distance: UInt64;
|
|
1096
|
+
energy_cost: UInt64;
|
|
1097
|
+
flight_time: UInt32;
|
|
1098
|
+
location: location_info;
|
|
1099
|
+
}
|
|
1100
|
+
class nearby_info extends Struct {
|
|
1101
|
+
can_travel: boolean;
|
|
1102
|
+
current: entity_current_state;
|
|
1103
|
+
projected: entity_current_state;
|
|
1104
|
+
max_energy: UInt32;
|
|
1105
|
+
systems: nearby_system[];
|
|
1106
|
+
}
|
|
1107
|
+
class nft_cargo_item extends Struct {
|
|
1108
|
+
item_id: UInt16;
|
|
1109
|
+
stats: UInt64;
|
|
1110
|
+
modules: module_entry[];
|
|
1111
|
+
quantity: UInt32;
|
|
1112
|
+
}
|
|
1113
|
+
class nft_item_payload extends Struct {
|
|
1114
|
+
item: nft_cargo_item;
|
|
1115
|
+
location?: coordinates;
|
|
1116
|
+
}
|
|
1117
|
+
class schema_field extends Struct {
|
|
1118
|
+
name: string;
|
|
1119
|
+
field_type: string;
|
|
1120
|
+
}
|
|
1121
|
+
class nft_schema_def extends Struct {
|
|
1122
|
+
schema_name: Name;
|
|
1123
|
+
fields: schema_field[];
|
|
1124
|
+
}
|
|
1125
|
+
class nft_template_def extends Struct {
|
|
1126
|
+
item_id: UInt16;
|
|
1127
|
+
schema_name: Name;
|
|
1128
|
+
template_id: Int32;
|
|
1129
|
+
}
|
|
1130
|
+
class nftimgurl extends Struct {
|
|
1131
|
+
item: cargo_item;
|
|
1132
|
+
location?: coordinates;
|
|
1133
|
+
}
|
|
1134
|
+
class nftinfo_result extends Struct {
|
|
1135
|
+
schemas: nft_schema_def[];
|
|
1136
|
+
templates: nft_template_def[];
|
|
1137
|
+
}
|
|
1138
|
+
class task_event extends Struct {
|
|
1139
|
+
event_type: UInt8;
|
|
1140
|
+
owner: Name;
|
|
1141
|
+
entity_type: Name;
|
|
1142
|
+
entity_id: UInt64;
|
|
1143
|
+
task_index: UInt32;
|
|
1144
|
+
task: task;
|
|
1145
|
+
starts_at: TimePoint;
|
|
1146
|
+
completes_at: TimePoint;
|
|
1147
|
+
new_energy?: UInt32;
|
|
1148
|
+
lane_key: UInt8;
|
|
1149
|
+
}
|
|
1150
|
+
class notify extends Struct {
|
|
1151
|
+
event: task_event;
|
|
1152
|
+
}
|
|
1153
|
+
class oracle_config_row extends Struct {
|
|
1154
|
+
threshold: UInt8;
|
|
1155
|
+
deadline: UInt32;
|
|
1156
|
+
}
|
|
1157
|
+
class oracle_row extends Struct {
|
|
1158
|
+
id: Name;
|
|
1159
|
+
}
|
|
1160
|
+
class placecargo extends Struct {
|
|
1161
|
+
owner: Name;
|
|
1162
|
+
host_id: UInt64;
|
|
1163
|
+
asset_id: UInt64;
|
|
1164
|
+
}
|
|
1165
|
+
class placeentity extends Struct {
|
|
1166
|
+
owner: Name;
|
|
1167
|
+
asset_id: UInt64;
|
|
1168
|
+
target_nexus_id: UInt64;
|
|
1169
|
+
}
|
|
1170
|
+
class player_info extends Struct {
|
|
1171
|
+
owner: Name;
|
|
1172
|
+
is_player: boolean;
|
|
1173
|
+
company_name: string;
|
|
1174
|
+
}
|
|
1175
|
+
class player_row extends Struct {
|
|
1176
|
+
owner: Name;
|
|
1177
|
+
}
|
|
1178
|
+
class pool_pair_result extends Struct {
|
|
1179
|
+
category: UInt8;
|
|
1180
|
+
tier: UInt8;
|
|
1181
|
+
item_id: UInt16;
|
|
1182
|
+
standard_quantity: UInt64;
|
|
1183
|
+
standard_stats: UInt64;
|
|
1184
|
+
premium_quantity: UInt64;
|
|
1185
|
+
premium_stats: UInt64;
|
|
1186
|
+
bar: UInt64;
|
|
1187
|
+
threshold: UInt64;
|
|
1188
|
+
}
|
|
1189
|
+
class pool_view extends Struct {
|
|
1190
|
+
category: UInt8;
|
|
1191
|
+
tier: UInt8;
|
|
1192
|
+
grade: UInt8;
|
|
1193
|
+
item_id: UInt16;
|
|
1194
|
+
quantity: UInt64;
|
|
1195
|
+
stats: UInt64;
|
|
1196
|
+
bar: UInt64;
|
|
1197
|
+
}
|
|
1198
|
+
class pools_result extends Struct {
|
|
1199
|
+
pools: pool_view[];
|
|
1200
|
+
}
|
|
1201
|
+
class progress_row extends Struct {
|
|
1202
|
+
node_id: UInt32;
|
|
1203
|
+
amount: UInt64;
|
|
1204
|
+
}
|
|
1205
|
+
class projected_state extends Struct {
|
|
1206
|
+
owner: Name;
|
|
1207
|
+
coordinates: coordinates;
|
|
1208
|
+
energy?: UInt32;
|
|
1209
|
+
cargomass: UInt32;
|
|
1210
|
+
cargo: cargo_view[];
|
|
1211
|
+
hullmass?: UInt32;
|
|
1212
|
+
capacity?: UInt32;
|
|
1213
|
+
engines?: movement_stats;
|
|
1214
|
+
warp?: warp_stats;
|
|
1215
|
+
generator?: energy_stats;
|
|
1216
|
+
hauler?: hauler_stats;
|
|
1217
|
+
gatherer_lanes: gatherer_lane[];
|
|
1218
|
+
crafter_lanes: crafter_lane[];
|
|
1219
|
+
builder_lanes: builder_lane[];
|
|
1220
|
+
loader_lanes: loader_lane[];
|
|
1221
|
+
launcher?: launcher_stats;
|
|
1222
|
+
tier: UInt8;
|
|
1223
|
+
}
|
|
1224
|
+
class recharge extends Struct {
|
|
1225
|
+
id: UInt64;
|
|
1226
|
+
}
|
|
1227
|
+
class refrshentity extends Struct {
|
|
1228
|
+
entity_id: UInt64;
|
|
1229
|
+
}
|
|
1230
|
+
class removeoracle extends Struct {
|
|
1231
|
+
oracle_id: Name;
|
|
1232
|
+
}
|
|
1233
|
+
class rename extends Struct {
|
|
1234
|
+
id: UInt64;
|
|
1235
|
+
name: string;
|
|
1236
|
+
}
|
|
1237
|
+
class resolve extends Struct {
|
|
1238
|
+
id: UInt64;
|
|
1239
|
+
count?: UInt64;
|
|
1240
|
+
}
|
|
1241
|
+
class resolve_results extends Struct {
|
|
1242
|
+
entity_id: UInt64;
|
|
1243
|
+
entity_type: Name;
|
|
1244
|
+
resolved_count: UInt32;
|
|
1245
|
+
new_schedule_started?: TimePoint;
|
|
1246
|
+
entitygroup?: UInt64;
|
|
1247
|
+
group_members?: entity_ref[];
|
|
1248
|
+
}
|
|
1249
|
+
class resolveall extends Struct {
|
|
1250
|
+
owner: Name;
|
|
1251
|
+
}
|
|
1252
|
+
class resolveall_results extends Struct {
|
|
1253
|
+
scanned: UInt32;
|
|
1254
|
+
resolved: UInt32;
|
|
1255
|
+
}
|
|
1256
|
+
class resolveearly extends Struct {
|
|
1257
|
+
id: UInt64;
|
|
1258
|
+
count?: UInt64;
|
|
1259
|
+
}
|
|
1260
|
+
class resource_info extends Struct {
|
|
1261
|
+
id: UInt16;
|
|
1262
|
+
mass: UInt32;
|
|
1263
|
+
category: UInt8;
|
|
1264
|
+
tier: UInt8;
|
|
1265
|
+
}
|
|
1266
|
+
class resource_stats extends Struct {
|
|
1267
|
+
stat1: UInt16;
|
|
1268
|
+
stat2: UInt16;
|
|
1269
|
+
stat3: UInt16;
|
|
1270
|
+
}
|
|
1271
|
+
class resources_result extends Struct {
|
|
1272
|
+
resources: resource_info[];
|
|
1273
|
+
}
|
|
1274
|
+
class reveal extends Struct {
|
|
1275
|
+
oracle_id: Name;
|
|
1276
|
+
epoch: UInt64;
|
|
1277
|
+
reveal: Checksum256;
|
|
1278
|
+
}
|
|
1279
|
+
class reveal_row extends Struct {
|
|
1280
|
+
id: UInt64;
|
|
1281
|
+
epoch: UInt64;
|
|
1282
|
+
oracle_id: Name;
|
|
1283
|
+
reveal: Checksum256;
|
|
1284
|
+
}
|
|
1285
|
+
class rmmodule extends Struct {
|
|
1286
|
+
entity_id: UInt64;
|
|
1287
|
+
module_index: UInt8;
|
|
1288
|
+
target_ref?: cargo_ref;
|
|
1289
|
+
}
|
|
1290
|
+
class rmnftcfg extends Struct {
|
|
1291
|
+
item_id: UInt16;
|
|
1292
|
+
}
|
|
1293
|
+
class route_waypoint extends Struct {
|
|
1294
|
+
x: Int64;
|
|
1295
|
+
y: Int64;
|
|
1296
|
+
}
|
|
1297
|
+
class setcivic extends Struct {
|
|
1298
|
+
account: Name;
|
|
1299
|
+
}
|
|
1300
|
+
class setcluster extends Struct {
|
|
1301
|
+
row: cluster_row;
|
|
1302
|
+
}
|
|
1303
|
+
class setcoords extends Struct {
|
|
1304
|
+
entity_id: UInt64;
|
|
1305
|
+
x: Int64;
|
|
1306
|
+
y: Int64;
|
|
1307
|
+
}
|
|
1308
|
+
class setdeadline extends Struct {
|
|
1309
|
+
deadline: UInt32;
|
|
1310
|
+
}
|
|
1311
|
+
class setinfburn extends Struct {
|
|
1312
|
+
bps: UInt16;
|
|
1313
|
+
}
|
|
1314
|
+
class setinfd1 extends Struct {
|
|
1315
|
+
d1: UInt32;
|
|
1316
|
+
}
|
|
1317
|
+
class setinfdemand extends Struct {
|
|
1318
|
+
peak: UInt64;
|
|
1319
|
+
base: UInt64;
|
|
1320
|
+
floor: UInt64;
|
|
1321
|
+
}
|
|
1322
|
+
class setinfmint extends Struct {
|
|
1323
|
+
category: UInt8;
|
|
1324
|
+
tier: UInt8;
|
|
1325
|
+
threshold: UInt64;
|
|
1326
|
+
}
|
|
1327
|
+
class setinfweight extends Struct {
|
|
1328
|
+
category: UInt8;
|
|
1329
|
+
tier: UInt8;
|
|
1330
|
+
weight_fp: UInt64;
|
|
1331
|
+
}
|
|
1332
|
+
class setnextid extends Struct {
|
|
1333
|
+
next_id: UInt64;
|
|
1334
|
+
}
|
|
1335
|
+
class setnftcfg extends Struct {
|
|
1336
|
+
item_id: UInt16;
|
|
1337
|
+
template_id: Int32;
|
|
1338
|
+
schema_name: Name;
|
|
1339
|
+
}
|
|
1340
|
+
class setthreshold extends Struct {
|
|
1341
|
+
threshold: UInt8;
|
|
1342
|
+
}
|
|
1343
|
+
class settleballot extends Struct {
|
|
1344
|
+
ballot_id: UInt64;
|
|
1345
|
+
max_pages: UInt32;
|
|
1346
|
+
}
|
|
1347
|
+
class setunwrapmin extends Struct {
|
|
1348
|
+
asset_id: UInt64;
|
|
1349
|
+
}
|
|
1350
|
+
class setwrapcost extends Struct {
|
|
1351
|
+
item_type: UInt8;
|
|
1352
|
+
tier: UInt8;
|
|
1353
|
+
amount: UInt64;
|
|
1354
|
+
}
|
|
1355
|
+
class setwrapfee extends Struct {
|
|
1356
|
+
fee_pct: UInt16;
|
|
1357
|
+
fee_account: Name;
|
|
1358
|
+
}
|
|
1359
|
+
class shuttle extends Struct {
|
|
1360
|
+
carrier: UInt64;
|
|
1361
|
+
from_id: UInt64;
|
|
1362
|
+
to_id: UInt64;
|
|
1363
|
+
items: cargo_item[];
|
|
1364
|
+
}
|
|
1365
|
+
class standing_row extends Struct {
|
|
1366
|
+
account: Name;
|
|
1367
|
+
lifetime: UInt64;
|
|
1368
|
+
active: UInt64;
|
|
1369
|
+
active_epoch: UInt32;
|
|
1370
|
+
}
|
|
1371
|
+
class stowcargo extends Struct {
|
|
1372
|
+
owner: Name;
|
|
1373
|
+
entity_id: UInt64;
|
|
1374
|
+
nexus_id: UInt64;
|
|
1375
|
+
cargo_id: UInt64;
|
|
1376
|
+
quantity: UInt64;
|
|
1377
|
+
}
|
|
1378
|
+
class stowentity extends Struct {
|
|
1379
|
+
owner: Name;
|
|
1380
|
+
entity_id: UInt64;
|
|
1381
|
+
nexus_id: UInt64;
|
|
1382
|
+
}
|
|
1383
|
+
class stratum_info extends Struct {
|
|
1384
|
+
item_id: UInt16;
|
|
1385
|
+
seed: UInt64;
|
|
1386
|
+
richness: UInt16;
|
|
1387
|
+
reserve: UInt32;
|
|
1388
|
+
reserve_max: UInt32;
|
|
1389
|
+
}
|
|
1390
|
+
class stratum_data extends Struct {
|
|
1391
|
+
stratum: stratum_info;
|
|
1392
|
+
stats: resource_stats;
|
|
1393
|
+
}
|
|
1394
|
+
class stratum_remaining extends Struct {
|
|
1395
|
+
stratum: UInt16;
|
|
1396
|
+
remaining: UInt32;
|
|
1397
|
+
last_block: BlockTimestamp;
|
|
1398
|
+
}
|
|
1399
|
+
class swapmodule extends Struct {
|
|
1400
|
+
entity_id: UInt64;
|
|
1401
|
+
module_index: UInt8;
|
|
1402
|
+
module_ref: cargo_ref;
|
|
1403
|
+
}
|
|
1404
|
+
class swaptile extends Struct {
|
|
1405
|
+
hub_id: UInt64;
|
|
1406
|
+
a_gx: Int8;
|
|
1407
|
+
a_gy: Int8;
|
|
1408
|
+
b_gx: Int8;
|
|
1409
|
+
b_gy: Int8;
|
|
1410
|
+
}
|
|
1411
|
+
class task_results extends Struct {
|
|
1412
|
+
entities: entity_task_info[];
|
|
1413
|
+
}
|
|
1414
|
+
class transit extends Struct {
|
|
1415
|
+
id: UInt64;
|
|
1416
|
+
ax: Int64;
|
|
1417
|
+
ay: Int64;
|
|
1418
|
+
bx: Int64;
|
|
1419
|
+
by: Int64;
|
|
1420
|
+
}
|
|
1421
|
+
class travel extends Struct {
|
|
1422
|
+
id: UInt64;
|
|
1423
|
+
x: Int64;
|
|
1424
|
+
y: Int64;
|
|
1425
|
+
recharge: boolean;
|
|
1426
|
+
}
|
|
1427
|
+
class travelplan extends Struct {
|
|
1428
|
+
entities: entity_ref[];
|
|
1429
|
+
waypoints: route_waypoint[];
|
|
1430
|
+
recharge: boolean;
|
|
1431
|
+
}
|
|
1432
|
+
class vote_option extends Struct {
|
|
1433
|
+
node_id: UInt32;
|
|
1434
|
+
cost: UInt64;
|
|
1435
|
+
seat: UInt32;
|
|
1436
|
+
weight: UInt64;
|
|
1437
|
+
rank: UInt32;
|
|
1438
|
+
}
|
|
1439
|
+
class vote_result extends Struct {
|
|
1440
|
+
location_id: UInt64;
|
|
1441
|
+
ballot_id: UInt64;
|
|
1442
|
+
epoch: UInt32;
|
|
1443
|
+
settled_epoch: UInt32;
|
|
1444
|
+
seats: UInt32;
|
|
1445
|
+
settling: boolean;
|
|
1446
|
+
queue: UInt32[];
|
|
1447
|
+
options: vote_option[];
|
|
1448
|
+
picks: UInt32[];
|
|
1449
|
+
}
|
|
1450
|
+
class types_row extends Struct {
|
|
1451
|
+
id: UInt64;
|
|
1452
|
+
entity_summary_type: entity_summary;
|
|
1453
|
+
game_config_type: game_config;
|
|
1454
|
+
stratum_remaining_type: stratum_remaining;
|
|
1455
|
+
nft_item_payload_type: nft_item_payload;
|
|
1456
|
+
decomp_result_type: decomp_result;
|
|
1457
|
+
demand_result_type: demand_result;
|
|
1458
|
+
infvalue_result_type: infvalue_result;
|
|
1459
|
+
influence_totals_type: influence_totals;
|
|
1460
|
+
pools_result_type: pools_result;
|
|
1461
|
+
pool_pair_result_type: pool_pair_result;
|
|
1462
|
+
mintcfg_result_type: mintcfg_result;
|
|
1463
|
+
charter_result_type: charter_result;
|
|
1464
|
+
charterready_result_type: charterready_result;
|
|
1465
|
+
vote_result_type: vote_result;
|
|
1466
|
+
depot_view_type: depot_view;
|
|
1467
|
+
}
|
|
1468
|
+
class undeploy extends Struct {
|
|
1469
|
+
host_id: UInt64;
|
|
1470
|
+
target_id: UInt64;
|
|
1471
|
+
}
|
|
1472
|
+
class unload extends Struct {
|
|
1473
|
+
id: UInt64;
|
|
1474
|
+
to_id: UInt64;
|
|
1475
|
+
items: cargo_item[];
|
|
1476
|
+
}
|
|
1477
|
+
class upgrade extends Struct {
|
|
1478
|
+
builder_id: UInt64;
|
|
1479
|
+
target_id: UInt64;
|
|
1480
|
+
target_item_id: UInt16;
|
|
1481
|
+
inputs: cargo_item[];
|
|
1482
|
+
slot?: UInt8;
|
|
1483
|
+
}
|
|
1484
|
+
class voteready extends Struct {
|
|
1485
|
+
max_pages: UInt32;
|
|
1486
|
+
}
|
|
1487
|
+
class warp extends Struct {
|
|
1488
|
+
id: UInt64;
|
|
1489
|
+
x: Int64;
|
|
1490
|
+
y: Int64;
|
|
1491
|
+
}
|
|
1492
|
+
class wipe extends Struct {
|
|
1493
|
+
}
|
|
1494
|
+
class worlds_row extends Struct {
|
|
1495
|
+
location_id: UInt64;
|
|
1496
|
+
lifetime: UInt64;
|
|
1497
|
+
active: UInt64;
|
|
1498
|
+
active_epoch: UInt32;
|
|
1499
|
+
spent: UInt64;
|
|
1500
|
+
unassigned: UInt64;
|
|
1501
|
+
ballot_id: UInt64;
|
|
1502
|
+
founder: Name;
|
|
1503
|
+
founded: UInt32;
|
|
1504
|
+
}
|
|
1505
|
+
class wormhole_info extends Struct {
|
|
1506
|
+
coords: coordinates;
|
|
1507
|
+
is_wormhole: boolean;
|
|
1508
|
+
destination: coordinates;
|
|
1509
|
+
}
|
|
1510
|
+
class wrapconfig_row extends Struct {
|
|
1511
|
+
fee_pct: UInt16;
|
|
1512
|
+
fee_account: Name;
|
|
1513
|
+
min_asset_id: UInt64;
|
|
1514
|
+
}
|
|
1515
|
+
class wrapcost_row extends Struct {
|
|
1516
|
+
item_type: UInt8;
|
|
1517
|
+
tier: UInt8;
|
|
1518
|
+
amount: UInt64;
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
type CoordinatesType = Coordinates | Types.coordinates | {
|
|
1523
|
+
x: Int64Type;
|
|
1524
|
+
y: Int64Type;
|
|
1525
|
+
};
|
|
1526
|
+
declare class Coordinates extends Types.coordinates {
|
|
1527
|
+
static from(value: CoordinatesType): Coordinates;
|
|
1528
|
+
equals(other: CoordinatesType): boolean;
|
|
1529
|
+
toLocationId(): UInt64;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
interface LoaderStats {
|
|
1533
|
+
mass: {
|
|
1534
|
+
toNumber(): number;
|
|
1535
|
+
multiplying(v: unknown): {
|
|
1536
|
+
toNumber(): number;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
thrust: {
|
|
1540
|
+
toNumber(): number;
|
|
1541
|
+
};
|
|
1542
|
+
quantity: {
|
|
1543
|
+
toNumber(): number;
|
|
1544
|
+
gt(v: unknown): boolean;
|
|
1545
|
+
};
|
|
1546
|
+
}
|
|
1547
|
+
interface GathererStats {
|
|
1548
|
+
yield: {
|
|
1549
|
+
toNumber(): number;
|
|
1550
|
+
};
|
|
1551
|
+
drain: {
|
|
1552
|
+
toNumber(): number;
|
|
1553
|
+
};
|
|
1554
|
+
depth: {
|
|
1555
|
+
toNumber(): number;
|
|
1556
|
+
toString(): string;
|
|
1557
|
+
};
|
|
1558
|
+
}
|
|
1559
|
+
interface CrafterStats {
|
|
1560
|
+
speed: {
|
|
1561
|
+
toNumber(): number;
|
|
1562
|
+
};
|
|
1563
|
+
drain: {
|
|
1564
|
+
toNumber(): number;
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
interface BuilderStats {
|
|
1568
|
+
speed: {
|
|
1569
|
+
toNumber(): number;
|
|
1570
|
+
};
|
|
1571
|
+
drain: {
|
|
1572
|
+
toNumber(): number;
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
interface EntityCapabilities {
|
|
1576
|
+
hullmass?: UInt32;
|
|
1577
|
+
capacity?: UInt32;
|
|
1578
|
+
engines?: Types.movement_stats;
|
|
1579
|
+
generator?: Types.energy_stats;
|
|
1580
|
+
loaders?: LoaderStats;
|
|
1581
|
+
gatherer?: GathererStats;
|
|
1582
|
+
crafter?: CrafterStats;
|
|
1583
|
+
builder?: BuilderStats;
|
|
1584
|
+
hauler?: Types.hauler_stats;
|
|
1585
|
+
launcher?: Types.launcher_stats;
|
|
1586
|
+
}
|
|
1587
|
+
interface EntityState {
|
|
1588
|
+
owner: Name;
|
|
1589
|
+
location: Types.coordinates;
|
|
1590
|
+
energy?: UInt32;
|
|
1591
|
+
cargomass: UInt32;
|
|
1592
|
+
cargo: Types.cargo_item[];
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
interface CargoStack {
|
|
1596
|
+
item_id: UInt16;
|
|
1597
|
+
quantity: UInt32;
|
|
1598
|
+
stats: UInt64;
|
|
1599
|
+
modules: Types.module_entry[];
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
interface ProjectedEntity {
|
|
1603
|
+
location: Coordinates;
|
|
1604
|
+
energy: UInt32;
|
|
1605
|
+
cargo: CargoStack[];
|
|
1606
|
+
shipMass: UInt32;
|
|
1607
|
+
capacity?: UInt64;
|
|
1608
|
+
engines?: Types.movement_stats;
|
|
1609
|
+
loaderLanes: Types.loader_lane[];
|
|
1610
|
+
generator?: Types.energy_stats;
|
|
1611
|
+
hauler?: Types.hauler_stats;
|
|
1612
|
+
launcher?: Types.launcher_stats;
|
|
1613
|
+
readonly cargoMass: UInt64;
|
|
1614
|
+
readonly totalMass: UInt64;
|
|
1615
|
+
readonly gathererLanes: Types.gatherer_lane[];
|
|
1616
|
+
readonly crafterLanes: Types.crafter_lane[];
|
|
1617
|
+
readonly builderLanes: Types.builder_lane[];
|
|
1618
|
+
hasMovement(): boolean;
|
|
1619
|
+
hasStorage(): boolean;
|
|
1620
|
+
hasLoaders(): boolean;
|
|
1621
|
+
hasLauncher(): boolean;
|
|
1622
|
+
capabilities(): EntityCapabilities;
|
|
1623
|
+
state(): EntityState;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
interface ContractProjectedState {
|
|
1627
|
+
owner: {
|
|
1628
|
+
toString(): string;
|
|
1629
|
+
};
|
|
1630
|
+
coordinates: Types.coordinates;
|
|
1631
|
+
energy?: UInt32;
|
|
1632
|
+
cargomass: UInt32;
|
|
1633
|
+
cargo: Types.cargo_view[];
|
|
1634
|
+
hullmass?: UInt32;
|
|
1635
|
+
capacity?: UInt32;
|
|
1636
|
+
engines?: Types.movement_stats;
|
|
1637
|
+
generator?: Types.energy_stats;
|
|
1638
|
+
hauler?: Types.hauler_stats;
|
|
1639
|
+
gatherer_lanes: Types.gatherer_lane[];
|
|
1640
|
+
crafter_lanes: Types.crafter_lane[];
|
|
1641
|
+
loader_lanes: Types.loader_lane[];
|
|
1642
|
+
}
|
|
1643
|
+
interface ProjectionComparisonOptions {
|
|
1644
|
+
step?: number;
|
|
1645
|
+
}
|
|
1646
|
+
declare function assertProjectionEquals(contract: ContractProjectedState, sdk: ProjectedEntity, options?: ProjectionComparisonOptions): void;
|
|
1647
|
+
|
|
1648
|
+
export { CATALOG_FILES_REL, ContractProjectedState, ProjectionComparisonOptions, assertProjectionEquals, computeCatalogHash };
|