@shipload/sdk 1.0.0-next.6 → 1.0.0-next.8
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 +105 -62
- package/lib/shipload.js +322 -182
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +316 -181
- package/lib/shipload.m.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/server.ts +71 -67
- package/src/data/catalog.ts +0 -5
- package/src/data/colors.ts +0 -16
- package/src/index-module.ts +11 -4
- package/src/managers/actions.ts +14 -20
- package/src/scheduling/predict-cargo.ts +151 -0
- package/src/travel/travel.ts +3 -1
- package/src/types/entity-traits.ts +38 -0
- package/src/types.ts +6 -0
- package/src/utils/cargo.ts +27 -0
- package/src/utils/system.ts +4 -16
package/lib/shipload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _wharfkit_antelope from '@wharfkit/antelope';
|
|
2
|
-
import { Blob, ABI, Struct, Name, UInt64, Checksum256, UInt32, TimePointSec, Checksum256Type, UInt32Type, NameType, UInt64Type, Action, UInt8, Int64,
|
|
2
|
+
import { Blob, ABI, Struct, Name, UInt64, Checksum256, UInt32, TimePointSec, Checksum256Type, UInt32Type, NameType, UInt64Type, Action, UInt16, UInt8, Int64, TimePoint, Bytes, Int32, UInt16Type, UInt8Type, Int64Type, TimePointType, Int32Type, Checksum512, APIClient } from '@wharfkit/antelope';
|
|
3
3
|
import * as _wharfkit_contract from '@wharfkit/contract';
|
|
4
4
|
import { Contract as Contract$2, PartialBy, ContractArgs, ActionOptions, Table } from '@wharfkit/contract';
|
|
5
5
|
import { ChainDefinition } from '@wharfkit/common';
|
|
@@ -158,12 +158,25 @@ declare namespace platform {
|
|
|
158
158
|
declare const abiBlob: Blob;
|
|
159
159
|
declare const abi: ABI;
|
|
160
160
|
declare namespace Types {
|
|
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_ref extends Struct {
|
|
170
|
+
item_id: UInt16;
|
|
171
|
+
stats: UInt64;
|
|
172
|
+
modules: module_entry[];
|
|
173
|
+
}
|
|
161
174
|
class addmodule extends Struct {
|
|
162
175
|
entity_type: Name;
|
|
163
176
|
entity_id: UInt64;
|
|
164
177
|
module_index: UInt8;
|
|
165
|
-
|
|
166
|
-
|
|
178
|
+
module_ref: cargo_ref;
|
|
179
|
+
target_ref?: cargo_ref;
|
|
167
180
|
}
|
|
168
181
|
class addnexus extends Struct {
|
|
169
182
|
nexus_name: string;
|
|
@@ -174,19 +187,11 @@ declare namespace Types {
|
|
|
174
187
|
reveal: string;
|
|
175
188
|
commit: Checksum256;
|
|
176
189
|
}
|
|
177
|
-
class packed_module extends Struct {
|
|
178
|
-
item_id: UInt16;
|
|
179
|
-
stats: UInt64;
|
|
180
|
-
}
|
|
181
|
-
class module_entry extends Struct {
|
|
182
|
-
type: UInt8;
|
|
183
|
-
installed?: packed_module;
|
|
184
|
-
}
|
|
185
190
|
class cargo_item extends Struct {
|
|
186
191
|
item_id: UInt16;
|
|
187
|
-
quantity: UInt32;
|
|
188
192
|
stats: UInt64;
|
|
189
193
|
modules: module_entry[];
|
|
194
|
+
quantity: UInt32;
|
|
190
195
|
}
|
|
191
196
|
class blend extends Struct {
|
|
192
197
|
entity_type: Name;
|
|
@@ -220,9 +225,9 @@ declare namespace Types {
|
|
|
220
225
|
}
|
|
221
226
|
class cargo_view extends Struct {
|
|
222
227
|
item_id: UInt16;
|
|
223
|
-
quantity: UInt32;
|
|
224
228
|
stats: UInt64;
|
|
225
229
|
modules: module_entry[];
|
|
230
|
+
quantity: UInt32;
|
|
226
231
|
id: UInt64;
|
|
227
232
|
}
|
|
228
233
|
class claimstarter extends Struct {
|
|
@@ -317,8 +322,7 @@ declare namespace Types {
|
|
|
317
322
|
class deploy extends Struct {
|
|
318
323
|
entity_type: Name;
|
|
319
324
|
id: UInt64;
|
|
320
|
-
|
|
321
|
-
stats: UInt64;
|
|
325
|
+
ref: cargo_ref;
|
|
322
326
|
}
|
|
323
327
|
class descentity extends Struct {
|
|
324
328
|
item_id: UInt16;
|
|
@@ -432,6 +436,10 @@ declare namespace Types {
|
|
|
432
436
|
}
|
|
433
437
|
class getconfig extends Struct {
|
|
434
438
|
}
|
|
439
|
+
class geteligible extends Struct {
|
|
440
|
+
coords: coordinates;
|
|
441
|
+
stratum: UInt16;
|
|
442
|
+
}
|
|
435
443
|
class getentities extends Struct {
|
|
436
444
|
owner: Name;
|
|
437
445
|
entity_type?: Name;
|
|
@@ -564,14 +572,8 @@ declare namespace Types {
|
|
|
564
572
|
seed0: UInt8;
|
|
565
573
|
seed1: UInt8;
|
|
566
574
|
}
|
|
567
|
-
class location_epoch extends Struct {
|
|
568
|
-
active: boolean;
|
|
569
|
-
seed0: UInt8;
|
|
570
|
-
seed1: UInt8;
|
|
571
|
-
}
|
|
572
575
|
class location_derived extends Struct {
|
|
573
576
|
static_props: location_static;
|
|
574
|
-
epoch_props: location_epoch;
|
|
575
577
|
size: UInt16;
|
|
576
578
|
}
|
|
577
579
|
class location_info extends Struct {
|
|
@@ -701,7 +703,7 @@ declare namespace Types {
|
|
|
701
703
|
entity_type: Name;
|
|
702
704
|
entity_id: UInt64;
|
|
703
705
|
module_index: UInt8;
|
|
704
|
-
|
|
706
|
+
target_ref?: cargo_ref;
|
|
705
707
|
}
|
|
706
708
|
class rmnftcfg extends Struct {
|
|
707
709
|
item_id: UInt16;
|
|
@@ -787,9 +789,7 @@ declare namespace Types {
|
|
|
787
789
|
source_id: UInt64;
|
|
788
790
|
dest_type: Name;
|
|
789
791
|
dest_id: UInt64;
|
|
790
|
-
|
|
791
|
-
stats: UInt64;
|
|
792
|
-
quantity: UInt32;
|
|
792
|
+
items: cargo_item[];
|
|
793
793
|
}
|
|
794
794
|
class travel extends Struct {
|
|
795
795
|
entity_type: Name;
|
|
@@ -838,8 +838,7 @@ declare namespace Types {
|
|
|
838
838
|
owner: Name;
|
|
839
839
|
entity_type: Name;
|
|
840
840
|
entity_id: UInt64;
|
|
841
|
-
|
|
842
|
-
quantity: UInt64;
|
|
841
|
+
items: cargo_item[];
|
|
843
842
|
}
|
|
844
843
|
class wrapentity extends Struct {
|
|
845
844
|
entity_type: Name;
|
|
@@ -880,9 +879,8 @@ type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any;
|
|
|
880
879
|
type TableNames = keyof TableTypes;
|
|
881
880
|
declare namespace ActionParams {
|
|
882
881
|
namespace Type {
|
|
883
|
-
interface
|
|
882
|
+
interface cargo_ref {
|
|
884
883
|
item_id: UInt16Type;
|
|
885
|
-
quantity: UInt32Type;
|
|
886
884
|
stats: UInt64Type;
|
|
887
885
|
modules: Type.module_entry[];
|
|
888
886
|
}
|
|
@@ -894,6 +892,12 @@ declare namespace ActionParams {
|
|
|
894
892
|
item_id: UInt16Type;
|
|
895
893
|
stats: UInt64Type;
|
|
896
894
|
}
|
|
895
|
+
interface cargo_item {
|
|
896
|
+
item_id: UInt16Type;
|
|
897
|
+
stats: UInt64Type;
|
|
898
|
+
modules: Type.module_entry[];
|
|
899
|
+
quantity: UInt32Type;
|
|
900
|
+
}
|
|
897
901
|
interface game_config {
|
|
898
902
|
version: UInt32Type;
|
|
899
903
|
defaults: Type.entity_defaults;
|
|
@@ -914,6 +918,11 @@ declare namespace ActionParams {
|
|
|
914
918
|
entity_type: NameType;
|
|
915
919
|
entity_id: UInt64Type;
|
|
916
920
|
}
|
|
921
|
+
interface coordinates {
|
|
922
|
+
x: Int64Type;
|
|
923
|
+
y: Int64Type;
|
|
924
|
+
z?: UInt16Type;
|
|
925
|
+
}
|
|
917
926
|
interface task_event {
|
|
918
927
|
event_type: UInt8Type;
|
|
919
928
|
owner: NameType;
|
|
@@ -935,18 +944,13 @@ declare namespace ActionParams {
|
|
|
935
944
|
entitygroup?: UInt64Type;
|
|
936
945
|
energy_cost?: UInt16Type;
|
|
937
946
|
}
|
|
938
|
-
interface coordinates {
|
|
939
|
-
x: Int64Type;
|
|
940
|
-
y: Int64Type;
|
|
941
|
-
z?: UInt16Type;
|
|
942
|
-
}
|
|
943
947
|
}
|
|
944
948
|
interface addmodule {
|
|
945
949
|
entity_type: NameType;
|
|
946
950
|
entity_id: UInt64Type;
|
|
947
951
|
module_index: UInt8Type;
|
|
948
|
-
|
|
949
|
-
|
|
952
|
+
module_ref: Type.cargo_ref;
|
|
953
|
+
target_ref?: Type.cargo_ref;
|
|
950
954
|
}
|
|
951
955
|
interface addnexus {
|
|
952
956
|
nexus_name: string;
|
|
@@ -1008,8 +1012,7 @@ declare namespace ActionParams {
|
|
|
1008
1012
|
interface deploy {
|
|
1009
1013
|
entity_type: NameType;
|
|
1010
1014
|
id: UInt64Type;
|
|
1011
|
-
|
|
1012
|
-
stats: UInt64Type;
|
|
1015
|
+
ref: Type.cargo_ref;
|
|
1013
1016
|
}
|
|
1014
1017
|
interface descentity {
|
|
1015
1018
|
item_id: UInt16Type;
|
|
@@ -1028,6 +1031,10 @@ declare namespace ActionParams {
|
|
|
1028
1031
|
}
|
|
1029
1032
|
interface getconfig {
|
|
1030
1033
|
}
|
|
1034
|
+
interface geteligible {
|
|
1035
|
+
coords: Type.coordinates;
|
|
1036
|
+
stratum: UInt16Type;
|
|
1037
|
+
}
|
|
1031
1038
|
interface getentities {
|
|
1032
1039
|
owner: NameType;
|
|
1033
1040
|
entity_type?: NameType;
|
|
@@ -1126,7 +1133,7 @@ declare namespace ActionParams {
|
|
|
1126
1133
|
entity_type: NameType;
|
|
1127
1134
|
entity_id: UInt64Type;
|
|
1128
1135
|
module_index: UInt8Type;
|
|
1129
|
-
|
|
1136
|
+
target_ref?: Type.cargo_ref;
|
|
1130
1137
|
}
|
|
1131
1138
|
interface rmnftcfg {
|
|
1132
1139
|
item_id: UInt16Type;
|
|
@@ -1161,9 +1168,7 @@ declare namespace ActionParams {
|
|
|
1161
1168
|
source_id: UInt64Type;
|
|
1162
1169
|
dest_type: NameType;
|
|
1163
1170
|
dest_id: UInt64Type;
|
|
1164
|
-
|
|
1165
|
-
stats: UInt64Type;
|
|
1166
|
-
quantity: UInt32Type;
|
|
1171
|
+
items: Type.cargo_item[];
|
|
1167
1172
|
}
|
|
1168
1173
|
interface travel {
|
|
1169
1174
|
entity_type: NameType;
|
|
@@ -1192,8 +1197,7 @@ declare namespace ActionParams {
|
|
|
1192
1197
|
owner: NameType;
|
|
1193
1198
|
entity_type: NameType;
|
|
1194
1199
|
entity_id: UInt64Type;
|
|
1195
|
-
|
|
1196
|
-
quantity: UInt64Type;
|
|
1200
|
+
items: Type.cargo_item[];
|
|
1197
1201
|
}
|
|
1198
1202
|
interface wrapentity {
|
|
1199
1203
|
entity_type: NameType;
|
|
@@ -1219,6 +1223,7 @@ interface ActionNameParams {
|
|
|
1219
1223
|
enable: ActionParams.enable;
|
|
1220
1224
|
gather: ActionParams.gather;
|
|
1221
1225
|
getconfig: ActionParams.getconfig;
|
|
1226
|
+
geteligible: ActionParams.geteligible;
|
|
1222
1227
|
getentities: ActionParams.getentities;
|
|
1223
1228
|
getentity: ActionParams.getentity;
|
|
1224
1229
|
getitemdata: ActionParams.getitemdata;
|
|
@@ -1273,6 +1278,7 @@ interface ActionReturnValues {
|
|
|
1273
1278
|
descentity: string;
|
|
1274
1279
|
gather: Types.task_results;
|
|
1275
1280
|
getconfig: Types.game_config;
|
|
1281
|
+
geteligible: UInt16[];
|
|
1276
1282
|
getentities: Types.entity_info[];
|
|
1277
1283
|
getentity: Types.entity_info;
|
|
1278
1284
|
getitemdata: Types.itemdata_result;
|
|
@@ -1444,6 +1450,7 @@ declare const TRAVEL_MAX_DURATION = 86400;
|
|
|
1444
1450
|
declare const MIN_ORBITAL_ALTITUDE = 800;
|
|
1445
1451
|
declare const MAX_ORBITAL_ALTITUDE = 3000;
|
|
1446
1452
|
declare const BASE_ORBITAL_MASS = 100000;
|
|
1453
|
+
declare const MIN_TRANSFER_DISTANCE = 100;
|
|
1447
1454
|
interface ShipLike {
|
|
1448
1455
|
coordinates: Types.coordinates;
|
|
1449
1456
|
hullmass?: UInt32;
|
|
@@ -1491,7 +1498,7 @@ declare const EntityType$1: {
|
|
|
1491
1498
|
readonly WAREHOUSE: Name;
|
|
1492
1499
|
readonly CONTAINER: Name;
|
|
1493
1500
|
};
|
|
1494
|
-
type EntityTypeName = (typeof EntityType$1)[keyof typeof EntityType$1];
|
|
1501
|
+
type EntityTypeName$1 = (typeof EntityType$1)[keyof typeof EntityType$1];
|
|
1495
1502
|
type CoordinatesType = Coordinates | Types.coordinates | {
|
|
1496
1503
|
x: Int64Type;
|
|
1497
1504
|
y: Int64Type;
|
|
@@ -1524,6 +1531,7 @@ interface Item {
|
|
|
1524
1531
|
moduleType?: ModuleType;
|
|
1525
1532
|
}
|
|
1526
1533
|
declare function formatTier(tier: number): string;
|
|
1534
|
+
declare function tierAdjective(tier: number): string;
|
|
1527
1535
|
|
|
1528
1536
|
declare const ITEM_ORE_T1 = 101;
|
|
1529
1537
|
declare const ITEM_ORE_T2 = 102;
|
|
@@ -1906,20 +1914,20 @@ type EntityRefInput = {
|
|
|
1906
1914
|
declare class ActionsManager extends BaseManager {
|
|
1907
1915
|
travel(shipId: UInt64Type, destination: CoordinatesType, recharge?: boolean): Action;
|
|
1908
1916
|
grouptravel(entities: EntityRefInput[], destination: CoordinatesType, recharge?: boolean): Action;
|
|
1909
|
-
resolve(entityId: UInt64Type, entityType?: EntityTypeName, count?: UInt64Type): Action;
|
|
1910
|
-
cancel(entityId: UInt64Type, count: UInt64Type, entityType?: EntityTypeName): Action;
|
|
1911
|
-
recharge(entityId: UInt64Type, entityType?: EntityTypeName): Action;
|
|
1912
|
-
transfer(sourceType: EntityTypeName, sourceId: UInt64Type, destType: EntityTypeName, destId: UInt64Type,
|
|
1917
|
+
resolve(entityId: UInt64Type, entityType?: EntityTypeName$1, count?: UInt64Type): Action;
|
|
1918
|
+
cancel(entityId: UInt64Type, count: UInt64Type, entityType?: EntityTypeName$1): Action;
|
|
1919
|
+
recharge(entityId: UInt64Type, entityType?: EntityTypeName$1): Action;
|
|
1920
|
+
transfer(sourceType: EntityTypeName$1, sourceId: UInt64Type, destType: EntityTypeName$1, destId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
1913
1921
|
foundCompany(account: NameType, name: string): Action;
|
|
1914
1922
|
join(account: NameType): Action;
|
|
1915
1923
|
gather(source: EntityRefInput, destination: EntityRefInput, stratum: UInt16Type, quantity: UInt32Type): Action;
|
|
1916
|
-
warp(entityId: UInt64Type, destination: CoordinatesType, entityType?: EntityTypeName): Action;
|
|
1917
|
-
craft(entityType: EntityTypeName, entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1918
|
-
blend(entityType: EntityTypeName, entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1919
|
-
deploy(entityType: EntityTypeName, entityId: UInt64Type,
|
|
1920
|
-
addmodule(entityType: EntityTypeName, entityId: UInt64Type, moduleIndex: number,
|
|
1921
|
-
rmmodule(entityType: EntityTypeName, entityId: UInt64Type, moduleIndex: number,
|
|
1922
|
-
wrap(owner: NameType, entityType: EntityTypeName, entityId: UInt64Type,
|
|
1924
|
+
warp(entityId: UInt64Type, destination: CoordinatesType, entityType?: EntityTypeName$1): Action;
|
|
1925
|
+
craft(entityType: EntityTypeName$1, entityId: UInt64Type, recipeId: number, quantity: number, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1926
|
+
blend(entityType: EntityTypeName$1, entityId: UInt64Type, inputs: ActionParams.Type.cargo_item[]): Action;
|
|
1927
|
+
deploy(entityType: EntityTypeName$1, entityId: UInt64Type, ref: ActionParams.Type.cargo_ref): Action;
|
|
1928
|
+
addmodule(entityType: EntityTypeName$1, entityId: UInt64Type, moduleIndex: number, moduleRef: ActionParams.Type.cargo_ref, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1929
|
+
rmmodule(entityType: EntityTypeName$1, entityId: UInt64Type, moduleIndex: number, targetRef?: ActionParams.Type.cargo_ref | null): Action;
|
|
1930
|
+
wrap(owner: NameType, entityType: EntityTypeName$1, entityId: UInt64Type, items: ActionParams.Type.cargo_item[]): Action;
|
|
1923
1931
|
undeploy(host: EntityRefInput, target: EntityRefInput): Action;
|
|
1924
1932
|
wrapEntity(entity: EntityRefInput): Action;
|
|
1925
1933
|
demolish(entity: EntityRefInput): Action;
|
|
@@ -2748,7 +2756,6 @@ declare function getEntityItems(opts?: {
|
|
|
2748
2756
|
declare function resolveItemCategory(id: number): ResourceCategory | undefined;
|
|
2749
2757
|
declare function typeLabel(type: ItemType | number): string;
|
|
2750
2758
|
declare function categoryLabel(cat: ResourceCategory): string;
|
|
2751
|
-
declare function tierLabel(tier: number): string;
|
|
2752
2759
|
declare function categoryFromIndex(i: number): ResourceCategory | undefined;
|
|
2753
2760
|
declare function categoryLabelFromIndex(i: number): string;
|
|
2754
2761
|
|
|
@@ -2758,8 +2765,8 @@ declare function getLocationTypeName(type: LocationType): string;
|
|
|
2758
2765
|
declare function getSystemName(gameSeed: Checksum256Type, location: CoordinatesType): string;
|
|
2759
2766
|
declare function hasSystem(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
2760
2767
|
declare function deriveLocationStatic(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_static;
|
|
2761
|
-
declare function
|
|
2762
|
-
declare function deriveLocation(gameSeed: Checksum256Type,
|
|
2768
|
+
declare function isLocationBuildable(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
2769
|
+
declare function deriveLocation(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_derived;
|
|
2763
2770
|
|
|
2764
2771
|
declare function hash(seed: Checksum256Type, string: string): Checksum256;
|
|
2765
2772
|
declare function hash512(seed: Checksum256Type, string: string): Checksum512;
|
|
@@ -2799,6 +2806,36 @@ declare namespace cargoUtils {
|
|
|
2799
2806
|
};
|
|
2800
2807
|
}
|
|
2801
2808
|
|
|
2809
|
+
declare function cargoRef(src: {
|
|
2810
|
+
item_id: number;
|
|
2811
|
+
stats: bigint | number;
|
|
2812
|
+
modules?: Types.module_entry[];
|
|
2813
|
+
}): ActionParams.Type.cargo_ref;
|
|
2814
|
+
declare function cargoItem(src: {
|
|
2815
|
+
item_id: number;
|
|
2816
|
+
stats: bigint | number;
|
|
2817
|
+
modules?: Types.module_entry[];
|
|
2818
|
+
}, quantity: bigint | number): ActionParams.Type.cargo_item;
|
|
2819
|
+
|
|
2820
|
+
type PredictedCargoTarget = {
|
|
2821
|
+
kind: 'existing';
|
|
2822
|
+
rowId: bigint;
|
|
2823
|
+
} | {
|
|
2824
|
+
kind: 'new';
|
|
2825
|
+
label: string;
|
|
2826
|
+
};
|
|
2827
|
+
interface PredictedCargoAddition {
|
|
2828
|
+
item_id: number;
|
|
2829
|
+
stats: bigint;
|
|
2830
|
+
modules: Types.module_entry[];
|
|
2831
|
+
quantity: number;
|
|
2832
|
+
target: PredictedCargoTarget;
|
|
2833
|
+
}
|
|
2834
|
+
interface TaskCargoEffect {
|
|
2835
|
+
additions: PredictedCargoAddition[];
|
|
2836
|
+
}
|
|
2837
|
+
declare function predictTaskCargoEffects(cargo: readonly Types.cargo_view[], tasks: readonly Types.task[]): TaskCargoEffect[];
|
|
2838
|
+
|
|
2802
2839
|
interface Entity {
|
|
2803
2840
|
id: UInt64;
|
|
2804
2841
|
type: Name;
|
|
@@ -2813,6 +2850,14 @@ type WarehouseEntity = Entity & StorageCapability & Partial<LoaderCapability> &
|
|
|
2813
2850
|
type ContainerEntity = Entity & StorageCapability & MassCapability & ScheduleCapability;
|
|
2814
2851
|
type AnyEntity = ShipEntity | WarehouseEntity | ContainerEntity;
|
|
2815
2852
|
|
|
2853
|
+
declare enum EntityClass {
|
|
2854
|
+
OrbitalVessel = 0,
|
|
2855
|
+
PlanetaryStructure = 1
|
|
2856
|
+
}
|
|
2857
|
+
declare function getEntityClass(entityType: Name | EntityTypeName): EntityClass;
|
|
2858
|
+
declare function getPackedEntityType(itemId: number): Name | null;
|
|
2859
|
+
type EntityTypeName = 'ship' | 'warehouse' | 'container';
|
|
2860
|
+
|
|
2816
2861
|
declare function canMove(e: Entity): e is Entity & MovementCapability & EnergyCapability;
|
|
2817
2862
|
declare function hasEnergy(e: Entity): e is Entity & EnergyCapability;
|
|
2818
2863
|
declare function hasStorage(e: Entity): e is Entity & StorageCapability;
|
|
@@ -2866,7 +2911,6 @@ declare function computeHaulerDrain$1(distance: number, drain: number, haulCount
|
|
|
2866
2911
|
|
|
2867
2912
|
declare const categoryColors: Record<ResourceCategory, string>;
|
|
2868
2913
|
declare const tierColors: Record<number, string>;
|
|
2869
|
-
declare const tierLabels: Record<number, string>;
|
|
2870
2914
|
declare const categoryIcons: Record<ResourceCategory, string>;
|
|
2871
2915
|
type CategoryIconShape = 'hex' | 'diamond' | 'star' | 'circle' | 'square';
|
|
2872
2916
|
declare const categoryIconShapes: Record<ResourceCategory, CategoryIconShape>;
|
|
@@ -3279,8 +3323,7 @@ type warehouse_row = Types.warehouse_row;
|
|
|
3279
3323
|
type container_row = Types.container_row;
|
|
3280
3324
|
type gatherer_stats = Types.gatherer_stats;
|
|
3281
3325
|
type location_static = Types.location_static;
|
|
3282
|
-
type location_epoch = Types.location_epoch;
|
|
3283
3326
|
type location_derived = Types.location_derived;
|
|
3284
3327
|
type location_row = Types.location_row;
|
|
3285
3328
|
|
|
3286
|
-
export { AckMessage, ActionsManager, AnyEntity, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ConnectionState, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DerivedStratum, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_NO_CRAFTER, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_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_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_FOCUSING_ARRAY, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, 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_POWER_CELL, ITEM_REACTION_CHAMBER, 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_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_SURVEY_PROBE, ITEM_THRUSTER_CORE, ITEM_TOOL_BIT, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, InventoryAccessor, Item, ItemType, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MODULE_ANY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, OwnerSubscriptionHandle, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildEntityDescription, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItemToStack, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain$1 as computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, computeWarpRange, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationEpoch, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, estimateDealTravelTime, estimateTravelTime, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatMass, formatMassDelta, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isModuleItem, isRelatedItem, isSubscriptionsDebugEnabled, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_epoch, location_row, location_static, makeContainer, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, tierColors, tierLabel, tierLabels, toLocation, typeLabel, validateSchedule, warehouse_row };
|
|
3329
|
+
export { AckMessage, ActionsManager, AnyEntity, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, CANCEL_CONTAINS_GROUPED_TASK, CANCEL_PAIRED_HAS_PENDING, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, CONTAINER_CAPACITY_EXCEEDED, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryIconShape, CategoryInfo, CategoryStacks, ClientMessage, ConnectionState, Container, ContainerEntity, ContainerStateInput, Coordinates, CoordinatesType, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DerivedStratum, DescribeOptions, Distance, ENTITY_CAPACITY_EXCEEDED, ENTITY_NO_CRAFTER, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EnergyCapability, EntitiesManager, Entity, EntityCapabilities, EntityClass, EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntitySubscriptionHandle, EntityType, EntityTypeName$1 as EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, FloatPosition, GAME_NOT_FOUND, GAME_SEED_NOT_SET, GATHERER_DEPTH_MAX_TIER, GATHERER_DEPTH_TABLE, GATHER_EXCEEDS_ENERGY_CAPACITY, GATHER_NOT_ENOUGH_ENERGY, GROUP_DUPLICATE_ENTITY, GROUP_EMPTY, GROUP_ENTITY_NOT_MOVABLE, GROUP_HAUL_CAPACITY_EXCEEDED, GROUP_NOT_FOUND, GROUP_NOT_SAME_LOCATION, GROUP_NOT_SAME_OWNER, GROUP_NO_THRUST, GameState, GathererCapability, GathererDepthParams, HasCapacity, HasCargo, HasCargomass, HasScheduleAndLocation, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_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_CARGO_ARM, ITEM_CARGO_LINING, ITEM_CARGO_LINING_T2, ITEM_CONTAINER_T1_PACKED, ITEM_CONTAINER_T2_PACKED, ITEM_CRAFTER_T1, ITEM_CRYSTAL_T1, ITEM_CRYSTAL_T10, ITEM_CRYSTAL_T2, ITEM_CRYSTAL_T3, ITEM_CRYSTAL_T4, ITEM_CRYSTAL_T5, ITEM_CRYSTAL_T6, ITEM_CRYSTAL_T7, ITEM_CRYSTAL_T8, ITEM_CRYSTAL_T9, ITEM_DOES_NOT_EXIST, ITEM_ENGINE_T1, ITEM_FOCUSING_ARRAY, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_HULL_PLATES, ITEM_HULL_PLATES_T2, ITEM_LOADER_T1, ITEM_MATTER_CONDUIT, 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_POWER_CELL, ITEM_REACTION_CHAMBER, 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_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_SURVEY_PROBE, ITEM_THRUSTER_CORE, ITEM_TOOL_BIT, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, InventoryAccessor, Item, ItemType, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE, MODULE_ANY, MODULE_CARGO_NOT_FOUND, MODULE_CRAFTER, MODULE_ENGINE, MODULE_ENTITY_BUSY, MODULE_GATHERER, MODULE_GENERATOR, MODULE_HAULER, MODULE_LAUNCHER, MODULE_LOADER, MODULE_NOT_MODULE, MODULE_SLOT_EMPTY, MODULE_SLOT_INVALID, MODULE_SLOT_OCCUPIED, MODULE_STORAGE, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, OwnerSubscriptionHandle, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, PredictedCargoAddition, PredictedCargoTarget, Projectable, ProjectableSnapshot, ProjectedEntity, ProjectionOptions, RECIPE_INPUTS_EXCESS, RECIPE_INPUTS_INSUFFICIENT, RECIPE_INPUTS_INVALID, RECIPE_INPUTS_MIXED, RECIPE_NOT_FOUND, REQUIRES_MORE_THAN_ONE, REQUIRES_POSITIVE_VALUE, RESERVE_TIERS, RESOLVE_COUNT_EXCEEDS_COMPLETED, Recipe, RecipeInput, RecipeInputCategory, RecipeInputItemId, RecipeSlotInput, RenderDescriptionOptions, ReserveTier, ResolvedAttributeGroup, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIP_ALREADY_THERE, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_CAPACITY_EXCEEDED, SHIP_CARGO_NOT_LOADED, SHIP_CARGO_NOT_OWNED, SHIP_INVALID_CARGO, SHIP_INVALID_DESTINATION, SHIP_INVALID_TRAVEL_DURATION, SHIP_NOT_ARRIVED, SHIP_NOT_ENOUGH_ENERGY, SHIP_NOT_ENOUGH_ENERGY_CAPACITY, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STARTER_ALREADY_CLAIMED, ScheduleAccessor, ScheduleCapability, ScheduleData, Scheduleable, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipCapabilities, ShipEntity, ShipLike, ShipStateInput, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ADJECTIVES, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoEffect, TaskType, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_CAPACITY_EXCEEDED, WAREHOUSE_NOT_FOUND, WAREHOUSE_Z, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WarehouseStateInput, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, availableCapacity$1 as availableCapacity, availableCapacityFromMass, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildEntityDescription, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcLoadDuration, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_loader_acceleration, calc_loader_flighttime, calc_orbital_altitude, calc_rechargetime, calc_ship_acceleration, calc_ship_flighttime, calc_ship_mass, calc_ship_rechargetime, calc_transfer_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryIconShapes, categoryIcons, categoryLabel, categoryLabelFromIndex, componentIcon, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererSpeed, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerDrain$1 as computeHaulerDrain, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeShipCapabilities, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseCapabilities, computeWarehouseHullCapabilities, computeWarpRange, container_row, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyPercent, energy_stats, entityDisplayName, estimateDealTravelTime, estimateTravelTime, findItemByCategoryAndTier, findNearbyPlanets, flightSpeedFactor, formatMass, formatMassDelta, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isCraftedItem, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isRelatedItem, isSubscriptionsDebugEnabled, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, lerp, loader_stats, location_derived, location_row, location_static, makeContainer, makeShip, makeWarehouse, mapEntity, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, parseWireEntity, predictTaskCargoEffects, projectEntity, projectEntityAt, projectFromCurrentState, projectFromCurrentStateAt, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, task, tierAdjective, tierColors, toLocation, typeLabel, validateSchedule, warehouse_row };
|