@shipload/sdk 1.0.0-next.24 → 1.0.0-next.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/testing.d.ts CHANGED
@@ -80,6 +80,9 @@ declare namespace Types {
80
80
  id: UInt64;
81
81
  entity_id?: UInt64;
82
82
  }
83
+ class claim_row extends Struct {
84
+ owner: Name;
85
+ }
83
86
  class coordinates extends Struct {
84
87
  x: Int64;
85
88
  y: Int64;
@@ -90,6 +93,9 @@ declare namespace Types {
90
93
  target_item_id: UInt16;
91
94
  coords: coordinates;
92
95
  }
96
+ class claimstarter extends Struct {
97
+ owner: Name;
98
+ }
93
99
  class cleanrsvp extends Struct {
94
100
  epoch: UInt64;
95
101
  max_rows: UInt64;
@@ -137,7 +143,7 @@ declare namespace Types {
137
143
  }
138
144
  class crafter_stats extends Struct {
139
145
  speed: UInt16;
140
- drain: UInt16;
146
+ drain: UInt32;
141
147
  }
142
148
  class demolish extends Struct {
143
149
  entity_id: UInt64;
@@ -156,23 +162,23 @@ declare namespace Types {
156
162
  enabled: boolean;
157
163
  }
158
164
  class energy_stats extends Struct {
159
- capacity: UInt16;
160
- recharge: UInt16;
165
+ capacity: UInt32;
166
+ recharge: UInt32;
161
167
  }
162
168
  class entity_current_state extends Struct {
163
169
  coordinates: coordinates;
164
- energy: UInt16;
170
+ energy: UInt32;
165
171
  }
166
172
  class movement_stats extends Struct {
167
173
  thrust: UInt32;
168
- drain: UInt16;
174
+ drain: UInt32;
169
175
  }
170
176
  class warp_stats extends Struct {
171
177
  range: UInt32;
172
178
  }
173
179
  class gatherer_stats extends Struct {
174
180
  yield: UInt16;
175
- drain: UInt16;
181
+ drain: UInt32;
176
182
  depth: UInt16;
177
183
  }
178
184
  class loader_stats extends Struct {
@@ -183,7 +189,7 @@ declare namespace Types {
183
189
  class hauler_stats extends Struct {
184
190
  capacity: UInt8;
185
191
  efficiency: UInt16;
186
- drain: UInt16;
192
+ drain: UInt32;
187
193
  }
188
194
  class task extends Struct {
189
195
  type: UInt8;
@@ -193,7 +199,7 @@ declare namespace Types {
193
199
  cargo: cargo_item[];
194
200
  entitytarget?: entity_ref;
195
201
  entitygroup?: UInt64;
196
- energy_cost?: UInt16;
202
+ energy_cost?: UInt32;
197
203
  }
198
204
  class schedule extends Struct {
199
205
  started: TimePoint;
@@ -209,7 +215,7 @@ declare namespace Types {
209
215
  cargomass: UInt32;
210
216
  cargo: cargo_view[];
211
217
  modules: module_entry[];
212
- energy?: UInt16;
218
+ energy?: UInt32;
213
219
  hullmass?: UInt32;
214
220
  capacity?: UInt32;
215
221
  engines?: movement_stats;
@@ -246,7 +252,7 @@ declare namespace Types {
246
252
  name: string;
247
253
  stats: UInt64;
248
254
  coordinates: coordinates;
249
- energy?: UInt16;
255
+ energy?: UInt32;
250
256
  cargomass: UInt32;
251
257
  modules: module_entry[];
252
258
  schedule?: schedule;
@@ -299,6 +305,9 @@ declare namespace Types {
299
305
  stratum: UInt16;
300
306
  quantity: UInt32;
301
307
  }
308
+ class genesisfleet extends Struct {
309
+ entities: entity_row[];
310
+ }
302
311
  class getconfig extends Struct {
303
312
  }
304
313
  class getdeposit extends Struct {
@@ -521,7 +530,7 @@ declare namespace Types {
521
530
  can_travel: boolean;
522
531
  current: entity_current_state;
523
532
  projected: entity_current_state;
524
- max_energy: UInt16;
533
+ max_energy: UInt32;
525
534
  systems: nearby_system[];
526
535
  }
527
536
  class nft_cargo_item extends Struct {
@@ -569,7 +578,7 @@ declare namespace Types {
569
578
  task: task;
570
579
  starts_at: TimePoint;
571
580
  completes_at: TimePoint;
572
- new_energy?: UInt16;
581
+ new_energy?: UInt32;
573
582
  }
574
583
  class notify extends Struct {
575
584
  event: task_event;
@@ -601,7 +610,7 @@ declare namespace Types {
601
610
  class projected_state extends Struct {
602
611
  owner: Name;
603
612
  coordinates: coordinates;
604
- energy?: UInt16;
613
+ energy?: UInt32;
605
614
  cargomass: UInt32;
606
615
  cargo: cargo_view[];
607
616
  hullmass?: UInt32;
@@ -713,6 +722,11 @@ declare namespace Types {
713
722
  remaining: UInt32;
714
723
  last_block: BlockTimestamp;
715
724
  }
725
+ class swapmodule extends Struct {
726
+ entity_id: UInt64;
727
+ module_index: UInt8;
728
+ module_ref: cargo_ref;
729
+ }
716
730
  class task_results extends Struct {
717
731
  entities: entity_task_info[];
718
732
  }