@wayward/types 2.11.0-beta.dev.20211206.1 → 2.11.0-beta.dev.20211207.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/entity/IHuman.d.ts +1 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +7 -1
- package/definitions/game/game/item/IItem.d.ts +0 -1
- package/definitions/game/ui/screen/ScreenManager.d.ts +1 -0
- package/definitions/game/ui/screen/screens/GameScreen.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +1 -0
- package/package.json +1 -1
|
@@ -113,6 +113,7 @@ export declare enum EquipType {
|
|
|
113
113
|
LeftHand = 10,
|
|
114
114
|
RightHand = 11
|
|
115
115
|
}
|
|
116
|
+
export declare const equipmentRenderOrder: EquipType[];
|
|
116
117
|
export declare type InsulationWeight = number | [number, "onlyWhenEquipped"];
|
|
117
118
|
export declare const equipSlotInsulationWeights: Record<TempType, Record<EquipType, InsulationWeight>>;
|
|
118
119
|
export interface IExcludedWhenLowering {
|
|
@@ -21,8 +21,14 @@ export interface IInfoProviderEvents {
|
|
|
21
21
|
* Should be emitted when the info provider is starting to initialize its component.
|
|
22
22
|
*/
|
|
23
23
|
init(component: Component): any;
|
|
24
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Emitted when the info provider finishes initializing
|
|
26
|
+
*/
|
|
25
27
|
initDone(): any;
|
|
28
|
+
/**
|
|
29
|
+
* Should be emitted when the info provider skipped initializing
|
|
30
|
+
*/
|
|
31
|
+
initSkip(): any;
|
|
26
32
|
/**
|
|
27
33
|
* Should be emitted when the info provider has detected an update and its contents will need to be refreshed.
|
|
28
34
|
*/
|
|
@@ -90,6 +90,7 @@ export default class ScreenManager extends EventEmitter.Host<IScreenManagerEvent
|
|
|
90
90
|
private hideAndRemove;
|
|
91
91
|
/**
|
|
92
92
|
* Removes a screen, or does nothing if the given screen is not initialized.
|
|
93
|
+
* Note: "hide" event is always emitted before remove since this is only called from hideAndRemove
|
|
93
94
|
*/
|
|
94
95
|
private remove;
|
|
95
96
|
}
|
|
@@ -32,6 +32,7 @@ export default abstract class InspectionsList<INSPECTIONS_HANDLER extends Inspec
|
|
|
32
32
|
private displayLevel;
|
|
33
33
|
private refreshingId?;
|
|
34
34
|
private readonly inspectTypeWrappers;
|
|
35
|
+
private readonly previouslyRefreshed;
|
|
35
36
|
constructor(context: InfoProviderContext);
|
|
36
37
|
setInspectTypeFilter(filter?: (inspectType: InspectType) => boolean): this;
|
|
37
38
|
refreshInspectTypeFilter(): this;
|
package/package.json
CHANGED