@shipload/sdk 1.0.0-next.33 → 1.0.0-next.35
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 +271 -33
- package/lib/shipload.js +862 -134
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +843 -135
- package/lib/shipload.m.js.map +1 -1
- package/lib/testing.d.ts +42 -0
- package/lib/testing.js +128 -1
- package/lib/testing.js.map +1 -1
- package/lib/testing.m.js +128 -1
- package/lib/testing.m.js.map +1 -1
- package/package.json +1 -1
- package/src/contracts/server.ts +120 -1
- package/src/coordinates/address.ts +84 -0
- package/src/coordinates/constants.ts +21 -0
- package/src/coordinates/index.ts +4 -0
- package/src/coordinates/permutation.ts +77 -0
- package/src/coordinates/regions.ts +48 -0
- package/src/coordinates/sectors.ts +115 -0
- package/src/derivation/wormhole.ts +115 -0
- package/src/errors.ts +2 -0
- package/src/index-module.ts +23 -0
- package/src/managers/actions.ts +51 -2
- package/src/managers/construction-types.ts +1 -0
- package/src/managers/construction.ts +2 -1
- package/src/scheduling/availability.ts +1 -1
- package/src/scheduling/cancel.test.ts +327 -0
- package/src/scheduling/cancel.ts +209 -0
- package/src/scheduling/idle-resolve.ts +5 -4
- package/src/scheduling/projection.ts +2 -0
- package/src/scheduling/schedule.ts +3 -1
- package/src/subscriptions/manager.ts +220 -167
- package/src/subscriptions/types.ts +10 -3
- package/src/travel/travel.ts +14 -4
- package/src/types.ts +1 -0
- package/src/utils/system.ts +11 -0
package/lib/shipload.d.ts
CHANGED
|
@@ -635,6 +635,12 @@ declare namespace Types {
|
|
|
635
635
|
owner: Name;
|
|
636
636
|
asset_id: UInt64;
|
|
637
637
|
}
|
|
638
|
+
class getdistance extends Struct {
|
|
639
|
+
ax: Int64;
|
|
640
|
+
ay: Int64;
|
|
641
|
+
bx: Int64;
|
|
642
|
+
by: Int64;
|
|
643
|
+
}
|
|
638
644
|
class geteligible extends Struct {
|
|
639
645
|
coords: coordinates;
|
|
640
646
|
stratum: UInt16;
|
|
@@ -714,6 +720,17 @@ declare namespace Types {
|
|
|
714
720
|
owner: Name;
|
|
715
721
|
entity_type?: Name;
|
|
716
722
|
}
|
|
723
|
+
class getwormhole extends Struct {
|
|
724
|
+
x: Int64;
|
|
725
|
+
y: Int64;
|
|
726
|
+
}
|
|
727
|
+
class grouptransit extends Struct {
|
|
728
|
+
entities: entity_ref[];
|
|
729
|
+
ax: Int64;
|
|
730
|
+
ay: Int64;
|
|
731
|
+
bx: Int64;
|
|
732
|
+
by: Int64;
|
|
733
|
+
}
|
|
717
734
|
class grouptravel extends Struct {
|
|
718
735
|
entities: entity_ref[];
|
|
719
736
|
x: Int64;
|
|
@@ -836,6 +853,7 @@ declare namespace Types {
|
|
|
836
853
|
class location_info extends Struct {
|
|
837
854
|
coords: coordinates;
|
|
838
855
|
is_system: boolean;
|
|
856
|
+
is_wormhole: boolean;
|
|
839
857
|
}
|
|
840
858
|
class module_info extends Struct {
|
|
841
859
|
id: UInt16;
|
|
@@ -975,6 +993,13 @@ declare namespace Types {
|
|
|
975
993
|
entitygroup?: UInt64;
|
|
976
994
|
group_members?: entity_ref[];
|
|
977
995
|
}
|
|
996
|
+
class resolveall extends Struct {
|
|
997
|
+
owner: Name;
|
|
998
|
+
}
|
|
999
|
+
class resolveall_results extends Struct {
|
|
1000
|
+
scanned: UInt32;
|
|
1001
|
+
resolved: UInt32;
|
|
1002
|
+
}
|
|
978
1003
|
class resource_info extends Struct {
|
|
979
1004
|
id: UInt16;
|
|
980
1005
|
mass: UInt32;
|
|
@@ -1008,6 +1033,11 @@ declare namespace Types {
|
|
|
1008
1033
|
class rmnftcfg extends Struct {
|
|
1009
1034
|
item_id: UInt16;
|
|
1010
1035
|
}
|
|
1036
|
+
class setcoords extends Struct {
|
|
1037
|
+
entity_id: UInt64;
|
|
1038
|
+
x: Int64;
|
|
1039
|
+
y: Int64;
|
|
1040
|
+
}
|
|
1011
1041
|
class setnftcfg extends Struct {
|
|
1012
1042
|
item_id: UInt16;
|
|
1013
1043
|
template_id: Int32;
|
|
@@ -1061,6 +1091,13 @@ declare namespace Types {
|
|
|
1061
1091
|
class task_results extends Struct {
|
|
1062
1092
|
entities: entity_task_info[];
|
|
1063
1093
|
}
|
|
1094
|
+
class transit extends Struct {
|
|
1095
|
+
id: UInt64;
|
|
1096
|
+
ax: Int64;
|
|
1097
|
+
ay: Int64;
|
|
1098
|
+
bx: Int64;
|
|
1099
|
+
by: Int64;
|
|
1100
|
+
}
|
|
1064
1101
|
class travel extends Struct {
|
|
1065
1102
|
id: UInt64;
|
|
1066
1103
|
x: Int64;
|
|
@@ -1090,6 +1127,11 @@ declare namespace Types {
|
|
|
1090
1127
|
}
|
|
1091
1128
|
class wipe extends Struct {
|
|
1092
1129
|
}
|
|
1130
|
+
class wormhole_info extends Struct {
|
|
1131
|
+
coords: coordinates;
|
|
1132
|
+
is_wormhole: boolean;
|
|
1133
|
+
destination: coordinates;
|
|
1134
|
+
}
|
|
1093
1135
|
class wrapconfig_row extends Struct {
|
|
1094
1136
|
fee_pct: UInt16;
|
|
1095
1137
|
fee_account: Name;
|
|
@@ -1362,6 +1404,12 @@ declare namespace ActionParams {
|
|
|
1362
1404
|
owner: NameType;
|
|
1363
1405
|
asset_id: UInt64Type;
|
|
1364
1406
|
}
|
|
1407
|
+
interface getdistance {
|
|
1408
|
+
ax: Int64Type;
|
|
1409
|
+
ay: Int64Type;
|
|
1410
|
+
bx: Int64Type;
|
|
1411
|
+
by: Int64Type;
|
|
1412
|
+
}
|
|
1365
1413
|
interface geteligible {
|
|
1366
1414
|
coords: Type.coordinates;
|
|
1367
1415
|
stratum: UInt16Type;
|
|
@@ -1441,6 +1489,17 @@ declare namespace ActionParams {
|
|
|
1441
1489
|
owner: NameType;
|
|
1442
1490
|
entity_type?: NameType;
|
|
1443
1491
|
}
|
|
1492
|
+
interface getwormhole {
|
|
1493
|
+
x: Int64Type;
|
|
1494
|
+
y: Int64Type;
|
|
1495
|
+
}
|
|
1496
|
+
interface grouptransit {
|
|
1497
|
+
entities: Type.entity_ref[];
|
|
1498
|
+
ax: Int64Type;
|
|
1499
|
+
ay: Int64Type;
|
|
1500
|
+
bx: Int64Type;
|
|
1501
|
+
by: Int64Type;
|
|
1502
|
+
}
|
|
1444
1503
|
interface grouptravel {
|
|
1445
1504
|
entities: Type.entity_ref[];
|
|
1446
1505
|
x: Int64Type;
|
|
@@ -1514,6 +1573,9 @@ declare namespace ActionParams {
|
|
|
1514
1573
|
id: UInt64Type;
|
|
1515
1574
|
count?: UInt64Type;
|
|
1516
1575
|
}
|
|
1576
|
+
interface resolveall {
|
|
1577
|
+
owner: NameType;
|
|
1578
|
+
}
|
|
1517
1579
|
interface reveal {
|
|
1518
1580
|
oracle_id: NameType;
|
|
1519
1581
|
epoch: UInt64Type;
|
|
@@ -1527,6 +1589,11 @@ declare namespace ActionParams {
|
|
|
1527
1589
|
interface rmnftcfg {
|
|
1528
1590
|
item_id: UInt16Type;
|
|
1529
1591
|
}
|
|
1592
|
+
interface setcoords {
|
|
1593
|
+
entity_id: UInt64Type;
|
|
1594
|
+
x: Int64Type;
|
|
1595
|
+
y: Int64Type;
|
|
1596
|
+
}
|
|
1530
1597
|
interface setnftcfg {
|
|
1531
1598
|
item_id: UInt16Type;
|
|
1532
1599
|
template_id: Int32Type;
|
|
@@ -1561,6 +1628,13 @@ declare namespace ActionParams {
|
|
|
1561
1628
|
module_index: UInt8Type;
|
|
1562
1629
|
module_ref: Type.cargo_ref;
|
|
1563
1630
|
}
|
|
1631
|
+
interface transit {
|
|
1632
|
+
id: UInt64Type;
|
|
1633
|
+
ax: Int64Type;
|
|
1634
|
+
ay: Int64Type;
|
|
1635
|
+
bx: Int64Type;
|
|
1636
|
+
by: Int64Type;
|
|
1637
|
+
}
|
|
1564
1638
|
interface travel {
|
|
1565
1639
|
id: UInt64Type;
|
|
1566
1640
|
x: Int64Type;
|
|
@@ -1608,6 +1682,7 @@ interface ActionNameParams {
|
|
|
1608
1682
|
genesisfleet: ActionParams.genesisfleet;
|
|
1609
1683
|
getconfig: ActionParams.getconfig;
|
|
1610
1684
|
getdeposit: ActionParams.getdeposit;
|
|
1685
|
+
getdistance: ActionParams.getdistance;
|
|
1611
1686
|
geteligible: ActionParams.geteligible;
|
|
1612
1687
|
getentcls: ActionParams.getentcls;
|
|
1613
1688
|
getentities: ActionParams.getentities;
|
|
@@ -1635,6 +1710,8 @@ interface ActionNameParams {
|
|
|
1635
1710
|
getslots: ActionParams.getslots;
|
|
1636
1711
|
getstratum: ActionParams.getstratum;
|
|
1637
1712
|
getsummaries: ActionParams.getsummaries;
|
|
1713
|
+
getwormhole: ActionParams.getwormhole;
|
|
1714
|
+
grouptransit: ActionParams.grouptransit;
|
|
1638
1715
|
grouptravel: ActionParams.grouptravel;
|
|
1639
1716
|
hash: ActionParams.hash;
|
|
1640
1717
|
hash512: ActionParams.hash512;
|
|
@@ -1655,9 +1732,11 @@ interface ActionNameParams {
|
|
|
1655
1732
|
removeoracle: ActionParams.removeoracle;
|
|
1656
1733
|
rename: ActionParams.rename;
|
|
1657
1734
|
resolve: ActionParams.resolve;
|
|
1735
|
+
resolveall: ActionParams.resolveall;
|
|
1658
1736
|
reveal: ActionParams.reveal;
|
|
1659
1737
|
rmmodule: ActionParams.rmmodule;
|
|
1660
1738
|
rmnftcfg: ActionParams.rmnftcfg;
|
|
1739
|
+
setcoords: ActionParams.setcoords;
|
|
1661
1740
|
setnftcfg: ActionParams.setnftcfg;
|
|
1662
1741
|
setthreshold: ActionParams.setthreshold;
|
|
1663
1742
|
setwrapcost: ActionParams.setwrapcost;
|
|
@@ -1665,6 +1744,7 @@ interface ActionNameParams {
|
|
|
1665
1744
|
stowcargo: ActionParams.stowcargo;
|
|
1666
1745
|
stowentity: ActionParams.stowentity;
|
|
1667
1746
|
swapmodule: ActionParams.swapmodule;
|
|
1747
|
+
transit: ActionParams.transit;
|
|
1668
1748
|
travel: ActionParams.travel;
|
|
1669
1749
|
undeploy: ActionParams.undeploy;
|
|
1670
1750
|
unload: ActionParams.unload;
|
|
@@ -1683,6 +1763,7 @@ interface ActionReturnValues {
|
|
|
1683
1763
|
gather: Types.task_results;
|
|
1684
1764
|
getconfig: Types.game_config;
|
|
1685
1765
|
getdeposit: ExtendedAsset;
|
|
1766
|
+
getdistance: UInt64;
|
|
1686
1767
|
geteligible: UInt16[];
|
|
1687
1768
|
getentcls: Types.enum_result;
|
|
1688
1769
|
getentities: Types.entity_info[];
|
|
@@ -1710,6 +1791,8 @@ interface ActionReturnValues {
|
|
|
1710
1791
|
getslots: Types.entity_layouts_result;
|
|
1711
1792
|
getstratum: Types.stratum_data;
|
|
1712
1793
|
getsummaries: Types.entity_summary[];
|
|
1794
|
+
getwormhole: Types.wormhole_info;
|
|
1795
|
+
grouptransit: Types.task_results;
|
|
1713
1796
|
grouptravel: Types.task_results;
|
|
1714
1797
|
hash: Checksum256;
|
|
1715
1798
|
hash512: Checksum512;
|
|
@@ -1719,8 +1802,10 @@ interface ActionReturnValues {
|
|
|
1719
1802
|
placeentity: Types.task_results;
|
|
1720
1803
|
recharge: Types.task_results;
|
|
1721
1804
|
resolve: Types.resolve_results;
|
|
1805
|
+
resolveall: Types.resolveall_results;
|
|
1722
1806
|
stowcargo: Types.task_results;
|
|
1723
1807
|
stowentity: Types.task_results;
|
|
1808
|
+
transit: Types.task_results;
|
|
1724
1809
|
travel: Types.task_results;
|
|
1725
1810
|
undeploy: Types.task_results;
|
|
1726
1811
|
unload: Types.task_results;
|
|
@@ -1818,6 +1903,8 @@ declare const GROUP_NOT_FOUND = "Entity group not found.";
|
|
|
1818
1903
|
declare const GROUP_DUPLICATE_ENTITY = "Duplicate entity in group.";
|
|
1819
1904
|
declare const GROUP_HAUL_CAPACITY_EXCEEDED = "Group travel requires sufficient hauler capacity for all non-self-propelled entities.";
|
|
1820
1905
|
declare const CANCEL_CONTAINS_GROUPED_TASK = "Cannot cancel range containing grouped task - cancel non-grouped tasks first.";
|
|
1906
|
+
declare const WOULD_STRAND = "Cancelling this would leave a later task without the cargo it needs.";
|
|
1907
|
+
declare const WOULD_OVERFILL = "Cancelling this would overfill the other entity with returned cargo.";
|
|
1821
1908
|
declare const WARP_NO_CAPABILITY = "Entity does not have warp capability.";
|
|
1822
1909
|
declare const WARP_HAS_SCHEDULE = "Entity must be idle to warp.";
|
|
1823
1910
|
declare const WARP_HAS_CARGO = "Entity must have no cargo to warp.";
|
|
@@ -1885,6 +1972,7 @@ declare enum TaskType {
|
|
|
1885
1972
|
WARP = 6,
|
|
1886
1973
|
CRAFT = 7,
|
|
1887
1974
|
DEPLOY = 8,
|
|
1975
|
+
TRANSIT = 9,
|
|
1888
1976
|
UNWRAP = 10,
|
|
1889
1977
|
UNDEPLOY = 11,
|
|
1890
1978
|
DEMOLISH = 13,
|
|
@@ -2733,8 +2821,14 @@ type EntityRefInput = {
|
|
|
2733
2821
|
};
|
|
2734
2822
|
declare class ActionsManager extends BaseManager {
|
|
2735
2823
|
travel(shipId: UInt64Type, destination: CoordinatesType, recharge?: boolean): Action;
|
|
2824
|
+
private entityRefs;
|
|
2736
2825
|
grouptravel(entities: EntityRefInput[], destination: CoordinatesType, recharge?: boolean): Action;
|
|
2826
|
+
transit(shipId: UInt64Type, entrance: CoordinatesType, exit: CoordinatesType): Action;
|
|
2827
|
+
grouptransit(entities: EntityRefInput[], entrance: CoordinatesType, exit: CoordinatesType): Action;
|
|
2828
|
+
getwormhole(x: Int64Type, y: Int64Type): Action;
|
|
2829
|
+
getdistance(origin: CoordinatesType, destination: CoordinatesType): Action;
|
|
2737
2830
|
resolve(entityId: UInt64Type, count?: UInt64Type): Action;
|
|
2831
|
+
resolveall(owner: NameType): Action;
|
|
2738
2832
|
cancel(entityId: UInt64Type, laneKey: number, count: UInt64Type): Action;
|
|
2739
2833
|
recharge(entityId: UInt64Type): Action;
|
|
2740
2834
|
rename(entityId: UInt64Type, name: string): Action;
|
|
@@ -2797,7 +2891,7 @@ declare class NftManager extends BaseManager {
|
|
|
2797
2891
|
getWrapDeposit(itemType: number, tier: number): Promise<WrapDeposit | null>;
|
|
2798
2892
|
}
|
|
2799
2893
|
|
|
2800
|
-
type EntityInfo$
|
|
2894
|
+
type EntityInfo$2 = Types.entity_info;
|
|
2801
2895
|
interface BoundingBox {
|
|
2802
2896
|
min_x: number;
|
|
2803
2897
|
min_y: number;
|
|
@@ -2828,7 +2922,6 @@ type UnsubscribeMessage = {
|
|
|
2828
2922
|
type SubscribeEntityMessage = {
|
|
2829
2923
|
type: 'subscribe_entity';
|
|
2830
2924
|
sub_id: string;
|
|
2831
|
-
entity_type: 'ship' | 'warehouse' | 'container' | 'nexus';
|
|
2832
2925
|
entity_id: string;
|
|
2833
2926
|
};
|
|
2834
2927
|
type UnsubscribeEntityMessage = {
|
|
@@ -2853,8 +2946,8 @@ type AckMessage = {
|
|
|
2853
2946
|
sub_id: string;
|
|
2854
2947
|
};
|
|
2855
2948
|
type WireEntity = Record<string, unknown> & {
|
|
2856
|
-
type: number;
|
|
2857
|
-
type_name
|
|
2949
|
+
type: number | string;
|
|
2950
|
+
type_name?: string;
|
|
2858
2951
|
id: string | number;
|
|
2859
2952
|
owner: string;
|
|
2860
2953
|
coordinates: WireCoordinates;
|
|
@@ -2882,6 +2975,12 @@ type BoundsDeltaMessage = {
|
|
|
2882
2975
|
seq: number;
|
|
2883
2976
|
truncated?: boolean;
|
|
2884
2977
|
};
|
|
2978
|
+
type EntityDeletedMessage = {
|
|
2979
|
+
type: 'entity_deleted';
|
|
2980
|
+
sub_id: string;
|
|
2981
|
+
entity_id: number;
|
|
2982
|
+
seq: number;
|
|
2983
|
+
};
|
|
2885
2984
|
type EventMessage = {
|
|
2886
2985
|
type: 'event';
|
|
2887
2986
|
sub_id: string;
|
|
@@ -2901,7 +3000,7 @@ type ErrorMessage = {
|
|
|
2901
3000
|
error: string;
|
|
2902
3001
|
sub_id?: string;
|
|
2903
3002
|
};
|
|
2904
|
-
type ServerMessage = AckMessage | SnapshotMessage | UpdateMessage | BoundsDeltaMessage | EventMessage | EventCatchupCompleteMessage | PongMessage | ErrorMessage;
|
|
3003
|
+
type ServerMessage = AckMessage | SnapshotMessage | UpdateMessage | BoundsDeltaMessage | EntityDeletedMessage | EventMessage | EventCatchupCompleteMessage | PongMessage | ErrorMessage;
|
|
2905
3004
|
|
|
2906
3005
|
type SubscriptionEntityType = 'ship' | 'warehouse' | 'container' | 'nexus';
|
|
2907
3006
|
type EntityInstance = Entity$1;
|
|
@@ -2911,48 +3010,76 @@ interface SubscriptionsOptions {
|
|
|
2911
3010
|
pingIntervalMs?: number;
|
|
2912
3011
|
pongTimeoutMs?: number;
|
|
2913
3012
|
}
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
3013
|
+
type ExactEntitySubscriptionFilter = {
|
|
3014
|
+
id: string | number;
|
|
3015
|
+
owner?: never;
|
|
3016
|
+
bounds?: never;
|
|
3017
|
+
prioritizeOwner?: never;
|
|
3018
|
+
};
|
|
3019
|
+
type BroadEntitySubscriptionFilter = {
|
|
3020
|
+
id?: undefined;
|
|
3021
|
+
owner?: string;
|
|
3022
|
+
bounds?: BoundingBox;
|
|
3023
|
+
prioritizeOwner?: string;
|
|
3024
|
+
};
|
|
3025
|
+
type EntitySubscriptionFilter = ExactEntitySubscriptionFilter | BroadEntitySubscriptionFilter;
|
|
3026
|
+
interface EntitySubscriptionMeta {
|
|
3027
|
+
seq?: number;
|
|
3028
|
+
truncated?: boolean;
|
|
2919
3029
|
}
|
|
2920
|
-
interface
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
3030
|
+
interface EntitySubscriptionHandlers {
|
|
3031
|
+
onSnapshot?: (entities: EntityInstance[], meta: EntitySubscriptionMeta) => void;
|
|
3032
|
+
onUpdate?: (entity: EntityInstance, meta: EntitySubscriptionMeta) => void;
|
|
3033
|
+
onBoundsDelta?: (entered: EntityInstance[], exited: number[], meta: EntitySubscriptionMeta) => void;
|
|
3034
|
+
onDeleted?: (id: string, meta: EntitySubscriptionMeta) => void;
|
|
3035
|
+
onError?: (error: Error) => void;
|
|
2924
3036
|
}
|
|
2925
|
-
interface
|
|
3037
|
+
interface EntitiesSubscriptionHandle {
|
|
2926
3038
|
readonly subId: string;
|
|
2927
|
-
readonly
|
|
2928
|
-
readonly entityId: string;
|
|
3039
|
+
readonly filter: EntitySubscriptionFilter;
|
|
2929
3040
|
unsubscribe(): void;
|
|
2930
|
-
current: EntityInstance
|
|
3041
|
+
current: Map<number, EntityInstance>;
|
|
2931
3042
|
}
|
|
3043
|
+
type BoundsSubscriptionHandle = EntitiesSubscriptionHandle & {
|
|
3044
|
+
readonly filter: BroadEntitySubscriptionFilter & {
|
|
3045
|
+
bounds: BoundingBox;
|
|
3046
|
+
};
|
|
3047
|
+
updateBounds(bounds: BoundingBox): void;
|
|
3048
|
+
};
|
|
3049
|
+
type OwnerSubscriptionHandle = EntitiesSubscriptionHandle & {
|
|
3050
|
+
readonly filter: BroadEntitySubscriptionFilter;
|
|
3051
|
+
};
|
|
3052
|
+
type EntitySubscriptionHandle = EntitiesSubscriptionHandle & {
|
|
3053
|
+
readonly filter: ExactEntitySubscriptionFilter;
|
|
3054
|
+
};
|
|
2932
3055
|
declare class SubscriptionsManager {
|
|
2933
3056
|
private readonly conn;
|
|
2934
3057
|
private readonly entitySubs;
|
|
2935
|
-
private readonly boundsSubs;
|
|
2936
3058
|
private subCounter;
|
|
2937
3059
|
private hasConnected;
|
|
2938
3060
|
constructor(opts: SubscriptionsOptions);
|
|
2939
3061
|
close(): void;
|
|
2940
3062
|
private generateSubID;
|
|
2941
3063
|
private sendMessage;
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
3064
|
+
subscribeEntities(filter: BroadEntitySubscriptionFilter & {
|
|
3065
|
+
bounds: BoundingBox;
|
|
3066
|
+
}, handlers?: EntitySubscriptionHandlers): BoundsSubscriptionHandle;
|
|
3067
|
+
subscribeEntities(filter: ExactEntitySubscriptionFilter, handlers?: EntitySubscriptionHandlers): EntitySubscriptionHandle;
|
|
3068
|
+
subscribeEntities(filter: BroadEntitySubscriptionFilter, handlers?: EntitySubscriptionHandlers): EntitiesSubscriptionHandle;
|
|
3069
|
+
subscribeEntities(filter: EntitySubscriptionFilter, handlers?: EntitySubscriptionHandlers): EntitiesSubscriptionHandle;
|
|
3070
|
+
subscribeEntity(id: string | number, handlers: EntitySubscriptionHandlers): EntitySubscriptionHandle;
|
|
3071
|
+
subscribeOwner(owner: string, handlers?: EntitySubscriptionHandlers): OwnerSubscriptionHandle;
|
|
3072
|
+
subscribeBounds(bounds: BoundingBox, handlers?: EntitySubscriptionHandlers & {
|
|
2948
3073
|
owner?: string;
|
|
2949
3074
|
prioritizeOwner?: string;
|
|
2950
3075
|
}): BoundsSubscriptionHandle;
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
private
|
|
3076
|
+
subscribeAllEntities(handlers?: EntitySubscriptionHandlers): EntitiesSubscriptionHandle;
|
|
3077
|
+
private normalizeFilter;
|
|
3078
|
+
private static publicFilter;
|
|
3079
|
+
private cloneBounds;
|
|
3080
|
+
private subscriptionPrefix;
|
|
3081
|
+
private subscribeMessage;
|
|
3082
|
+
private unsubscribeEntities;
|
|
2956
3083
|
private updateBounds;
|
|
2957
3084
|
private onStateChange;
|
|
2958
3085
|
private onMessage;
|
|
@@ -2961,6 +3088,7 @@ declare class SubscriptionsManager {
|
|
|
2961
3088
|
private handleUpdate;
|
|
2962
3089
|
private handleBoundsDelta;
|
|
2963
3090
|
private handleError;
|
|
3091
|
+
private handleEntityDeleted;
|
|
2964
3092
|
}
|
|
2965
3093
|
|
|
2966
3094
|
declare class GameContext {
|
|
@@ -3110,6 +3238,7 @@ interface SourceCargoStack {
|
|
|
3110
3238
|
}
|
|
3111
3239
|
interface FinalizerEntityRef {
|
|
3112
3240
|
entityId: UInt64;
|
|
3241
|
+
entityType: Name;
|
|
3113
3242
|
name: string;
|
|
3114
3243
|
capability: FinalizerCapability;
|
|
3115
3244
|
crafterSpeed: number;
|
|
@@ -3204,6 +3333,7 @@ declare function isGatherableLocation(locationType: LocationType): boolean;
|
|
|
3204
3333
|
declare function getLocationTypeName(type: LocationType): string;
|
|
3205
3334
|
declare function getSystemName(gameSeed: Checksum256Type, location: CoordinatesType): string;
|
|
3206
3335
|
declare function hasSystem(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
3336
|
+
declare function getLocationKind(gameSeed: Checksum256Type, x: number, y: number): 'wormhole' | 'system' | 'empty';
|
|
3207
3337
|
declare function deriveLocationStatic(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_static;
|
|
3208
3338
|
declare function isLocationBuildable(gameSeed: Checksum256Type, coordinates: CoordinatesType): boolean;
|
|
3209
3339
|
declare function deriveLocation(gameSeed: Checksum256Type, coordinates: CoordinatesType): Types.location_derived;
|
|
@@ -3259,6 +3389,7 @@ declare function findNearbyPlanets(seed: Checksum256, origin: ActionParams.Type.
|
|
|
3259
3389
|
declare function calc_rechargetime(capacity: UInt32Type, energy: UInt32Type, recharge: UInt32Type): UInt32;
|
|
3260
3390
|
declare function calc_ship_rechargetime(ship: ShipLike): UInt32;
|
|
3261
3391
|
declare function calc_flighttime(distance: UInt64Type, acceleration: number): UInt32;
|
|
3392
|
+
declare function calc_transit_duration(ax: number, ay: number, bx: number, by: number): UInt32;
|
|
3262
3393
|
declare function calc_loader_flighttime(ship: ShipLike, mass: UInt64, altitude?: number): UInt32;
|
|
3263
3394
|
declare function calc_loader_acceleration(ship: ShipLike, mass: UInt64): number;
|
|
3264
3395
|
declare function calc_ship_flighttime(ship: ShipLike, mass: UInt64, distance: UInt64): UInt32;
|
|
@@ -3427,13 +3558,57 @@ interface TaskCargoChange {
|
|
|
3427
3558
|
}
|
|
3428
3559
|
declare function taskCargoChanges(task: Types.task): TaskCargoChange[];
|
|
3429
3560
|
|
|
3430
|
-
type EntityInfo = Types.entity_info;
|
|
3431
|
-
type CounterpartLookup = (entityId: UInt64) => EntityInfo | undefined;
|
|
3561
|
+
type EntityInfo$1 = Types.entity_info;
|
|
3562
|
+
type CounterpartLookup = (entityId: UInt64) => EntityInfo$1 | undefined;
|
|
3432
3563
|
type IdleResolveTarget = ScheduleData & {
|
|
3433
3564
|
id: UInt64;
|
|
3434
3565
|
};
|
|
3435
3566
|
declare function composeIdleResolve(blocker: IdleResolveTarget, action: Action, actions: ActionsManager, now: Date, lookupCounterpart?: CounterpartLookup): Action[];
|
|
3436
3567
|
|
|
3568
|
+
declare enum CancelBlockReason {
|
|
3569
|
+
TASK_NEVER = "TASK_NEVER",
|
|
3570
|
+
BEFORE_START_RUNNING = "BEFORE_START_RUNNING",
|
|
3571
|
+
DONE = "DONE",
|
|
3572
|
+
CONTAINS_LINKED_TASK = "CONTAINS_LINKED_TASK",
|
|
3573
|
+
WOULD_STRAND = "WOULD_STRAND",
|
|
3574
|
+
WOULD_OVERFILL = "WOULD_OVERFILL",
|
|
3575
|
+
NOT_OWNER = "NOT_OWNER"
|
|
3576
|
+
}
|
|
3577
|
+
type EntityInfo = InstanceType<typeof Types.entity_info>;
|
|
3578
|
+
type EntityRef = InstanceType<typeof Types.entity_ref>;
|
|
3579
|
+
type CargoItem$2 = InstanceType<typeof Types.cargo_item>;
|
|
3580
|
+
interface CancelRefund {
|
|
3581
|
+
giver: EntityRef;
|
|
3582
|
+
cargo: CargoItem$2[];
|
|
3583
|
+
}
|
|
3584
|
+
interface CancelReleasedHold {
|
|
3585
|
+
counterpart: EntityRef;
|
|
3586
|
+
kind: number;
|
|
3587
|
+
}
|
|
3588
|
+
interface CancelEffects {
|
|
3589
|
+
refunds: CancelRefund[];
|
|
3590
|
+
releasedHolds: CancelReleasedHold[];
|
|
3591
|
+
abandonsRunning: boolean;
|
|
3592
|
+
keepsPlotDeposits?: {
|
|
3593
|
+
plot: EntityRef;
|
|
3594
|
+
};
|
|
3595
|
+
energyForfeited?: number;
|
|
3596
|
+
}
|
|
3597
|
+
interface CancelPlan {
|
|
3598
|
+
ok: boolean;
|
|
3599
|
+
blockedReason?: CancelBlockReason;
|
|
3600
|
+
range: {
|
|
3601
|
+
count: number;
|
|
3602
|
+
taskIndices: number[];
|
|
3603
|
+
};
|
|
3604
|
+
effects: CancelEffects;
|
|
3605
|
+
}
|
|
3606
|
+
interface CancelEligibilityInput {
|
|
3607
|
+
now: Date;
|
|
3608
|
+
counterparts?: Map<string, EntityInfo>;
|
|
3609
|
+
}
|
|
3610
|
+
declare function cancelEligibility(entity: EntityInfo, laneKey: number, fromTaskIndex: number, input: CancelEligibilityInput): CancelPlan;
|
|
3611
|
+
|
|
3437
3612
|
type Task = Types.task;
|
|
3438
3613
|
type CargoItem$1 = Types.cargo_item;
|
|
3439
3614
|
interface CargoEffect {
|
|
@@ -3695,6 +3870,37 @@ declare function computeContainerT2Capabilities(stats: Record<string, number>):
|
|
|
3695
3870
|
capacity: number;
|
|
3696
3871
|
};
|
|
3697
3872
|
|
|
3873
|
+
declare const WH: {
|
|
3874
|
+
readonly RSIZE: 75;
|
|
3875
|
+
readonly ZONE: 16384;
|
|
3876
|
+
readonly THRESHOLD: 8192;
|
|
3877
|
+
readonly MIN_REACH: 50000;
|
|
3878
|
+
readonly TRANSIT_SPEED: 500;
|
|
3879
|
+
};
|
|
3880
|
+
declare function feistel(seed: Checksum256Type, idx: number, key: string): number;
|
|
3881
|
+
declare function feistelInv(seed: Checksum256Type, idx: number, key: string): number;
|
|
3882
|
+
type Region = {
|
|
3883
|
+
rx: number;
|
|
3884
|
+
ry: number;
|
|
3885
|
+
};
|
|
3886
|
+
declare function regionOf(x: number, y: number): Region;
|
|
3887
|
+
declare function partnerRegion(seed: Checksum256Type, R: Region): Region;
|
|
3888
|
+
declare function wormholeAtRegionEndpoint(seed: Checksum256Type, rx: number, ry: number): {
|
|
3889
|
+
from: {
|
|
3890
|
+
x: number;
|
|
3891
|
+
y: number;
|
|
3892
|
+
};
|
|
3893
|
+
to: {
|
|
3894
|
+
x: number;
|
|
3895
|
+
y: number;
|
|
3896
|
+
};
|
|
3897
|
+
} | null;
|
|
3898
|
+
declare function wormholeAt(seed: Checksum256Type, x: number, y: number): {
|
|
3899
|
+
x: number;
|
|
3900
|
+
y: number;
|
|
3901
|
+
} | null;
|
|
3902
|
+
declare function isValidWormholePair(seed: Checksum256Type, ax: number, ay: number, bx: number, by: number): boolean;
|
|
3903
|
+
|
|
3698
3904
|
interface ResolvedItemStat {
|
|
3699
3905
|
key: string;
|
|
3700
3906
|
label: string;
|
|
@@ -4021,6 +4227,38 @@ declare function formatLocation(loc: {
|
|
|
4021
4227
|
}): string;
|
|
4022
4228
|
declare function formatMassScaled(kg: number): string;
|
|
4023
4229
|
|
|
4230
|
+
interface CoordinateAddress {
|
|
4231
|
+
sector: string;
|
|
4232
|
+
region: string;
|
|
4233
|
+
localX: number;
|
|
4234
|
+
localY: number;
|
|
4235
|
+
}
|
|
4236
|
+
declare function encodeAddress(seed: Checksum256Type, x: number, y: number): CoordinateAddress;
|
|
4237
|
+
declare function decodeAddress(seed: Checksum256Type, addr: CoordinateAddress): {
|
|
4238
|
+
x: number;
|
|
4239
|
+
y: number;
|
|
4240
|
+
};
|
|
4241
|
+
declare function addressFromCoordinates(seed: Checksum256Type, coords: {
|
|
4242
|
+
x: number | {
|
|
4243
|
+
toNumber(): number;
|
|
4244
|
+
};
|
|
4245
|
+
y: number | {
|
|
4246
|
+
toNumber(): number;
|
|
4247
|
+
};
|
|
4248
|
+
}): CoordinateAddress;
|
|
4249
|
+
|
|
4250
|
+
declare function encodeSector(seed: Checksum256Type, sx: number, sy: number): string;
|
|
4251
|
+
declare function decodeSector(seed: Checksum256Type, name: string): {
|
|
4252
|
+
sx: number;
|
|
4253
|
+
sy: number;
|
|
4254
|
+
};
|
|
4255
|
+
|
|
4256
|
+
declare function encodeRegion(seed: Checksum256Type, rx: number, ry: number): string;
|
|
4257
|
+
declare function decodeRegion(seed: Checksum256Type, token: string): {
|
|
4258
|
+
rx: number;
|
|
4259
|
+
ry: number;
|
|
4260
|
+
};
|
|
4261
|
+
|
|
4024
4262
|
interface DisplayNameInputCommon {
|
|
4025
4263
|
tier: number;
|
|
4026
4264
|
category?: ResourceCategory;
|
|
@@ -4107,4 +4345,4 @@ type gatherer_stats = Types.gatherer_stats;
|
|
|
4107
4345
|
type location_static = Types.location_static;
|
|
4108
4346
|
type location_derived = Types.location_derived;
|
|
4109
4347
|
|
|
4110
|
-
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BuildMethod, BuildState, BuildableTarget, CANCEL_CONTAINS_GROUPED_TASK, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityInfo$1 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionHandle, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, Extractor, Factory, FetchAssetsOptions, FinalizerCapability, FinalizerEntityRef, 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, HoldKind, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, 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_CERAMIC, 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_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LaneView, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_BATTERY, 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_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, 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, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedEvent, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, ValidateDisplayNameOptions, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapDeposit, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, 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, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAtomicAsset, decodeCraftedItemStats, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeGatheredCargoStats, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lane, laneKeyForModule, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, normalizeDisplayName, parseWireEntity, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLockedAmount, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateDisplayName, validateSchedule, workerLaneKey, yieldThresholdAt };
|
|
4348
|
+
export { ALL_ENTITY_TYPES, ATOMICASSETS_ACCOUNT, AckMessage, ActionsManager, AnyEntity, AtomicAssetRow, AtomicAttributeType, AtomicSchemaRow, BASE_ORBITAL_MASS, BLEND_INPUTS_MUST_MATCH, BLEND_REQUIRES_MULTIPLE, BLEND_STAT_LESS_NOT_SUPPORTED, BoundingBox, BoundsDeltaMessage, BoundsSubscriptionHandle, BroadEntitySubscriptionFilter, BuildMethod, BuildState, BuildableTarget, CANCEL_CONTAINS_GROUPED_TASK, CAP_DEMOLISH, CAP_MODULES, CAP_UNDEPLOY, CAP_WRAP, CATEGORY_LABELS, COMMIT_ALREADY_SET, COMMIT_CANNOT_MATCH, COMMIT_NOT_SET, COMPANY_NOT_FOUND, COMPONENT_TIER_PREFIXES, CONTAINER_NOT_FOUND, CONTAINER_Z, CRAFT_ENERGY_DIVISOR, CRAFT_EXCEEDS_ENERGY_CAPACITY, CRAFT_NOT_ENOUGH_ENERGY, CancelBlockReason, CancelEffects, CancelEligibilityInput, CancelPlan, CancelRefund, CancelReleasedHold, CapabilityAttribute, CapabilityInput, CargoData, CargoMassInfo, CargoStack, CategoryInfo, CategoryStacks, ClientMessage, ComputedCapabilities, ConnectionState, ConstructionManager, Container, ContainerEntity, CoordinateAddress, Coordinates, CoordinatesType, CounterpartLookup, CraftedItemCategory, CrafterCapability, DEPLOY_ENTITY_HAS_SCHEDULE, DEPTH_THRESHOLD_T1, DEPTH_THRESHOLD_T2, DEPTH_THRESHOLD_T3, DEPTH_THRESHOLD_T4, DEPTH_THRESHOLD_T5, DESTINATION_CAPACITY_EXCEEDED, DecodedAtomicAsset, DerivedStratum, DescribeOptions, DisplayNameResult, Distance, ENTITY_ALREADY_THERE, ENTITY_CAPACITY_EXCEEDED, ENTITY_CARGO_NOT_LOADED, ENTITY_CARGO_NOT_OWNED, ENTITY_CONTAINER, ENTITY_EXTRACTOR, ENTITY_FACTORY, ENTITY_INVALID_CARGO, ENTITY_INVALID_DESTINATION, ENTITY_INVALID_TRAVEL_DURATION, ENTITY_NEXUS, ENTITY_NOT_ENOUGH_ENERGY, ENTITY_NOT_ENOUGH_ENERGY_CAPACITY, ENTITY_NO_CRAFTER, ENTITY_SHIP, ENTITY_WAREHOUSE, EPOCH_NON_ZERO, EPOCH_NOT_READY, ERROR_SYSTEM_ALREADY_INITIALIZED, ERROR_SYSTEM_DISABLED, ERROR_SYSTEM_NOT_INITIALIZED, EffectiveReserveInput, EnergyCapability, EntitiesManager, EntitiesSubscriptionHandle, Entity$1 as Entity, EntityCapabilities, EntityClass, EntityDeletedMessage, EntityInfo$2 as EntityInfo, EntityInstance, EntityInventory, EntityLayout, EntityRefInput, EntitySlot, EntityState, EntityStateInput, EntitySubscriptionFilter, EntitySubscriptionHandle, EntitySubscriptionHandlers, EntitySubscriptionMeta, EntityTypeName, EpochInfo, EpochsManager, ErrorMessage, EstimateTravelTimeOptions, EstimatedTravelTime, EventCatchupCompleteMessage, EventMessage, ExactEntitySubscriptionFilter, Extractor, Factory, FetchAssetsOptions, FinalizerCapability, FinalizerEntityRef, 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, HoldKind, INSUFFICIENT_BALANCE, INSUFFICIENT_ITEM_QUANTITY, INSUFFICIENT_ITEM_SUPPLY, INVALID_AMOUNT, ITEM_BATTERY_T1, ITEM_BEAM, 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_CERAMIC, 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_EXTRACTOR_T1_PACKED, ITEM_FACTORY_T1_PACKED, ITEM_FRAME, ITEM_FRAME_T2, ITEM_GAS_T1, ITEM_GAS_T10, ITEM_GAS_T2, ITEM_GAS_T3, ITEM_GAS_T4, ITEM_GAS_T5, ITEM_GAS_T6, ITEM_GAS_T7, ITEM_GAS_T8, ITEM_GAS_T9, ITEM_GATHERER_T1, ITEM_GENERATOR_T1, ITEM_HAULER_T1, ITEM_LOADER_T1, ITEM_NOT_AVAILABLE_AT_LOCATION, ITEM_NOT_DEPLOYABLE, ITEM_NOT_PACKED_ENTITY, ITEM_ORE_T1, ITEM_ORE_T10, ITEM_ORE_T2, ITEM_ORE_T3, ITEM_ORE_T4, ITEM_ORE_T5, ITEM_ORE_T6, ITEM_ORE_T7, ITEM_ORE_T8, ITEM_ORE_T9, ITEM_PLASMA_CELL, ITEM_PLATE, ITEM_PLATE_T2, ITEM_POLYMER, ITEM_REACTOR, ITEM_REGOLITH_T1, ITEM_REGOLITH_T10, ITEM_REGOLITH_T2, ITEM_REGOLITH_T3, ITEM_REGOLITH_T4, ITEM_REGOLITH_T5, ITEM_REGOLITH_T6, ITEM_REGOLITH_T7, ITEM_REGOLITH_T8, ITEM_REGOLITH_T9, ITEM_RESIN, ITEM_RESONATOR, ITEM_SENSOR, ITEM_SHIP_T1_PACKED, ITEM_STORAGE_T1, ITEM_TYPE_COMPONENT, ITEM_TYPE_ENTITY, ITEM_TYPE_MODULE, ITEM_TYPE_RESOURCE, ITEM_WAREHOUSE_T1_PACKED, ITEM_WARP_T1, IdleResolveTarget, ImmutableEntry, ImmutableModuleSlot, InboundTransfer, InstalledModule, InventoryAccessor, Item, ItemType, KindMeta, LANE_BARRIER, LANE_MOBILITY, LOCATION_MAX_DEPTH, LOCATION_MIN_DEPTH, LaneView, LoadTimeBreakdown, LoaderCapability, Location, LocationStratum, LocationType, LocationsManager, MAX_ORBITAL_ALTITUDE, MAX_STARS_PER_STAT, MAX_STAR_RATING, MIN_ORBITAL_ALTITUDE, MIN_TRANSFER_DISTANCE_ORBITAL_VESSEL, MIN_TRANSFER_DISTANCE_PLANETARY_STRUCTURE, MODULE_ANY, MODULE_BATTERY, 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_TIER_PREFIXES, MODULE_TYPE_MISMATCH, MODULE_WARP, MassCapability, MintAssetParams, ModuleDescription, ModuleEntry, ModuleType, MovementCapability, index as NFT, NFTCargoItem, NFTCommonBase, NFTInstalledModule, NFTModuleSlot, NO_SCHEDULE, NamedStats, Nexus, NftConfigForItem, NftManager, OrderedTask, OwnerSubscriptionHandle, PLANETARY_STRUCTURE_Z, PLANET_SUBTYPE_GAS_GIANT, PLANET_SUBTYPE_ICY, PLANET_SUBTYPE_INDUSTRIAL, PLANET_SUBTYPE_OCEAN, PLANET_SUBTYPE_ROCKY, PLANET_SUBTYPE_TERRESTRIAL, PLAYER_ALREADY_JOINED, PLAYER_NOT_FOUND, PLAYER_NOT_JOINED, PRECISION, PackedModule, PackedModuleInput, PingMessage, PlanetSubtypeInfo, platform as PlatformContract, Types$1 as PlatformTypes, Player, PlayerStateInput, PlayersManager, PongMessage, Projectable, 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, RESOURCE_TIER_ADJECTIVES, RawData, Recipe, RecipeInput, RecipeSlotInput, RenderDescriptionOptions, Reservation, ReserveTier, ResolvedAttributeGroup, ResolvedEvent, ResolvedItem, ResolvedItemStat, ResolvedItemType, ResolvedModuleSlot, ResourceCategory, ResourceStats, SHIPLOAD_COLLECTION, SHIP_ALREADY_TRAVELING, SHIP_CANNOT_BUY_TRAVELING, SHIP_CANNOT_CANCEL_TASK, SHIP_CANNOT_UPDATE_TRAVELING, SHIP_NOT_ARRIVED, SHIP_NOT_FOUND, SHIP_NOT_IDLE, SHIP_NOT_OWNED, SHIP_NO_COMPLETED_TASKS, SHIP_NO_TASKS_TO_CANCEL, SLOT_FORMULAS, STAR_STEP, ScheduleAccessor, ScheduleCapability, ScheduleData, ScheduledBuild, SchemaField, server as ServerContract, ServerMessage, Types as ServerTypes, Ship, ShipEntity, ShipLike, Shipload, SlotConsumer, SlotConsumerKind, SnapshotMessage, SourceCargoStack, SourceEntityRef, StackInput, StatDefinition, StatMapping, StatSlot, StorageCapability, StratumInfo, SubscribeEntityMessage, SubscribeEventsMessage, SubscribeMessage, SubscriptionEntityType, SubscriptionsManager, SubscriptionsOptions, TIER_ROLL_MAX, TRAVEL_MAX_DURATION, TaskCancelable, TaskCargoChange, TaskCargoDirection, TaskType, TemplateMeta, TextSpan, TierRange, TransferEntity, UnsubscribeEntityMessage, UnsubscribeEventsMessage, UnsubscribeMessage, UpdateBoundsMessage, UpdateMessage, ValidateDisplayNameOptions, WAREHOUSE_ALREADY_AT_LOCATION, WAREHOUSE_NOT_FOUND, WARP_HAS_CARGO, WARP_HAS_SCHEDULE, WARP_NOT_FULL_ENERGY, WARP_NO_CAPABILITY, WARP_OUT_OF_RANGE, WH, WOULD_OVERFILL, WOULD_STRAND, Warehouse, WarehouseEntity, WebSocketConnection, WebSocketConnectionOptions, WireCoordinates, WireEntity, WrapDeposit, YIELD_FRACTION_DEEP, YIELD_FRACTION_SHALLOW, addressFromCoordinates, allBuildableItems, allPlotBuildableItems, availableBuildMethods, availableCapacity$1 as availableCapacity, availableCapacityFromMass, availableForItem, baseName, blendCargoStacks, blendComponentStacks, blendCrossGroup, blendStacks, buildComponentImmutable, buildEntityDescription, buildEntityImmutable, buildImmutableData, buildMintAssetAction, buildModuleImmutable, buildResourceImmutable, calcCargoItemMass, calcCargoMass, calcEnergyUsage, calcStacksMass, calc_acceleration, calc_craft_duration, calc_craft_energy, calc_energyusage, calc_flighttime, calc_gather_duration, calc_gather_energy, calc_gather_rate, 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, calc_transit_duration, calculateFlightTime, calculateLoadTimeBreakdown, calculateRefuelingTime, calculateTransferTime, canMove, cancelEligibility, candidateLaneCompletesAt, capabilityAttributes, capabilityNames, capsHasCrafter, capsHasGatherer, capsHasHauler, capsHasLoaders, capsHasMass, capsHasMovement, capsHasStorage, cargoItem, cargoItemToStack, cargoReadyAt, cargoRef, cargoUtils, cargo_item, categoryColors, categoryFromIndex, categoryLabel, categoryLabelFromIndex, componentIcon, composeIdleResolve, computeBaseCapacity, computeBaseCapacityShip, computeBaseCapacityWarehouse, computeBaseHullmass, computeComponentStats, computeContainerCapabilities, computeContainerT2Capabilities, computeCraftedOutputStats, computeCrafterCapabilities, computeCrafterDrain, computeCrafterSpeed, computeEngineCapabilities, computeEngineDrain, computeEngineThrust, computeEntityCapabilities, computeEntityStats, computeGathererCapabilities, computeGathererDepth, computeGathererDrain, computeGathererYield, computeGeneratorCap, computeGeneratorCapabilities, computeGeneratorRech, computeHaulPenalty, computeHaulerCapabilities, computeHaulerCapacity, computeHaulerDrain$1 as computeHaulerDrain, computeHaulerEfficiency, computeInputMass, computeLoaderCapabilities, computeLoaderMass, computeLoaderThrust, computeNftImageUrl, computeShipHullCapabilities, computeStorageCapabilities, computeWarehouseHullCapabilities, computeWarpCapabilities, computeWarpRange, coordsToLocationId, createInventoryAccessor, createProjectedEntity, createScheduleAccessor, decodeAddress, decodeAtomicAsset, decodeCraftedItemStats, decodeRegion, decodeSector, decodeStat, decodeStats, Shipload as default, deriveLocation, deriveLocationSize, deriveLocationStatic, deriveResourceStats, deriveStatMappings, deriveStrata, deriveStratum, describeItem, describeModule, describeModuleForItem, describeModuleForSlot, deserializeAsset, deserializeAtomicData, deserializeComponent, deserializeEntity, deserializeModule, deserializeResource, displayName, distanceBetweenCoordinates, distanceBetweenPoints, easeFlightProgress, encodeAddress, encodeGatheredCargoStats, encodeRegion, encodeSector, encodeStats, energyAtTime, energyPercent, energy_stats, entityDisplayName, entity_row, estimateDealTravelTime, estimateTravelTime, feistel, feistelInv, fetchAtomicAssetsForOwner, fetchAtomicSchemas, filterByBuildMethod, findNearbyPlanets, flightSpeedFactor, formatLocation, formatMass, formatMassDelta, formatMassScaled, formatModuleLine, formatTier, gathererDepthForTier, gatherer_stats, getCapabilityAttributes, getCategoryInfo, getComponents, getCurrentEpoch, getDepthThreshold, getDestinationLocation, getEffectiveReserve, getEligibleResources, getEntityClass, getEntityItems, getEntityLayout, getEpochInfo, getFlightOrigin, getInterpolatedPosition, getItem, getItems, getKindMeta, getLocationCandidates, getLocationKind, getLocationProfile, getLocationType, getLocationTypeName, getModuleCapabilityType, getModules, getPackedEntityType, getPlanetSubtype, getPlanetSubtypes, getPositionAt, getRecipe, getResourceTier, getResourceWeight, getResources, getStatDefinitions, getStatMappings, getStatMappingsForCapability, getStatMappingsForStat, getStatName, getSystemName, getTemplateMeta, hasEnergy, hasEnergyForDistance, hasGatherer, hasLoaders, hasMass, hasSchedule, hasSpace$1 as hasSpace, hasSpaceForMass, hasStorage, hasSystem, hash, hash512, interpolateFlightPosition, isBuildable, isContainer, isCraftedItem, isExtractor, isFactory, isFull$1 as isFull, isFullFromMass, isGatherableLocation, isInvertedAttribute, isLocationBuildable, isModuleItem, isNexus, isPlot, isPlotBuildable, isRelatedItem, isShip, isSubscriptionsDebugEnabled, isValidWormholePair, isWarehouse, itemAbbreviations, itemCategory, itemIds, itemOffset, itemTier, itemTypeCode, kindCan, lane, laneKeyForModule, lerp, loader_stats, location_derived, location_static, makeEntity, mapEntity, maxCraftable, maxTravelDistance, mergeStacks, moduleAccepts, moduleDisplayName, moduleIcon, moduleSlotTypeToCode, movement_stats, needsRecharge, normalizeDisplayName, parseWireEntity, partnerRegion, projectEntity, projectEntityAt, projectRemainingAt, projectedCargoAvailableAt, rawScheduleEnd, readCommonBase, regionOf, removeFromStacks, renderDescription, resolveItem, resolveItemCategory, resolveLockedAmount, resolveStats, rollTier, rollWithinTier, rotation, schedule, setSubscriptionsDebug, stackKey, stackToCargoItem, stacksEqual, starRating, starsForStat, statMagnitude, subtractFromStacks, task, taskCargoChanges, taskCargoEffect, tierAdjective, tierColors, tierOfReserve, toLocation, typeLabel, validateDisplayName, validateSchedule, workerLaneKey, wormholeAt, wormholeAtRegionEndpoint, yieldThresholdAt };
|