@wayward/types 2.15.2-beta.dev.20251219.1 → 2.15.3-beta
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/.github/workflows/main.yml +1 -1
- package/definitions/eslint.config.d.mts +1 -1
- package/definitions/game/event/EventBuses.d.ts +8 -4
- package/definitions/game/event/EventManager.d.ts +3 -2
- package/definitions/game/game/curse/Curse.d.ts +26 -16
- package/definitions/game/game/curse/ICurse.d.ts +2 -1
- package/definitions/game/game/doodad/Doodad.d.ts +2 -1
- package/definitions/game/game/entity/Human.d.ts +18 -8
- package/definitions/game/game/entity/IEntity.d.ts +1 -0
- package/definitions/game/game/entity/IHuman.d.ts +15 -2
- package/definitions/game/game/entity/IStats.d.ts +8 -7
- package/definitions/game/game/entity/action/actions/CopyMap.d.ts +3 -0
- package/definitions/game/game/entity/action/actions/Craft.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CraftNew.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Drop.d.ts +11 -5
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Learn.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +1 -0
- package/definitions/game/game/entity/action/usable/actions/UsableActionsMain.d.ts +23 -21
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/actions/doodad/UsableActionsDumpItems.d.ts +13 -0
- package/definitions/game/game/entity/ai/AiManager.d.ts +1 -0
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +2 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +7 -2
- package/definitions/game/game/entity/creature/zone/ICreatureZone.d.ts +1 -1
- package/definitions/game/game/entity/data/DataComponent.d.ts +5 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +3 -0
- package/definitions/game/game/inspection/infoProviders/item/use/ItemSetDownInfo.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/stat/CurseInfo.d.ts +2 -0
- package/definitions/game/game/island/Island.d.ts +1 -1
- package/definitions/game/game/island/IslandManager.d.ts +8 -0
- package/definitions/game/game/island/automation/IAutomation.d.ts +1 -0
- package/definitions/game/game/item/ItemManager.d.ts +1 -1
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +1 -0
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +5 -1
- package/definitions/game/game/milestones/milestone/Doctor.d.ts +1 -1
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
- package/definitions/game/game/options/IGameOptions.d.ts +1 -1
- package/definitions/game/game/options/modifiers/custom/CustomModifierDefinitions.d.ts +43 -41
- package/definitions/game/game/options/modifiers/custom/ICustomModifier.d.ts +43 -42
- package/definitions/game/game/options/modifiers/custom/modifiers/CustomModifierStatCurse.d.ts +13 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +1 -1
- package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
- package/definitions/game/game/riddle/Riddle.d.ts +2 -1
- package/definitions/game/game/riddle/types/Treasure.d.ts +1 -1
- package/definitions/game/game/tile/ITileEvent.d.ts +1 -0
- package/definitions/game/game/tile/Tile.d.ts +1 -0
- package/definitions/game/language/DictionaryMap.d.ts +4 -4
- package/definitions/game/language/dictionary/Message.d.ts +547 -546
- package/definitions/game/language/dictionary/UiTranslation.d.ts +744 -741
- package/definitions/game/language/english/game/Riddles.d.ts +1 -1
- package/definitions/game/mod/ModRegistry.d.ts +62 -51
- package/definitions/game/multiplayer/IMultiplayer.d.ts +59 -58
- package/definitions/game/multiplayer/matchmaking/Matchmaking.d.ts +1 -1
- package/definitions/game/multiplayer/packets/server/UpdateCurseVisualStatePacket.d.ts +21 -0
- package/definitions/game/renderer/notifier/INotifier.d.ts +2 -1
- package/definitions/game/renderer/notifier/Notifier.d.ts +1 -0
- package/definitions/game/renderer/platform/webgl/WorldLayerRendererWebGl.d.ts +3 -1
- package/definitions/game/renderer/platform/webgpu/WorldLayerRendererWebGpu.d.ts +3 -1
- package/definitions/game/renderer/world/IWorldLayerRendererPlatform.d.ts +3 -1
- package/definitions/game/renderer/world/WorldLayerRenderer.d.ts +2 -0
- package/definitions/game/renderer/world/WorldRenderer.d.ts +2 -0
- package/definitions/game/save/clientStore/clientData/ExploredMap.d.ts +30 -0
- package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3-dev20260227.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3-dev20260308.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.3/beta2.15.3.d.ts +12 -0
- package/definitions/game/ui/component/ContextMenu.d.ts +1 -0
- package/definitions/game/ui/component/GameIcons.d.ts +5 -0
- package/definitions/game/ui/component/Input.d.ts +2 -0
- package/definitions/game/ui/input/Bindable.d.ts +4 -4
- package/definitions/game/ui/screen/screens/game/component/ContainerBucket.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/GameDetails.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -0
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +3 -1
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/static/stats/component/IStatComponent.d.ts +29 -0
- package/definitions/game/ui/screen/screens/game/static/stats/component/StatComponent.d.ts +0 -19
- package/definitions/game/ui/screen/screens/game/util/movement/ActionMenuHandler.d.ts +0 -2
- package/definitions/game/ui/screen/screens/game/util/movement/InteractionHandler.d.ts +3 -0
- package/definitions/game/ui/screen/screens/game/util/movement/InteractionManager.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/util/movement/PathQueryCache.d.ts +25 -0
- package/definitions/game/ui/screen/screens/menu/menus/multiplayer/ServerRow.d.ts +2 -0
- package/definitions/game/ui/screen/screens/menu/menus/pause/GameSettingsMenu.d.ts +3 -0
- package/definitions/game/utilities/trello/ITrello.d.ts +22 -0
- package/definitions/game/utilities/trello/Trello.d.ts +4 -7
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/server/matchmaking/globalServerDirectory.d.ts +1 -1
- package/definitions/test/suite/unitTests/game/CurseFoW.spec.d.ts +13 -0
- package/definitions/test/suite/unitTests/game/Items.spec.d.ts +13 -0
- package/definitions/utilities/enum/IEnum.d.ts +2 -1
- package/package.json +2 -2
- package/tsconfig.mod.base.json +1 -1
- /package/definitions/game/game/entity/action/usable/actions/{UsableActionsHidden.d.ts → UsableActionsSailing.d.ts} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 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 declare enum StatClasses {
|
|
12
|
+
List = "stats-list",
|
|
13
|
+
Row = "stat-row",
|
|
14
|
+
Row_FirstOfType = "stat-row--first-of-type",
|
|
15
|
+
RowBar = "stat-bar-row",
|
|
16
|
+
RowAttribute = "stat-attribute-row",
|
|
17
|
+
Main = "stat",
|
|
18
|
+
_Type_ = "stat--type-",
|
|
19
|
+
Label = "stat-label",
|
|
20
|
+
Display = "stat-display",
|
|
21
|
+
Text = "stat-text",
|
|
22
|
+
Bar = "stat-bar",
|
|
23
|
+
BarDisplay = "stat-bar-display",
|
|
24
|
+
BarLabel = "stat-bar-label",
|
|
25
|
+
Attribute = "stat-attribute",
|
|
26
|
+
AttributeMulti = "stat-attribute-multi",
|
|
27
|
+
AttributeDisplay = "stat-attribute-display",
|
|
28
|
+
AttributeLabel = "stat-attribute-label"
|
|
29
|
+
}
|
|
@@ -20,25 +20,6 @@ import Text from "@wayward/game/ui/component/Text";
|
|
|
20
20
|
import type { IStatDisplayDescription } from "@wayward/game/ui/screen/screens/game/static/stats/IStatDisplayDescription";
|
|
21
21
|
import ImagePath from "@wayward/game/ui/util/ImagePath";
|
|
22
22
|
import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
|
|
23
|
-
export declare enum StatClasses {
|
|
24
|
-
List = "stats-list",
|
|
25
|
-
Row = "stat-row",
|
|
26
|
-
Row_FirstOfType = "stat-row--first-of-type",
|
|
27
|
-
RowBar = "stat-bar-row",
|
|
28
|
-
RowAttribute = "stat-attribute-row",
|
|
29
|
-
Main = "stat",
|
|
30
|
-
_Type_ = "stat--type-",
|
|
31
|
-
Label = "stat-label",
|
|
32
|
-
Display = "stat-display",
|
|
33
|
-
Text = "stat-text",
|
|
34
|
-
Bar = "stat-bar",
|
|
35
|
-
BarDisplay = "stat-bar-display",
|
|
36
|
-
BarLabel = "stat-bar-label",
|
|
37
|
-
Attribute = "stat-attribute",
|
|
38
|
-
AttributeMulti = "stat-attribute-multi",
|
|
39
|
-
AttributeDisplay = "stat-attribute-display",
|
|
40
|
-
AttributeLabel = "stat-attribute-label"
|
|
41
|
-
}
|
|
42
23
|
export interface IStatComponentEvents extends Events<Component> {
|
|
43
24
|
refresh(): any;
|
|
44
25
|
update(): any;
|
|
@@ -24,7 +24,6 @@ export default class ActionMenuHandler extends InteractionHandler {
|
|
|
24
24
|
private overlay?;
|
|
25
25
|
private path?;
|
|
26
26
|
private contextMenu?;
|
|
27
|
-
private previewDistance;
|
|
28
27
|
protected onActionsInFront(api: IBindHandlerApi): boolean;
|
|
29
28
|
protected onActions(api: IBindHandlerApi): boolean;
|
|
30
29
|
private reset;
|
|
@@ -32,5 +31,4 @@ export default class ActionMenuHandler extends InteractionHandler {
|
|
|
32
31
|
private onHide;
|
|
33
32
|
private onContextMenuOptionHovered;
|
|
34
33
|
private updatePath;
|
|
35
|
-
private getInitialPath;
|
|
36
34
|
}
|
|
@@ -13,6 +13,7 @@ import type { IBindHandlerApi } from "@wayward/game/ui/input/Bind";
|
|
|
13
13
|
import type HoveredTileTracker from "@wayward/game/ui/screen/screens/game/util/HoveredTileTracker";
|
|
14
14
|
import type ActionMenuHandler from "@wayward/game/ui/screen/screens/game/util/movement/ActionMenuHandler";
|
|
15
15
|
import type MovementHandler from "@wayward/game/ui/screen/screens/game/util/movement/MovementHandler";
|
|
16
|
+
import type PathQueryCache from "@wayward/game/ui/screen/screens/game/util/movement/PathQueryCache";
|
|
16
17
|
import type PathingHandler from "@wayward/game/ui/screen/screens/game/util/movement/PathingHandler";
|
|
17
18
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
|
18
19
|
export interface IInteractionHandlerEvents {
|
|
@@ -23,6 +24,7 @@ export interface IInteractionHandlerHost {
|
|
|
23
24
|
surface?: Component;
|
|
24
25
|
hoveredTile: HoveredTileTracker;
|
|
25
26
|
movement: MovementHandler;
|
|
27
|
+
pathQuery: PathQueryCache;
|
|
26
28
|
pathing: PathingHandler;
|
|
27
29
|
actionMenu: ActionMenuHandler;
|
|
28
30
|
}
|
|
@@ -32,6 +34,7 @@ export default class InteractionHandler extends EventEmitter.Host<IInteractionHa
|
|
|
32
34
|
protected get host(): IInteractionHandlerHost | undefined;
|
|
33
35
|
protected get hoveredTile(): HoveredTileTracker | undefined;
|
|
34
36
|
protected get movement(): MovementHandler | undefined;
|
|
37
|
+
protected get pathQuery(): PathQueryCache | undefined;
|
|
35
38
|
protected get pathing(): PathingHandler | undefined;
|
|
36
39
|
protected get actionMenu(): ActionMenuHandler | undefined;
|
|
37
40
|
constructor(host: IInteractionHandlerHost);
|
|
@@ -13,12 +13,14 @@ import HoveredTileTracker from "@wayward/game/ui/screen/screens/game/util/Hovere
|
|
|
13
13
|
import ActionMenuHandler from "@wayward/game/ui/screen/screens/game/util/movement/ActionMenuHandler";
|
|
14
14
|
import type { IInteractionHandlerHost } from "@wayward/game/ui/screen/screens/game/util/movement/InteractionHandler";
|
|
15
15
|
import MovementHandler from "@wayward/game/ui/screen/screens/game/util/movement/MovementHandler";
|
|
16
|
+
import PathQueryCache from "@wayward/game/ui/screen/screens/game/util/movement/PathQueryCache";
|
|
16
17
|
import PathingHandler from "@wayward/game/ui/screen/screens/game/util/movement/PathingHandler";
|
|
17
18
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
|
18
19
|
export interface IInteractionManagerEvents {
|
|
19
20
|
}
|
|
20
21
|
export default class InteractionManager extends EventEmitter.Host<IInteractionManagerEvents> implements IInteractionHandlerHost {
|
|
21
22
|
readonly hoveredTile: HoveredTileTracker;
|
|
23
|
+
readonly pathQuery: PathQueryCache;
|
|
22
24
|
readonly pathing: PathingHandler;
|
|
23
25
|
readonly movement: MovementHandler;
|
|
24
26
|
readonly actionMenu: ActionMenuHandler;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 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
|
+
import { type InteractionDistance as InteractionDistanceTypeOrRange } from "@wayward/game/game/entity/action/usable/IUsableAction";
|
|
12
|
+
import { MoveFlag } from "@wayward/game/game/entity/IEntity";
|
|
13
|
+
import type Tile from "@wayward/game/game/tile/Tile";
|
|
14
|
+
import InteractionHandler from "@wayward/game/ui/screen/screens/game/util/movement/InteractionHandler";
|
|
15
|
+
export default class PathQueryCache extends InteractionHandler {
|
|
16
|
+
private target?;
|
|
17
|
+
private readonly paths;
|
|
18
|
+
deregister(): this;
|
|
19
|
+
getPath(targetTile: Tile, distance?: InteractionDistanceTypeOrRange): Tile[] | undefined;
|
|
20
|
+
reset(targetTile?: Tile): void;
|
|
21
|
+
protected onPlayerStateChange(): void;
|
|
22
|
+
protected onPlayerPostMove(_player: typeof localPlayer, _lastTile: Tile, _tile: Tile, moveFlag: MoveFlag): void;
|
|
23
|
+
protected onTickEnd(): void;
|
|
24
|
+
private getKey;
|
|
25
|
+
}
|
|
@@ -25,6 +25,8 @@ export declare class ServerRow extends Button implements IRefreshable, IGameIcon
|
|
|
25
25
|
get pvp(): boolean;
|
|
26
26
|
get mods(): Array<[string, ModLoadability]>;
|
|
27
27
|
get friends(): ISteamFriend[];
|
|
28
|
+
get milestoneModifiersAllowed(): boolean;
|
|
29
|
+
readonly alwaysShowMultiplayerInfo = true;
|
|
28
30
|
private readonly headingPlace;
|
|
29
31
|
private readonly gameIcons;
|
|
30
32
|
private _server;
|
|
@@ -8,14 +8,17 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
+
import Button from "@wayward/game/ui/component/Button";
|
|
11
12
|
import { RangeRow } from "@wayward/game/ui/component/RangeRow";
|
|
12
13
|
import ChoiceListTurnMode from "@wayward/game/ui/screen/screens/menu/component/ChoiceListTurnModes";
|
|
13
14
|
import Menu from "@wayward/game/ui/screen/screens/menu/component/Menu";
|
|
14
15
|
export default class GameSettingsMenu extends Menu {
|
|
15
16
|
readonly turnMode: ChoiceListTurnMode;
|
|
16
17
|
readonly tickSpeed: RangeRow;
|
|
18
|
+
readonly copyGameSeed: Button;
|
|
17
19
|
constructor();
|
|
18
20
|
protected refresh(): void;
|
|
19
21
|
private updateTurnModes;
|
|
20
22
|
private onChangeTurnMode;
|
|
23
|
+
private copyGameSeedClick;
|
|
21
24
|
}
|
|
@@ -33,15 +33,25 @@ export interface ITrelloCard {
|
|
|
33
33
|
labels: ITrelloCardLabel[];
|
|
34
34
|
important: boolean;
|
|
35
35
|
desc?: string;
|
|
36
|
+
shortUrl?: string;
|
|
37
|
+
dateLastActivity?: string;
|
|
38
|
+
idMembers?: string[];
|
|
39
|
+
authors?: ITrelloMember[];
|
|
36
40
|
}
|
|
37
41
|
export interface ITrelloCardCover {
|
|
38
42
|
url: string;
|
|
43
|
+
sourceUrl?: string;
|
|
39
44
|
}
|
|
40
45
|
export interface ITrelloCardLabel {
|
|
41
46
|
id: string;
|
|
42
47
|
name: string;
|
|
43
48
|
color: string;
|
|
44
49
|
}
|
|
50
|
+
export interface ITrelloMember {
|
|
51
|
+
id: string;
|
|
52
|
+
fullName: string;
|
|
53
|
+
avatarUrl?: string;
|
|
54
|
+
}
|
|
45
55
|
export interface ITrelloChangelog {
|
|
46
56
|
version: IVersionInfo;
|
|
47
57
|
list: ITrelloList;
|
|
@@ -51,6 +61,18 @@ export interface IChangelog {
|
|
|
51
61
|
sections: Partial<Record<ChangeType, ITrelloCard[]>>;
|
|
52
62
|
changeCount: number;
|
|
53
63
|
}
|
|
64
|
+
export interface ISerializedVersionInfo extends Omit<IVersionInfo, "date"> {
|
|
65
|
+
date?: string;
|
|
66
|
+
strPretty?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface ISerializedChangelog extends Omit<IChangelog, "version"> {
|
|
69
|
+
version: ISerializedVersionInfo;
|
|
70
|
+
}
|
|
71
|
+
export interface IGeneratedChangelog {
|
|
72
|
+
versions: ISerializedVersionInfo[];
|
|
73
|
+
changelogs: Record<string, ISerializedChangelog>;
|
|
74
|
+
generatedAt: string;
|
|
75
|
+
}
|
|
54
76
|
export declare enum ChangeType {
|
|
55
77
|
New = 0,
|
|
56
78
|
Improvement = 1,
|
|
@@ -9,15 +9,12 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { IVersionInfo } from "@wayward/utilities/Version";
|
|
12
|
-
import type { IChangelog, ITrello,
|
|
12
|
+
import type { IChangelog, ITrello, ITrelloCard } from "@wayward/game/utilities/trello/ITrello";
|
|
13
13
|
export default class Trello implements ITrello {
|
|
14
|
+
private generatedChangelog?;
|
|
14
15
|
getCard(id: string, ...fields: string[]): Promise<ITrelloCard>;
|
|
15
16
|
getChangelog(versionInfo: IVersionInfo): Promise<IChangelog | undefined>;
|
|
16
|
-
getVersions(maxVersion?: IVersionInfo
|
|
17
|
-
private
|
|
18
|
-
private getBoard;
|
|
19
|
-
private getListVersionInfo;
|
|
20
|
-
private findChangelogList;
|
|
21
|
-
private parseChangelog;
|
|
17
|
+
getVersions(maxVersion?: IVersionInfo): Promise<IVersionInfo[]>;
|
|
18
|
+
private getGeneratedChangelog;
|
|
22
19
|
}
|
|
23
20
|
export declare const trello: Trello;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { IWaywardTitle } from "@wayward/hosts/shared/globalTypes";
|
|
12
|
-
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch =
|
|
13
|
-
export declare const gameVersion = "beta2.15.
|
|
12
|
+
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch = 3, gameVersionName = "Cursebreaker", gameVersionColor = 5186397;
|
|
13
|
+
export declare const gameVersion = "beta2.15.3";
|
|
14
14
|
export declare const gameVersionTitleMajor = "Wayward: Cursebreaker";
|
|
15
15
|
export declare const gameVersionTitleMinor: string;
|
|
16
16
|
export declare const gameVersionTitle: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
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
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
|
-
import
|
|
11
|
+
import ws from "ws";
|
|
12
12
|
import Server from "./server";
|
|
13
13
|
import * as shared from "./shared";
|
|
14
14
|
export default class GlobalServerDirectory extends Server {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 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
|
+
import type { IPaths } from "@wayward/test/interfaces";
|
|
12
|
+
import type { TestConfig } from "@wayward/test";
|
|
13
|
+
export default function (_paths: IPaths, _config: TestConfig): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2011-2025 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
|
+
import type { TestConfig } from "@wayward/test";
|
|
12
|
+
import type { IPaths } from "@wayward/test/interfaces";
|
|
13
|
+
export default function (paths: IPaths, config: TestConfig): void;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wayward/types",
|
|
3
3
|
"description": "TypeScript declarations for Wayward, used for modding.",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.3-beta",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/WaywardGame/types.git"
|
|
8
|
+
"url": "git+https://github.com/WaywardGame/types.git"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"clean": "npx rimraf ./definitions ./*.tsbuildinfo"
|
package/tsconfig.mod.base.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
+
"ignoreDeprecations": "6.0",
|
|
3
4
|
"target": "ES2023",
|
|
4
5
|
"module": "AMD",
|
|
5
6
|
"moduleResolution": "node",
|
|
@@ -31,7 +32,6 @@
|
|
|
31
32
|
"types": [],
|
|
32
33
|
"lib": [
|
|
33
34
|
"DOM",
|
|
34
|
-
"DOM.Iterable",
|
|
35
35
|
"ES2023",
|
|
36
36
|
"ESNext",
|
|
37
37
|
"WebWorker.ImportScripts",
|
|
File without changes
|