@wayward/types 2.13.3-beta.dev.20230615.1 → 2.13.3-beta.dev.20230616.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/doodad/IDoodad.d.ts +4 -1
- package/definitions/game/ui/component/Dropdown.d.ts +1 -1
- package/definitions/game/ui/component/SortRow.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/dialog/MilestonesDialog.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/dialog/SkillsDialog.d.ts +2 -0
- package/definitions/game/utilities/random/generators/specific/RandomItem.d.ts +1 -1
- package/package.json +1 -1
|
@@ -456,7 +456,10 @@ export declare enum DoodadTypeGroup {
|
|
|
456
456
|
Last = 420
|
|
457
457
|
}
|
|
458
458
|
export declare enum DoorOrientation {
|
|
459
|
-
|
|
459
|
+
/**
|
|
460
|
+
* Horizontal (handle on right)
|
|
461
|
+
*/
|
|
462
|
+
Horizontal = 0,
|
|
460
463
|
Vertical = 1
|
|
461
464
|
}
|
|
462
465
|
export declare enum GrowingStage {
|
|
@@ -57,7 +57,7 @@ export default class Dropdown<O = string | number> extends Component implements
|
|
|
57
57
|
retainLastFilter(retainLastFilter?: boolean): this;
|
|
58
58
|
open(): void;
|
|
59
59
|
close(input?: InputButton): boolean;
|
|
60
|
-
select(optionId: O | undefined): this;
|
|
60
|
+
select(optionId: O | undefined, force?: boolean): this;
|
|
61
61
|
selectDefault(): this;
|
|
62
62
|
setRefreshMethod(refresh: () => IDropdownData<O>): this;
|
|
63
63
|
refresh(): this;
|
|
@@ -42,6 +42,7 @@ export default class SortRow<S extends number> extends LabelledRow implements IR
|
|
|
42
42
|
setDisabledSorts(val: S[], refresh?: boolean): this;
|
|
43
43
|
setRefreshMethod(refresh: () => SortRowData<S>): this;
|
|
44
44
|
refresh(): this;
|
|
45
|
+
setSort(sort: S, direction: SortDirection): void;
|
|
45
46
|
toggleSortDirection(sortDirection?: SortDirection): void;
|
|
46
47
|
triggerSort(): void;
|
|
47
48
|
triggerSortAsync(): Promise<any[]>;
|
|
@@ -16,9 +16,11 @@ import { MenuBarButtonType } from "ui/screen/screens/game/static/menubar/IMenuBa
|
|
|
16
16
|
export default class MilestonesDialog extends Dialog {
|
|
17
17
|
private readonly milestones;
|
|
18
18
|
private readonly sortRow;
|
|
19
|
+
private sortData;
|
|
19
20
|
constructor();
|
|
20
21
|
getBindable(): Bindable;
|
|
21
22
|
getIcon(): MenuBarButtonType;
|
|
23
|
+
protected onDialogLoad(): void;
|
|
22
24
|
onPlayerChangeTitle(player: Player, milestone?: Milestone): void;
|
|
23
25
|
onMilestoneUpdate(_: any, milestone: Milestone): void;
|
|
24
26
|
private sort;
|
|
@@ -15,9 +15,11 @@ export default class SkillsDialog extends Dialog {
|
|
|
15
15
|
private readonly skills;
|
|
16
16
|
private readonly inputFilter;
|
|
17
17
|
private readonly sortRow;
|
|
18
|
+
private sortData;
|
|
18
19
|
constructor();
|
|
19
20
|
getBindable(): Bindable;
|
|
20
21
|
getIcon(): MenuBarButtonType;
|
|
22
|
+
protected onDialogLoad(): void;
|
|
21
23
|
protected onDialogRemove(): void;
|
|
22
24
|
private updateSkill;
|
|
23
25
|
private sort;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { Quality } from "game/IObject";
|
|
12
12
|
import type Island from "game/island/Island";
|
|
13
13
|
import type { IContainer, ItemType, ItemTypeGroup } from "game/item/IItem";
|
|
14
|
-
import Item from "game/item/Item";
|
|
14
|
+
import type Item from "game/item/Item";
|
|
15
15
|
import Objects from "utilities/object/Objects";
|
|
16
16
|
import type { RandomInstance } from "utilities/random/IRandom";
|
|
17
17
|
import type { RandomReference } from "utilities/random/RandomReference";
|
package/package.json
CHANGED