@wayward/types 2.12.2-beta.dev.20221107.1 → 2.12.2-beta.dev.20221110.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/IGlobal.d.ts +0 -3
- package/definitions/game/game/entity/action/actions/Dismantle.d.ts +1 -0
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -0
- package/definitions/game/language/Translation.d.ts +3 -3
- package/definitions/game/language/dictionary/Message.d.ts +420 -421
- package/definitions/game/language/dictionary/UiTranslation.d.ts +725 -724
- package/definitions/game/ui/old/IOldUi.d.ts +2 -4
- package/definitions/game/ui/old/OldUi.d.ts +0 -2
- package/definitions/game/ui/old/screens/InGameScreen.d.ts +1 -11
- package/package.json +1 -1
- package/definitions/game/ui/old/functional/FunctionalTooltip.d.ts +0 -11
|
@@ -13,7 +13,6 @@ import type NPC from "game/entity/npc/NPC";
|
|
|
13
13
|
import type { IContainer, IDismantleComponent, ItemType } from "game/item/IItem";
|
|
14
14
|
import type Item from "game/item/Item";
|
|
15
15
|
import "ui/old/functional/FunctionalSortable";
|
|
16
|
-
import "ui/old/functional/FunctionalTooltip";
|
|
17
16
|
import type { DialogId, IDialogInfo } from "ui/old/IOldUi";
|
|
18
17
|
import InGameScreen from "ui/old/screens/InGameScreen";
|
|
19
18
|
export default class OldUi {
|
|
@@ -36,7 +35,6 @@ export default class OldUi {
|
|
|
36
35
|
isInGameScreenShown(): boolean;
|
|
37
36
|
isOptionsOverlayShown(): boolean;
|
|
38
37
|
isOptionsOverlayEnabled(): boolean;
|
|
39
|
-
tooltipRefresh(): void;
|
|
40
38
|
updateCraftingDialog(craftableItemTypes: ItemType[], nonCraftableItemTypes: ItemType[]): void;
|
|
41
39
|
updateDismantleTab(dismantleItems: IDismantleComponent, force?: boolean): void;
|
|
42
40
|
filterContainers(): void;
|
|
@@ -27,7 +27,6 @@ import BaseScreen from "ui/old/screens/BaseScreen";
|
|
|
27
27
|
import type ActionBar from "ui/screen/screens/game/static/ActionBar";
|
|
28
28
|
import type { ActionSlot } from "ui/screen/screens/game/static/ActionBar";
|
|
29
29
|
import { Direction } from "utilities/math/Direction";
|
|
30
|
-
import type Vector2 from "utilities/math/Vector2";
|
|
31
30
|
export declare enum TextElementId {
|
|
32
31
|
Weight = 0,
|
|
33
32
|
Attack = 1,
|
|
@@ -66,8 +65,6 @@ export default class InGameScreen extends BaseScreen {
|
|
|
66
65
|
elementDialogDismantleContainer: JQuery;
|
|
67
66
|
elementDialogCraftingButton: JQuery;
|
|
68
67
|
elementDialogDismantleButton: JQuery;
|
|
69
|
-
elementDialogEquipment: JQuery;
|
|
70
|
-
elementDialogEquipmentContainer: JQuery;
|
|
71
68
|
elementContainerDialogs: JQuery[];
|
|
72
69
|
elementOtherDialogs: JQuery[];
|
|
73
70
|
private activeContainer;
|
|
@@ -77,7 +74,6 @@ export default class InGameScreen extends BaseScreen {
|
|
|
77
74
|
private sortingCancelled;
|
|
78
75
|
private onSortableAction;
|
|
79
76
|
private isCurrentlySorting;
|
|
80
|
-
private lastGlobalMouseInfo;
|
|
81
77
|
private craftableItemTypes;
|
|
82
78
|
private nonCraftableItemTypes;
|
|
83
79
|
private dismantleItems;
|
|
@@ -135,12 +131,7 @@ export default class InGameScreen extends BaseScreen {
|
|
|
135
131
|
getInventoryItemsInOrder(): any[];
|
|
136
132
|
saveItemOrder(containerElement: JQuery, activeSort?: boolean): void;
|
|
137
133
|
craftItem(itemType: ItemType): void;
|
|
138
|
-
onDismantleItemClick(dismantleItem: Item
|
|
139
|
-
getTooltipHtml(element: JQuery): string;
|
|
140
|
-
tooltipEnable(): void;
|
|
141
|
-
tooltipRefresh(): void;
|
|
142
|
-
tooltipDisable(): void;
|
|
143
|
-
tooltipHide(): void;
|
|
134
|
+
onDismantleItemClick(dismantleItem: Item): void;
|
|
144
135
|
unSelectElements(): void;
|
|
145
136
|
onSortableItemReceive(sortableEvent: ISortableEvent): void;
|
|
146
137
|
setEquipSlot(equip: EquipType, itemId?: number, internal?: boolean): void;
|
|
@@ -149,7 +140,6 @@ export default class InGameScreen extends BaseScreen {
|
|
|
149
140
|
updateDismantleTab(dismantleItems: IDismantleComponent, force?: boolean): void;
|
|
150
141
|
createCraftItemElements(containerSortInfo: IContainerSortInfo | undefined): void;
|
|
151
142
|
updateItem(item: Item, updateChildren?: boolean): void;
|
|
152
|
-
onGlobalMouseMove(mouseInfo: GlobalMouseInfo, _: Vector2): void;
|
|
153
143
|
onActionBarSlotUpdate(actionBar: ActionBar, actionSlot: ActionSlot, item?: Item, oldItem?: Item): void;
|
|
154
144
|
private tooltipTarget?;
|
|
155
145
|
onGlobalMouseUpdateTarget(mouse: GlobalMouseInfo, target?: HTMLElement): void;
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2011-2021 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
|
-
*/
|
|
11
|
-
export {};
|