@wayward/types 2.12.0-beta.dev.20221003.2 → 2.12.0-beta.dev.20221005.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/ObjectManager.d.ts +1 -1
- package/definitions/game/game/doodad/DoodadManager.d.ts +1 -1
- package/definitions/game/game/entity/Human.d.ts +1 -1
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +1 -1
- package/definitions/game/game/entity/action/IAction.d.ts +1 -2
- package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PackGround.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +1 -0
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +6 -1
- package/definitions/game/game/entity/action/usable/actions/UsableActionsDynamic.d.ts +1 -0
- package/definitions/game/game/entity/player/Player.d.ts +1 -1
- package/definitions/game/game/inspection/IInspection.d.ts +2 -1
- package/definitions/game/game/inspection/inspections/ActionInspection.d.ts +1 -0
- package/definitions/game/game/island/IIsland.d.ts +2 -1
- package/definitions/game/game/island/Island.d.ts +2 -1
- package/definitions/game/game/item/Item.d.ts +1 -1
- package/definitions/game/game/item/ItemManager.d.ts +1 -1
- package/definitions/game/game/milestones/IMilestone.d.ts +1 -1
- package/definitions/game/game/milestones/MilestoneManager.d.ts +3 -3
- package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
- package/definitions/game/language/dictionary/UiTranslation.d.ts +677 -675
- package/definitions/game/multiplayer/Multiplayer.d.ts +1 -0
- package/definitions/game/multiplayer/packets/client/LoadIslandPacket.d.ts +1 -0
- package/definitions/game/save/upgrade/UpgradeIsland.d.ts +0 -4
- package/definitions/game/ui/component/ContextMenu.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/static/actions/ActionsDrawer.d.ts +13 -7
- package/definitions/test/interfaces.d.ts +1 -0
- package/package.json +1 -1
|
@@ -67,6 +67,7 @@ export default class Multiplayer extends EventEmitter.Host<IMultiplayerEvents> {
|
|
|
67
67
|
isServer(): boolean;
|
|
68
68
|
isClient(): boolean;
|
|
69
69
|
getPlayerIdentifier(): string;
|
|
70
|
+
setPlayerIdentifier(identifier: string): void;
|
|
70
71
|
getOptions(): IMultiplayerOptions;
|
|
71
72
|
setOptions(options: IMultiplayerOptions, updateGame?: boolean): void;
|
|
72
73
|
updateOptions(updates: Partial<IMultiplayerOptions>): void;
|
|
@@ -12,6 +12,7 @@ import type { IslandId } from "game/island/IIsland";
|
|
|
12
12
|
import ClientPacket from "multiplayer/packets/ClientPacket";
|
|
13
13
|
export default class LoadIslandPacket extends ClientPacket<Promise<void>> {
|
|
14
14
|
islandId: IslandId;
|
|
15
|
+
allowItemFixes: boolean;
|
|
15
16
|
getDebugInfo(): string;
|
|
16
17
|
isSyncCheckEnabled(): boolean;
|
|
17
18
|
process(): Promise<void>;
|
|
@@ -13,7 +13,7 @@ import type { IIcon } from "game/inspection/InfoProvider";
|
|
|
13
13
|
import Button from "ui/component/Button";
|
|
14
14
|
import Component from "ui/component/Component";
|
|
15
15
|
import type { TranslationGenerator } from "ui/component/IComponent";
|
|
16
|
-
import { Heading } from "ui/component/Text";
|
|
16
|
+
import Text, { Heading } from "ui/component/Text";
|
|
17
17
|
import type Bindable from "ui/input/Bindable";
|
|
18
18
|
import type Tooltip from "ui/tooltip/Tooltip";
|
|
19
19
|
export interface IContextMenuOptionCheckbox {
|
|
@@ -26,6 +26,7 @@ export declare type IContextMenuOptionDescription = {
|
|
|
26
26
|
translation: TranslationGenerator;
|
|
27
27
|
tooltip?: (tooltip: Tooltip) => any;
|
|
28
28
|
create?(option: ContextMenuOption): ContextMenuOption;
|
|
29
|
+
createText?(text: Text): ContextMenuOption;
|
|
29
30
|
submenu?(): ContextMenu;
|
|
30
31
|
onActivate?(): any;
|
|
31
32
|
checkbox?: IContextMenuOptionCheckbox;
|
|
@@ -15,10 +15,13 @@ import ChoiceList, { Choice } from "ui/component/ChoiceList";
|
|
|
15
15
|
import Component from "ui/component/Component";
|
|
16
16
|
import HorizontalLine from "ui/component/HorizontalLine";
|
|
17
17
|
import type { IRefreshable } from "ui/component/Refreshable";
|
|
18
|
-
import Text
|
|
18
|
+
import Text from "ui/component/Text";
|
|
19
19
|
import { IActionBarSlotData } from "ui/screen/screens/game/static/actions/IActionBar";
|
|
20
20
|
declare enum Classes {
|
|
21
21
|
Main = "game-action-configuration-drawer",
|
|
22
|
+
Header = "game-action-configuration-drawer-header",
|
|
23
|
+
HeaderTitle = "game-action-configuration-drawer-header-title",
|
|
24
|
+
ButtonClose = "game-action-configuration-drawer-button-close",
|
|
22
25
|
Column = "game-action-configuration-drawer-column",
|
|
23
26
|
ColumnContent = "game-action-configuration-drawer-column-content",
|
|
24
27
|
ColumnsContainer = "game-action-configuration-drawer-columns-container",
|
|
@@ -31,6 +34,7 @@ declare enum Classes {
|
|
|
31
34
|
ActionButtonInapplicable = "game-action-configuration-drawer-action-button-inapplicable",
|
|
32
35
|
ActionButtonSlotted = "game-action-configuration-drawer-action-button-slotted",
|
|
33
36
|
ConfigurationColumnTitle = "game-action-configuration-drawer-column-title",
|
|
37
|
+
ConfigurationColumnDescription = "game-action-configuration-drawer-column-description",
|
|
34
38
|
ConfigurationColumnTitleInapplicable = "game-action-configuration-drawer-column-title-inapplicable"
|
|
35
39
|
}
|
|
36
40
|
export { Classes as ActionsConfigurationDrawerClasses };
|
|
@@ -47,6 +51,8 @@ export interface IActionsConfigurationDrawerEvents extends Events<Component> {
|
|
|
47
51
|
}
|
|
48
52
|
export default class ActionsConfigurationDrawer extends Component implements IRefreshable {
|
|
49
53
|
readonly event: IEventEmitter<this, IActionsConfigurationDrawerEvents>;
|
|
54
|
+
readonly header: Component<HTMLElement>;
|
|
55
|
+
readonly headerTitle: Text;
|
|
50
56
|
readonly acceptButton: Button;
|
|
51
57
|
readonly columnsContainer: Component<HTMLElement>;
|
|
52
58
|
readonly actionsColumn: Component<HTMLElement>;
|
|
@@ -54,17 +60,17 @@ export default class ActionsConfigurationDrawer extends Component implements IRe
|
|
|
54
60
|
readonly itemActionsColumn: Component<HTMLElement>;
|
|
55
61
|
readonly itemActionsColumnContent: Component<HTMLElement>;
|
|
56
62
|
readonly configurationColumn: Component<HTMLElement>;
|
|
57
|
-
readonly slotTitle: Heading;
|
|
58
63
|
readonly configurationColumnContents: Component<HTMLElement>;
|
|
64
|
+
readonly itemOrTypeChoiceList: ChoiceList<Choice<ItemMethod>, false>;
|
|
65
|
+
readonly useOnMoveCheckButton: CheckButton;
|
|
66
|
+
readonly hr1: HorizontalLine;
|
|
67
|
+
readonly removeSlotButton: Button;
|
|
68
|
+
readonly hr2: HorizontalLine;
|
|
69
|
+
readonly editBindingsButton: Button;
|
|
59
70
|
readonly hints: Component<HTMLElement>;
|
|
60
71
|
readonly hintUse: Component<HTMLElement>;
|
|
61
72
|
readonly hintToggle: Text;
|
|
62
73
|
readonly hintToggleUseOnMove: Text;
|
|
63
|
-
readonly editBindingsButton: Button;
|
|
64
|
-
readonly itemOrTypeChoiceList: ChoiceList<Choice<ItemMethod>, false>;
|
|
65
|
-
readonly useOnMoveCheckButton: CheckButton;
|
|
66
|
-
readonly hr: HorizontalLine;
|
|
67
|
-
readonly removeSlotButton: Button;
|
|
68
74
|
get configuringNumber(): number | undefined;
|
|
69
75
|
get configuringSlotData(): number | undefined;
|
|
70
76
|
private current?;
|
|
@@ -26,6 +26,7 @@ export declare type IDedicatedServerGameOptions = ICommonGameOptions;
|
|
|
26
26
|
export interface IJoinServerOptions {
|
|
27
27
|
joinProgrammatically: boolean;
|
|
28
28
|
enableAllMilestoneModifiers?: boolean;
|
|
29
|
+
multiplayerIdentifier?: string;
|
|
29
30
|
}
|
|
30
31
|
export declare enum GameMode {
|
|
31
32
|
Hardcore = "Hardcore Mode",
|
package/package.json
CHANGED