@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/testing.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { Struct,
|
|
1
|
+
import { Struct, UInt64, UInt16, UInt8, UInt32, Name, Int64, TimePoint, Int8, Checksum256, Bytes, Int32, BlockTimestamp, Int64Type } from '@wharfkit/antelope';
|
|
2
2
|
|
|
3
3
|
declare const CATALOG_FILES_REL: readonly ["items.json", "recipes.json", "entities.json", "kind-registry.json", "item-ids.ts"];
|
|
4
4
|
declare function computeCatalogHash(filePaths: ReadonlyArray<string>): string;
|
|
5
5
|
|
|
6
6
|
declare namespace Types {
|
|
7
|
+
class abandonplot extends Struct {
|
|
8
|
+
plot_id: UInt64;
|
|
9
|
+
}
|
|
7
10
|
class packed_module extends Struct {
|
|
8
11
|
item_id: UInt16;
|
|
9
12
|
stats: UInt64;
|
|
@@ -12,6 +15,20 @@ declare namespace Types {
|
|
|
12
15
|
type: UInt8;
|
|
13
16
|
installed?: packed_module;
|
|
14
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
|
+
}
|
|
15
32
|
class cargo_ref extends Struct {
|
|
16
33
|
item_id: UInt16;
|
|
17
34
|
stats: UInt64;
|
|
@@ -32,13 +49,6 @@ declare namespace Types {
|
|
|
32
49
|
class addoracle extends Struct {
|
|
33
50
|
oracle_id: Name;
|
|
34
51
|
}
|
|
35
|
-
class cargo_item extends Struct {
|
|
36
|
-
item_id: UInt16;
|
|
37
|
-
stats: UInt64;
|
|
38
|
-
modules: module_entry[];
|
|
39
|
-
quantity: UInt32;
|
|
40
|
-
entity_id?: UInt64;
|
|
41
|
-
}
|
|
42
52
|
class blend extends Struct {
|
|
43
53
|
id: UInt64;
|
|
44
54
|
inputs: cargo_item[];
|
|
@@ -74,6 +84,9 @@ declare namespace Types {
|
|
|
74
84
|
job_id: UInt64;
|
|
75
85
|
ship_id: UInt64;
|
|
76
86
|
}
|
|
87
|
+
class cancelupgrade extends Struct {
|
|
88
|
+
job_id: UInt64;
|
|
89
|
+
}
|
|
77
90
|
class cargo_row extends Struct {
|
|
78
91
|
id: UInt64;
|
|
79
92
|
entity_id: UInt64;
|
|
@@ -91,6 +104,48 @@ declare namespace Types {
|
|
|
91
104
|
id: UInt64;
|
|
92
105
|
entity_id?: UInt64;
|
|
93
106
|
}
|
|
107
|
+
class charter_effect extends Struct {
|
|
108
|
+
kind: UInt8;
|
|
109
|
+
item_id: UInt16;
|
|
110
|
+
target_item_id: UInt16;
|
|
111
|
+
slot_mask: UInt16;
|
|
112
|
+
stat: UInt16;
|
|
113
|
+
}
|
|
114
|
+
class charter_node_def extends Struct {
|
|
115
|
+
node_id: UInt32;
|
|
116
|
+
cost: UInt64;
|
|
117
|
+
prereqs: UInt32[];
|
|
118
|
+
effect: charter_effect;
|
|
119
|
+
}
|
|
120
|
+
class charter_view extends Struct {
|
|
121
|
+
node_id: UInt32;
|
|
122
|
+
completed_epoch: UInt32;
|
|
123
|
+
entity_id: UInt64;
|
|
124
|
+
}
|
|
125
|
+
class charter_result extends Struct {
|
|
126
|
+
location_id: UInt64;
|
|
127
|
+
lifetime: UInt64;
|
|
128
|
+
watermark: UInt64;
|
|
129
|
+
surplus: UInt64;
|
|
130
|
+
mandate: UInt32;
|
|
131
|
+
next_cost: UInt64;
|
|
132
|
+
prereqs_met: boolean;
|
|
133
|
+
buildable: boolean;
|
|
134
|
+
epoch: UInt32;
|
|
135
|
+
built: charter_view[];
|
|
136
|
+
}
|
|
137
|
+
class charter_tree_result extends Struct {
|
|
138
|
+
nodes: charter_node_def[];
|
|
139
|
+
}
|
|
140
|
+
class charterready extends Struct {
|
|
141
|
+
x: Int64;
|
|
142
|
+
y: Int64;
|
|
143
|
+
}
|
|
144
|
+
class charters_row extends Struct {
|
|
145
|
+
node_id: UInt32;
|
|
146
|
+
completed_epoch: UInt32;
|
|
147
|
+
entity_id: UInt64;
|
|
148
|
+
}
|
|
94
149
|
class civicconfig_row extends Struct {
|
|
95
150
|
civic_owner: Name;
|
|
96
151
|
}
|
|
@@ -114,6 +169,9 @@ declare namespace Types {
|
|
|
114
169
|
class claimstarter extends Struct {
|
|
115
170
|
owner: Name;
|
|
116
171
|
}
|
|
172
|
+
class claimupgrade extends Struct {
|
|
173
|
+
job_id: UInt64;
|
|
174
|
+
}
|
|
117
175
|
class cleanrsvp extends Struct {
|
|
118
176
|
epoch: UInt64;
|
|
119
177
|
max_rows: UInt64;
|
|
@@ -206,9 +264,37 @@ declare namespace Types {
|
|
|
206
264
|
quantity: UInt32;
|
|
207
265
|
inputs: cargo_item[];
|
|
208
266
|
}
|
|
267
|
+
class dbgcredit extends Struct {
|
|
268
|
+
owner: Name;
|
|
269
|
+
x: Int64;
|
|
270
|
+
y: Int64;
|
|
271
|
+
amount_atomic: UInt64;
|
|
272
|
+
}
|
|
273
|
+
class dbgmandate extends Struct {
|
|
274
|
+
x: Int64;
|
|
275
|
+
y: Int64;
|
|
276
|
+
node_id: UInt32;
|
|
277
|
+
}
|
|
278
|
+
class decomp_bucket extends Struct {
|
|
279
|
+
category: UInt8;
|
|
280
|
+
tier: UInt8;
|
|
281
|
+
raw_kg: UInt32;
|
|
282
|
+
}
|
|
283
|
+
class decomp_result extends Struct {
|
|
284
|
+
item_id: UInt16;
|
|
285
|
+
processed_kg: UInt64;
|
|
286
|
+
buckets: decomp_bucket[];
|
|
287
|
+
}
|
|
209
288
|
class delentity extends Struct {
|
|
210
289
|
entity_id: UInt64;
|
|
211
290
|
}
|
|
291
|
+
class demand_result extends Struct {
|
|
292
|
+
abundant_mask: UInt8;
|
|
293
|
+
lacking_mask: UInt8;
|
|
294
|
+
acute: UInt8;
|
|
295
|
+
need_fp: UInt64[];
|
|
296
|
+
epoch: UInt32;
|
|
297
|
+
}
|
|
212
298
|
class demolish extends Struct {
|
|
213
299
|
entity_id: UInt64;
|
|
214
300
|
}
|
|
@@ -217,6 +303,36 @@ declare namespace Types {
|
|
|
217
303
|
ref: cargo_ref;
|
|
218
304
|
slot?: cluster_slot;
|
|
219
305
|
}
|
|
306
|
+
class depot_row extends Struct {
|
|
307
|
+
id: UInt64;
|
|
308
|
+
owner: Name;
|
|
309
|
+
item_id: UInt64;
|
|
310
|
+
quantity: UInt64;
|
|
311
|
+
stats: UInt64;
|
|
312
|
+
modules: module_entry[];
|
|
313
|
+
sequence_id?: UInt64;
|
|
314
|
+
}
|
|
315
|
+
class depot_view extends Struct {
|
|
316
|
+
player_cap: UInt64;
|
|
317
|
+
stored_mass: UInt64;
|
|
318
|
+
reserved_mass: UInt64;
|
|
319
|
+
rows: depot_row[];
|
|
320
|
+
}
|
|
321
|
+
class depotacct_row extends Struct {
|
|
322
|
+
owner: Name;
|
|
323
|
+
stored_mass: UInt64;
|
|
324
|
+
reserved_mass: UInt64;
|
|
325
|
+
}
|
|
326
|
+
class depotstore extends Struct {
|
|
327
|
+
ship_id: UInt64;
|
|
328
|
+
depot_id: UInt64;
|
|
329
|
+
items: cargo_item[];
|
|
330
|
+
}
|
|
331
|
+
class depottake extends Struct {
|
|
332
|
+
ship_id: UInt64;
|
|
333
|
+
depot_id: UInt64;
|
|
334
|
+
items: cargo_item[];
|
|
335
|
+
}
|
|
220
336
|
class descentity extends Struct {
|
|
221
337
|
item_id: UInt16;
|
|
222
338
|
hull_stats: UInt64;
|
|
@@ -392,6 +508,8 @@ declare namespace Types {
|
|
|
392
508
|
class fixcargomass extends Struct {
|
|
393
509
|
entity_id: UInt64;
|
|
394
510
|
}
|
|
511
|
+
class fixitemids extends Struct {
|
|
512
|
+
}
|
|
395
513
|
class grid_cell extends Struct {
|
|
396
514
|
gx: Int8;
|
|
397
515
|
gy: Int8;
|
|
@@ -402,6 +520,12 @@ declare namespace Types {
|
|
|
402
520
|
class forcereveal extends Struct {
|
|
403
521
|
epoch: UInt64;
|
|
404
522
|
}
|
|
523
|
+
class found extends Struct {
|
|
524
|
+
player: Name;
|
|
525
|
+
entity_id: UInt64;
|
|
526
|
+
x: Int64;
|
|
527
|
+
y: Int64;
|
|
528
|
+
}
|
|
405
529
|
class gather extends Struct {
|
|
406
530
|
source_id: UInt64;
|
|
407
531
|
destination_id: UInt64;
|
|
@@ -420,15 +544,32 @@ declare namespace Types {
|
|
|
420
544
|
class genesisfleet extends Struct {
|
|
421
545
|
entities: entity_row[];
|
|
422
546
|
}
|
|
547
|
+
class getcharter extends Struct {
|
|
548
|
+
x: Int64;
|
|
549
|
+
y: Int64;
|
|
550
|
+
}
|
|
551
|
+
class getcharttree extends Struct {
|
|
552
|
+
}
|
|
423
553
|
class getcluster extends Struct {
|
|
424
554
|
hub_id: UInt64;
|
|
425
555
|
}
|
|
426
556
|
class getconfig extends Struct {
|
|
427
557
|
}
|
|
558
|
+
class getdecomp extends Struct {
|
|
559
|
+
item_id: UInt16;
|
|
560
|
+
}
|
|
561
|
+
class getdemand extends Struct {
|
|
562
|
+
x: Int64;
|
|
563
|
+
y: Int64;
|
|
564
|
+
}
|
|
428
565
|
class getdeposit extends Struct {
|
|
429
566
|
owner: Name;
|
|
430
567
|
asset_id: UInt64;
|
|
431
568
|
}
|
|
569
|
+
class getdepot extends Struct {
|
|
570
|
+
depot_id: UInt64;
|
|
571
|
+
owner: Name;
|
|
572
|
+
}
|
|
432
573
|
class getdistance extends Struct {
|
|
433
574
|
ax: Int64;
|
|
434
575
|
ay: Int64;
|
|
@@ -451,6 +592,20 @@ declare namespace Types {
|
|
|
451
592
|
class getfootprint extends Struct {
|
|
452
593
|
item_id: UInt16;
|
|
453
594
|
}
|
|
595
|
+
class getinfdecay extends Struct {
|
|
596
|
+
active: UInt64;
|
|
597
|
+
epochs: UInt32;
|
|
598
|
+
}
|
|
599
|
+
class getinfluence extends Struct {
|
|
600
|
+
owner: Name;
|
|
601
|
+
x: Int64;
|
|
602
|
+
y: Int64;
|
|
603
|
+
}
|
|
604
|
+
class getinfvalue extends Struct {
|
|
605
|
+
items: cargo_item[];
|
|
606
|
+
x: Int64;
|
|
607
|
+
y: Int64;
|
|
608
|
+
}
|
|
454
609
|
class getitemdata extends Struct {
|
|
455
610
|
}
|
|
456
611
|
class getitemids extends Struct {
|
|
@@ -475,6 +630,8 @@ declare namespace Types {
|
|
|
475
630
|
x: Int64;
|
|
476
631
|
y: Int64;
|
|
477
632
|
}
|
|
633
|
+
class getmintcfg extends Struct {
|
|
634
|
+
}
|
|
478
635
|
class getmodtypes extends Struct {
|
|
479
636
|
}
|
|
480
637
|
class getmodules extends Struct {
|
|
@@ -490,6 +647,12 @@ declare namespace Types {
|
|
|
490
647
|
class getplayer extends Struct {
|
|
491
648
|
account: Name;
|
|
492
649
|
}
|
|
650
|
+
class getpool extends Struct {
|
|
651
|
+
category: UInt8;
|
|
652
|
+
tier: UInt8;
|
|
653
|
+
}
|
|
654
|
+
class getpools extends Struct {
|
|
655
|
+
}
|
|
493
656
|
class getprojstate extends Struct {
|
|
494
657
|
entity_id: UInt64;
|
|
495
658
|
task_count?: UInt8;
|
|
@@ -523,6 +686,13 @@ declare namespace Types {
|
|
|
523
686
|
owner: Name;
|
|
524
687
|
entity_type?: Name;
|
|
525
688
|
}
|
|
689
|
+
class getupgjobs extends Struct {
|
|
690
|
+
dock_id: UInt64;
|
|
691
|
+
}
|
|
692
|
+
class getvotes extends Struct {
|
|
693
|
+
x: Int64;
|
|
694
|
+
y: Int64;
|
|
695
|
+
}
|
|
526
696
|
class getwormhole extends Struct {
|
|
527
697
|
x: Int64;
|
|
528
698
|
y: Int64;
|
|
@@ -558,9 +728,20 @@ declare namespace Types {
|
|
|
558
728
|
class importentity extends Struct {
|
|
559
729
|
row: entity_row;
|
|
560
730
|
}
|
|
731
|
+
class importepoch extends Struct {
|
|
732
|
+
row: epoch_row;
|
|
733
|
+
}
|
|
561
734
|
class importgroup extends Struct {
|
|
562
735
|
row: entitygroup_row;
|
|
563
736
|
}
|
|
737
|
+
class nftconfig_row extends Struct {
|
|
738
|
+
item_id: UInt16;
|
|
739
|
+
template_id: Int32;
|
|
740
|
+
schema_name: Name;
|
|
741
|
+
}
|
|
742
|
+
class importnftcfg extends Struct {
|
|
743
|
+
row: nftconfig_row;
|
|
744
|
+
}
|
|
564
745
|
class importplayer extends Struct {
|
|
565
746
|
owner: Name;
|
|
566
747
|
}
|
|
@@ -583,6 +764,89 @@ declare namespace Types {
|
|
|
583
764
|
class importstate extends Struct {
|
|
584
765
|
row: state_row;
|
|
585
766
|
}
|
|
767
|
+
class infballot_row extends Struct {
|
|
768
|
+
location_id: UInt64;
|
|
769
|
+
epoch: UInt32;
|
|
770
|
+
}
|
|
771
|
+
class infburn_row extends Struct {
|
|
772
|
+
bps: UInt16;
|
|
773
|
+
}
|
|
774
|
+
class infdemand_row extends Struct {
|
|
775
|
+
peak: UInt64;
|
|
776
|
+
base: UInt64;
|
|
777
|
+
floor: UInt64;
|
|
778
|
+
}
|
|
779
|
+
class infloc_row extends Struct {
|
|
780
|
+
location_id: UInt64;
|
|
781
|
+
lifetime: UInt64;
|
|
782
|
+
active: UInt64;
|
|
783
|
+
last_update_epoch: UInt32;
|
|
784
|
+
watermark: UInt64;
|
|
785
|
+
chosen: UInt32;
|
|
786
|
+
chosen_epoch: UInt32;
|
|
787
|
+
founder: Name;
|
|
788
|
+
founded: UInt32;
|
|
789
|
+
}
|
|
790
|
+
class influence_totals extends Struct {
|
|
791
|
+
player_lifetime: UInt64;
|
|
792
|
+
player_active: UInt64;
|
|
793
|
+
standing_lifetime: UInt64;
|
|
794
|
+
standing_active: UInt64;
|
|
795
|
+
location_lifetime: UInt64;
|
|
796
|
+
location_active: UInt64;
|
|
797
|
+
watermark: UInt64;
|
|
798
|
+
mandate: UInt32;
|
|
799
|
+
founder: Name;
|
|
800
|
+
founded: UInt32;
|
|
801
|
+
epoch: UInt32;
|
|
802
|
+
}
|
|
803
|
+
class infmint_row extends Struct {
|
|
804
|
+
category: UInt8;
|
|
805
|
+
tier: UInt8;
|
|
806
|
+
threshold: UInt64;
|
|
807
|
+
}
|
|
808
|
+
class infplayer_row extends Struct {
|
|
809
|
+
account: Name;
|
|
810
|
+
lifetime: UInt64;
|
|
811
|
+
active: UInt64;
|
|
812
|
+
last_update_epoch: UInt32;
|
|
813
|
+
}
|
|
814
|
+
class infplayerloc_row extends Struct {
|
|
815
|
+
location_id: UInt64;
|
|
816
|
+
lifetime: UInt64;
|
|
817
|
+
active: UInt64;
|
|
818
|
+
last_update_epoch: UInt32;
|
|
819
|
+
}
|
|
820
|
+
class infpool_row extends Struct {
|
|
821
|
+
category: UInt8;
|
|
822
|
+
tier: UInt8;
|
|
823
|
+
grade: UInt8;
|
|
824
|
+
quantity: UInt64;
|
|
825
|
+
stats: UInt64;
|
|
826
|
+
bar: UInt64;
|
|
827
|
+
}
|
|
828
|
+
class infquality_row extends Struct {
|
|
829
|
+
d1: UInt32;
|
|
830
|
+
}
|
|
831
|
+
class inftally_row extends Struct {
|
|
832
|
+
node_id: UInt64;
|
|
833
|
+
total: UInt64;
|
|
834
|
+
}
|
|
835
|
+
class infvalue_result extends Struct {
|
|
836
|
+
total_atomic: UInt64;
|
|
837
|
+
per_item_atomic: UInt64[];
|
|
838
|
+
}
|
|
839
|
+
class infvote_row extends Struct {
|
|
840
|
+
account: Name;
|
|
841
|
+
epoch: UInt32;
|
|
842
|
+
node_id: UInt32;
|
|
843
|
+
weight: UInt64;
|
|
844
|
+
}
|
|
845
|
+
class infweight_row extends Struct {
|
|
846
|
+
category: UInt8;
|
|
847
|
+
tier: UInt8;
|
|
848
|
+
weight_fp: UInt64;
|
|
849
|
+
}
|
|
586
850
|
class item_id_pair extends Struct {
|
|
587
851
|
id: UInt16;
|
|
588
852
|
name: string;
|
|
@@ -692,6 +956,22 @@ declare namespace Types {
|
|
|
692
956
|
is_system: boolean;
|
|
693
957
|
is_wormhole: boolean;
|
|
694
958
|
}
|
|
959
|
+
class mint_threshold_view extends Struct {
|
|
960
|
+
category: UInt8;
|
|
961
|
+
tier: UInt8;
|
|
962
|
+
threshold: UInt64;
|
|
963
|
+
}
|
|
964
|
+
class mintcfg_result extends Struct {
|
|
965
|
+
thresholds: mint_threshold_view[];
|
|
966
|
+
burn_bps: UInt16;
|
|
967
|
+
}
|
|
968
|
+
class mintq_row extends Struct {
|
|
969
|
+
id: UInt64;
|
|
970
|
+
grade: UInt8;
|
|
971
|
+
}
|
|
972
|
+
class mintready extends Struct {
|
|
973
|
+
max_mints?: UInt32;
|
|
974
|
+
}
|
|
695
975
|
class module_info extends Struct {
|
|
696
976
|
id: UInt16;
|
|
697
977
|
mass: UInt32;
|
|
@@ -708,6 +988,11 @@ declare namespace Types {
|
|
|
708
988
|
to_gx: Int8;
|
|
709
989
|
to_gy: Int8;
|
|
710
990
|
}
|
|
991
|
+
class naturalize extends Struct {
|
|
992
|
+
player: Name;
|
|
993
|
+
x: Int64;
|
|
994
|
+
y: Int64;
|
|
995
|
+
}
|
|
711
996
|
class nearby_system extends Struct {
|
|
712
997
|
distance: UInt64;
|
|
713
998
|
energy_cost: UInt64;
|
|
@@ -744,11 +1029,6 @@ declare namespace Types {
|
|
|
744
1029
|
schema_name: Name;
|
|
745
1030
|
template_id: Int32;
|
|
746
1031
|
}
|
|
747
|
-
class nftconfig_row extends Struct {
|
|
748
|
-
item_id: UInt16;
|
|
749
|
-
template_id: Int32;
|
|
750
|
-
schema_name: Name;
|
|
751
|
-
}
|
|
752
1032
|
class nftimgurl extends Struct {
|
|
753
1033
|
item: cargo_item;
|
|
754
1034
|
location?: coordinates;
|
|
@@ -796,6 +1076,29 @@ declare namespace Types {
|
|
|
796
1076
|
class player_row extends Struct {
|
|
797
1077
|
owner: Name;
|
|
798
1078
|
}
|
|
1079
|
+
class pool_pair_result extends Struct {
|
|
1080
|
+
category: UInt8;
|
|
1081
|
+
tier: UInt8;
|
|
1082
|
+
item_id: UInt16;
|
|
1083
|
+
standard_quantity: UInt64;
|
|
1084
|
+
standard_stats: UInt64;
|
|
1085
|
+
premium_quantity: UInt64;
|
|
1086
|
+
premium_stats: UInt64;
|
|
1087
|
+
bar: UInt64;
|
|
1088
|
+
threshold: UInt64;
|
|
1089
|
+
}
|
|
1090
|
+
class pool_view extends Struct {
|
|
1091
|
+
category: UInt8;
|
|
1092
|
+
tier: UInt8;
|
|
1093
|
+
grade: UInt8;
|
|
1094
|
+
item_id: UInt16;
|
|
1095
|
+
quantity: UInt64;
|
|
1096
|
+
stats: UInt64;
|
|
1097
|
+
bar: UInt64;
|
|
1098
|
+
}
|
|
1099
|
+
class pools_result extends Struct {
|
|
1100
|
+
pools: pool_view[];
|
|
1101
|
+
}
|
|
799
1102
|
class projected_state extends Struct {
|
|
800
1103
|
owner: Name;
|
|
801
1104
|
coordinates: coordinates;
|
|
@@ -906,6 +1209,27 @@ declare namespace Types {
|
|
|
906
1209
|
x: Int64;
|
|
907
1210
|
y: Int64;
|
|
908
1211
|
}
|
|
1212
|
+
class setinfburn extends Struct {
|
|
1213
|
+
bps: UInt16;
|
|
1214
|
+
}
|
|
1215
|
+
class setinfd1 extends Struct {
|
|
1216
|
+
d1: UInt32;
|
|
1217
|
+
}
|
|
1218
|
+
class setinfdemand extends Struct {
|
|
1219
|
+
peak: UInt64;
|
|
1220
|
+
base: UInt64;
|
|
1221
|
+
floor: UInt64;
|
|
1222
|
+
}
|
|
1223
|
+
class setinfmint extends Struct {
|
|
1224
|
+
category: UInt8;
|
|
1225
|
+
tier: UInt8;
|
|
1226
|
+
threshold: UInt64;
|
|
1227
|
+
}
|
|
1228
|
+
class setinfweight extends Struct {
|
|
1229
|
+
category: UInt8;
|
|
1230
|
+
tier: UInt8;
|
|
1231
|
+
weight_fp: UInt64;
|
|
1232
|
+
}
|
|
909
1233
|
class setnextid extends Struct {
|
|
910
1234
|
next_id: UInt64;
|
|
911
1235
|
}
|
|
@@ -998,12 +1322,37 @@ declare namespace Types {
|
|
|
998
1322
|
waypoints: route_waypoint[];
|
|
999
1323
|
recharge: boolean;
|
|
1000
1324
|
}
|
|
1325
|
+
class vote_option extends Struct {
|
|
1326
|
+
node_id: UInt32;
|
|
1327
|
+
cost: UInt64;
|
|
1328
|
+
total: UInt64;
|
|
1329
|
+
eligible: boolean;
|
|
1330
|
+
}
|
|
1331
|
+
class vote_result extends Struct {
|
|
1332
|
+
location_id: UInt64;
|
|
1333
|
+
epoch: UInt32;
|
|
1334
|
+
ballot_epoch: UInt32;
|
|
1335
|
+
chosen: UInt32;
|
|
1336
|
+
chosen_epoch: UInt32;
|
|
1337
|
+
effective: UInt32;
|
|
1338
|
+
options: vote_option[];
|
|
1339
|
+
}
|
|
1001
1340
|
class types_row extends Struct {
|
|
1002
1341
|
id: UInt64;
|
|
1003
1342
|
entity_summary_type: entity_summary;
|
|
1004
1343
|
game_config_type: game_config;
|
|
1005
1344
|
stratum_remaining_type: stratum_remaining;
|
|
1006
1345
|
nft_item_payload_type: nft_item_payload;
|
|
1346
|
+
decomp_result_type: decomp_result;
|
|
1347
|
+
demand_result_type: demand_result;
|
|
1348
|
+
infvalue_result_type: infvalue_result;
|
|
1349
|
+
influence_totals_type: influence_totals;
|
|
1350
|
+
pools_result_type: pools_result;
|
|
1351
|
+
pool_pair_result_type: pool_pair_result;
|
|
1352
|
+
mintcfg_result_type: mintcfg_result;
|
|
1353
|
+
charter_result_type: charter_result;
|
|
1354
|
+
vote_result_type: vote_result;
|
|
1355
|
+
depot_view_type: depot_view;
|
|
1007
1356
|
}
|
|
1008
1357
|
class undeploy extends Struct {
|
|
1009
1358
|
host_id: UInt64;
|
|
@@ -1014,6 +1363,20 @@ declare namespace Types {
|
|
|
1014
1363
|
to_id: UInt64;
|
|
1015
1364
|
items: cargo_item[];
|
|
1016
1365
|
}
|
|
1366
|
+
class upgjob_row extends Struct {
|
|
1367
|
+
id: UInt64;
|
|
1368
|
+
dock: UInt64;
|
|
1369
|
+
target: UInt64;
|
|
1370
|
+
owner: Name;
|
|
1371
|
+
coords: coordinates;
|
|
1372
|
+
starts_at: TimePoint;
|
|
1373
|
+
completes_at: TimePoint;
|
|
1374
|
+
target_item_id: UInt16;
|
|
1375
|
+
cargo: cargo_item[];
|
|
1376
|
+
}
|
|
1377
|
+
class upgjobs_result extends Struct {
|
|
1378
|
+
jobs: upgjob_row[];
|
|
1379
|
+
}
|
|
1017
1380
|
class upgrade extends Struct {
|
|
1018
1381
|
builder_id: UInt64;
|
|
1019
1382
|
target_id: UInt64;
|
|
@@ -1021,6 +1384,21 @@ declare namespace Types {
|
|
|
1021
1384
|
inputs: cargo_item[];
|
|
1022
1385
|
slot?: UInt8;
|
|
1023
1386
|
}
|
|
1387
|
+
class upgradejob extends Struct {
|
|
1388
|
+
target_id: UInt64;
|
|
1389
|
+
dock_id: UInt64;
|
|
1390
|
+
target_item_id: UInt16;
|
|
1391
|
+
inputs: cargo_item[];
|
|
1392
|
+
}
|
|
1393
|
+
class votecharter extends Struct {
|
|
1394
|
+
player: Name;
|
|
1395
|
+
x: Int64;
|
|
1396
|
+
y: Int64;
|
|
1397
|
+
node_id: UInt32;
|
|
1398
|
+
}
|
|
1399
|
+
class voteready extends Struct {
|
|
1400
|
+
max_ballots: UInt32;
|
|
1401
|
+
}
|
|
1024
1402
|
class warp extends Struct {
|
|
1025
1403
|
id: UInt64;
|
|
1026
1404
|
x: Int64;
|