@wayward/types 2.14.0-beta.dev.20240927.1 → 2.14.0-beta.dev.20240929.1
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/definitions/game/game/inspection/InspectionsHandler.d.ts +2 -0
- package/definitions/game/game/island/IIsland.d.ts +2 -3
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240927.d.ts +10 -0
- package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +1 -1
- package/definitions/utilities/game/DeveloperMode.d.ts +10 -0
- package/package.json +1 -1
|
@@ -20,6 +20,8 @@ export interface IInspectionsHandlerEvents {
|
|
|
20
20
|
export default abstract class InspectionsHandler extends EventEmitter.Host<IInspectionsHandlerEvents> {
|
|
21
21
|
protected readonly context: InfoProviderContext;
|
|
22
22
|
protected readonly inspectionsMap: Map<InspectType, HashSet<Inspection<any>>>;
|
|
23
|
+
private static readonly registeredInspections;
|
|
24
|
+
static cleanupRegisteredInspections(): void;
|
|
23
25
|
static makeInspectionsSet(...values: Array<IterableOr<Inspection<any> | undefined>>): HashSet<Inspection<any>>;
|
|
24
26
|
protected registered: boolean;
|
|
25
27
|
constructor(context: InfoProviderContext, inspectionsMap?: Map<InspectType, HashSet<Inspection<any>>>);
|
|
@@ -97,11 +97,10 @@ export interface IIslandEvents {
|
|
|
97
97
|
getDefense(defense: Defense | undefined, target: Human | Creature | CreatureType, damageType?: DamageType): Defense | undefined;
|
|
98
98
|
calculateAttackOutcome(damageOutcome: IDamageOutcome, input: IDamageOutcomeInput, attackValue: number, defenseValue: number): IDamageOutcome | undefined;
|
|
99
99
|
/**
|
|
100
|
-
* Called when determining how many ticks to process when fast forwarding an island
|
|
100
|
+
* Called when determining how many ticks to process when fast forwarding an island
|
|
101
101
|
* @param fastForwardAmount Fast forward amount
|
|
102
|
-
* @param travelTime Travel time
|
|
103
102
|
*/
|
|
104
|
-
getFastForwardAmount(fastForwardAmount: number
|
|
103
|
+
getFastForwardAmount(fastForwardAmount: number): number | undefined;
|
|
105
104
|
fastForwardStart(): any;
|
|
106
105
|
fastForwardEnd(): any;
|
|
107
106
|
/**
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2024 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
8
|
+
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
1
11
|
declare const _default: import("@wayward/game/save/upgrade/UpgradeVersion").IUpgradeVersion;
|
|
2
12
|
export default _default;
|
|
@@ -41,7 +41,7 @@ export default abstract class InspectionsList<INSPECTIONS_HANDLER extends Inspec
|
|
|
41
41
|
refreshInspectTypeFilter(): this;
|
|
42
42
|
deregister(): void;
|
|
43
43
|
setDisplayLevel(displayLevel: InfoDisplayLevel): this;
|
|
44
|
-
refresh(): this
|
|
44
|
+
refresh(): Promise<this>;
|
|
45
45
|
private refreshAsync;
|
|
46
46
|
protected abstract initializeInspections(): INSPECTIONS_HANDLER | undefined;
|
|
47
47
|
isValid?(): boolean;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2024 Unlok
|
|
3
|
+
* https://www.unlok.ca
|
|
4
|
+
*
|
|
5
|
+
* Credits & Thanks:
|
|
6
|
+
* https://www.unlok.ca/credits-thanks/
|
|
7
|
+
*
|
|
8
|
+
* Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
|
|
9
|
+
* https://github.com/WaywardGame/types/wiki
|
|
10
|
+
*/
|
|
1
11
|
export declare function throwErrorInDeveloperMode(message: string): void | never;
|
package/package.json
CHANGED