@wayward/types 2.13.2-beta.dev.20230607.1 → 2.13.2-beta.dev.20230608.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/deity/IDeities.d.ts +10 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/stat/FerocityInfo.d.ts +10 -0
- package/definitions/game/game/inspection/infoProviders/stat/StatInfo.d.ts +10 -0
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +38 -37
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +1 -0
- package/definitions/game/language/Dictionary.d.ts +12 -12
- package/definitions/game/language/DictionaryMap.d.ts +24 -24
- package/definitions/game/language/dictionary/UiTranslation.d.ts +486 -485
- package/definitions/game/mod/IModManager.d.ts +4 -3
- package/definitions/game/steamworks/Steamworks.d.ts +3 -2
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +2 -2
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/multiplayer/ServerRow.d.ts +1 -1
- package/definitions/game/ui/util/Misc.d.ts +1 -0
- package/definitions/hosts/shared/interfaces.d.ts +3 -2
- package/package.json +1 -1
- /package/definitions/game/ui/screen/screens/game/component/{Item.d.ts → ItemComponent.d.ts} +0 -0
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export type ICanLoadInfo = {
|
|
12
12
|
name: string;
|
|
13
|
-
loadable:
|
|
13
|
+
loadable: CanLoadState.Loadable;
|
|
14
14
|
index: number;
|
|
15
15
|
} | {
|
|
16
16
|
name: string;
|
|
17
|
-
loadable:
|
|
17
|
+
loadable: CanLoadState.NotFound | CanLoadState.ModLoadError;
|
|
18
18
|
};
|
|
19
19
|
export declare enum CanLoadState {
|
|
20
20
|
Loadable = 0,
|
|
@@ -29,7 +29,8 @@ export declare enum CanLoadState {
|
|
|
29
29
|
WorkshopModPrecedence = 9,
|
|
30
30
|
IncompatibleVersion = 10,
|
|
31
31
|
DisabledInMultiplayer = 11,
|
|
32
|
-
ServerSideOnNonDedicatedServer = 12
|
|
32
|
+
ServerSideOnNonDedicatedServer = 12,
|
|
33
|
+
NotFound = 13
|
|
33
34
|
}
|
|
34
35
|
export declare enum ModLoadFailureReason {
|
|
35
36
|
IsDisabled = 0,
|
|
@@ -122,14 +122,15 @@ export default class Steamworks extends EventEmitter.Host<ISteamworksEvents> {
|
|
|
122
122
|
createArchive(id: string): Promise<void>;
|
|
123
123
|
getPublishedItems(): Promise<IWorkshopItem[]>;
|
|
124
124
|
openUrl(url: string): void;
|
|
125
|
-
openWorkshop(
|
|
125
|
+
openWorkshop(publishFileId?: string): Promise<void>;
|
|
126
126
|
openInviteDialog(): void;
|
|
127
127
|
openSaveFolder(): void;
|
|
128
128
|
openModsFolder(): Promise<void>;
|
|
129
129
|
openModFolder(modIndex: number): Promise<void>;
|
|
130
130
|
openLogsFolder(): void;
|
|
131
131
|
openBackupsFolder(): void;
|
|
132
|
-
|
|
132
|
+
subscribe(publishFileIds: string[]): Promise<void>;
|
|
133
|
+
unsubscribe(publishFileId: string): Promise<void>;
|
|
133
134
|
toggleDeveloperTools(): Promise<void>;
|
|
134
135
|
getModPath(name: string, modType: ModType, file?: string, checkIfExists?: boolean): Promise<IModPath | undefined>;
|
|
135
136
|
getModPathSync(name: string, modType: ModType, file?: string): IModPath | undefined;
|
|
@@ -14,8 +14,8 @@ import Component from "ui/component/Component";
|
|
|
14
14
|
import type { IBindHandlerApi } from "ui/input/Bind";
|
|
15
15
|
import Bindable from "ui/input/Bindable";
|
|
16
16
|
import Dialog from "ui/screen/screens/game/component/Dialog";
|
|
17
|
-
import type { IItemDropApi, IItemPickUpApi, ItemSlot } from "ui/screen/screens/game/component/
|
|
18
|
-
import ItemComponent, { ItemRefreshType } from "ui/screen/screens/game/component/
|
|
17
|
+
import type { IItemDropApi, IItemPickUpApi, ItemSlot } from "ui/screen/screens/game/component/ItemComponent";
|
|
18
|
+
import ItemComponent, { ItemRefreshType } from "ui/screen/screens/game/component/ItemComponent";
|
|
19
19
|
import EquipmentSlotTooltipHandler from "ui/screen/screens/game/dialog/equipment/EquipmentSlotTooltip";
|
|
20
20
|
import { MenuBarButtonType } from "ui/screen/screens/game/static/menubar/IMenuBarButton";
|
|
21
21
|
export declare enum EquipmentClasses {
|
|
@@ -24,8 +24,8 @@ import type { IRefreshable } from "ui/component/Refreshable";
|
|
|
24
24
|
import Text from "ui/component/Text";
|
|
25
25
|
import type { IBindHandlerApi } from "ui/input/Bind";
|
|
26
26
|
import { Quadrant } from "ui/screen/screens/game/component/IQuadrantComponent";
|
|
27
|
-
import type { IItemSlotEvents } from "ui/screen/screens/game/component/
|
|
28
|
-
import ItemComponent from "ui/screen/screens/game/component/
|
|
27
|
+
import type { IItemSlotEvents } from "ui/screen/screens/game/component/ItemComponent";
|
|
28
|
+
import ItemComponent from "ui/screen/screens/game/component/ItemComponent";
|
|
29
29
|
import QuadrantComponent from "ui/screen/screens/game/component/QuadrantComponent";
|
|
30
30
|
import ActionsConfigurationDrawer from "ui/screen/screens/game/static/actions/ActionsDrawer";
|
|
31
31
|
import ActionSlotTooltipHandler from "ui/screen/screens/game/static/actions/ActionSlotTooltip";
|
|
@@ -31,7 +31,7 @@ export declare class ServerRow extends Button implements IRefreshable, IGameIcon
|
|
|
31
31
|
private _place;
|
|
32
32
|
constructor(server: IServer, getFriend: (player: string) => ISteamFriend | undefined);
|
|
33
33
|
refresh(): this;
|
|
34
|
-
protected onActivate(): void;
|
|
34
|
+
protected onActivate(_: any, allowModDownloads?: boolean): void;
|
|
35
35
|
/**
|
|
36
36
|
* Check if the client can join the server
|
|
37
37
|
*/
|
|
@@ -14,6 +14,7 @@ export declare function startGame(gameOptions: IPlayOptions): void;
|
|
|
14
14
|
export declare enum ModLoadability {
|
|
15
15
|
NotEnabled = "notenabled",
|
|
16
16
|
Enabled = "enabled",
|
|
17
|
+
NotFound = "notfound",
|
|
17
18
|
Error = "error"
|
|
18
19
|
}
|
|
19
20
|
export declare function isModLoadable(publishId?: string): [string, ModLoadability];
|
|
@@ -70,7 +70,8 @@ export interface ISteamworks {
|
|
|
70
70
|
getLobbyMembers(lobbyId: string): ISteamFriend[] | undefined;
|
|
71
71
|
ugcGetUserItems(type: number, sort: number, listType: number, cb: (err: string | null, items: IWorkshopItem[]) => void): void;
|
|
72
72
|
ugcSynchronizeItems(path: string, cb: (err: string | null, items: IWorkshopItem[]) => void): void;
|
|
73
|
-
|
|
73
|
+
ugcSubscribe(publishFileId: string, cb: (err: string | null) => void): void;
|
|
74
|
+
ugcUnsubscribe(publishFileId: string, cb: (err: string | null) => void): void;
|
|
74
75
|
saveFilesToCloud(files: string[], cb: (err: string | null) => void): void;
|
|
75
76
|
publishWorkshopFile(path: string, imagePath: string, title: string, description: string, tags: string[], cb: (err: string | null, publishedFileId2: string) => void): void;
|
|
76
77
|
updatePublishedWorkshopFile(publishFileId: string, path: string, imagePath: string, title: string, description: string, tags: string[], cb: (err: string | null, publishedFileId2: string) => void): void;
|
|
@@ -249,7 +250,7 @@ export interface IServerGameDetails {
|
|
|
249
250
|
export interface IServerMod {
|
|
250
251
|
name: string;
|
|
251
252
|
version: string;
|
|
252
|
-
publishFileId
|
|
253
|
+
publishFileId?: string;
|
|
253
254
|
}
|
|
254
255
|
export interface IServerIslandDetails {
|
|
255
256
|
position: {
|
package/package.json
CHANGED
|
File without changes
|