@wayward/types 2.14.3-beta.dev.20241226.1 → 2.14.4-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/definitions/game/IGlobal.d.ts +2 -9
- package/definitions/game/game/Game.d.ts +7 -7
- package/definitions/game/game/IGame.d.ts +18 -2
- package/definitions/game/game/ILoot.d.ts +1 -0
- package/definitions/game/game/IObject.d.ts +3 -2
- package/definitions/game/game/doodad/Doodad.d.ts +18 -9
- package/definitions/game/game/doodad/DoodadManager.d.ts +2 -0
- package/definitions/game/game/doodad/DoodadUtilities.d.ts +25 -0
- package/definitions/game/game/doodad/IDoodad.d.ts +30 -0
- package/definitions/game/game/entity/Entity.d.ts +11 -4
- package/definitions/game/game/entity/EntityManager.d.ts +10 -3
- package/definitions/game/game/entity/Human.d.ts +17 -4
- package/definitions/game/game/entity/action/ActionExecutor.d.ts +9 -8
- package/definitions/game/game/entity/action/ActionsRegistration.d.ts +32 -30
- package/definitions/game/game/entity/action/IAction.d.ts +30 -23
- package/definitions/game/game/entity/action/actions/Absorb.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Alter.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +1 -1
- 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/DetachContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DiscoverRecipe.d.ts +14 -0
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DumpItems.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Enhance.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ExcavateCollapse.d.ts +24 -0
- package/definitions/game/game/entity/action/actions/Extinguish.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Exude.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Kneel.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Repair.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Rest.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Rotate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAi.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetTitle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Stack.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/SwapWithArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Transmogrify.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/helper/ConfirmDumpDropItems.d.ts +13 -0
- package/definitions/game/game/entity/action/usable/IUsableAction.d.ts +18 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +2 -0
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +3 -1
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/creature/Creature.d.ts +11 -2
- package/definitions/game/game/entity/creature/CreatureManager.d.ts +2 -1
- package/definitions/game/game/entity/creature/ICreature.d.ts +25 -1
- package/definitions/game/game/entity/player/Player.d.ts +17 -2
- package/definitions/game/game/entity/player/quest/quest/IQuest.d.ts +1 -0
- package/definitions/game/game/inspection/InfoProvider.d.ts +0 -2
- package/definitions/game/game/inspection/infoProviders/LevelValue.d.ts +3 -1
- package/definitions/game/game/inspection/infoProviders/MagicalDamageReduction.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/MagicalDamageRegeneration.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/MagicalPropertyValue.d.ts +3 -2
- package/definitions/game/game/inspection/infoProviders/creature/CreatureTamedInfo.d.ts +1 -0
- package/definitions/game/game/inspection/infoProviders/doodad/DoodadScareRadius.d.ts +20 -0
- package/definitions/game/game/inspection/infoProviders/doodad/StillWater.d.ts +3 -5
- package/definitions/game/game/inspection/infoProviders/item/ItemInvoke.d.ts +20 -0
- package/definitions/game/game/inspection/infoProviders/item/MagicalSourceTooltip.d.ts +2 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemBuildInfo.d.ts +4 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemConsumeInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/item/use/ItemEquipInfo.d.ts +1 -1
- package/definitions/game/game/inspection/infoProviders/stat/GenericInfo.d.ts +1 -0
- package/definitions/game/game/inspection/inspections/MagicInspection.d.ts +2 -2
- package/definitions/game/game/island/Island.d.ts +10 -3
- package/definitions/game/game/island/automation/IAutomation.d.ts +10 -0
- package/definitions/game/game/item/IItem.d.ts +28 -14
- package/definitions/game/game/item/IItemManager.d.ts +2 -2
- package/definitions/game/game/item/Item.d.ts +20 -8
- package/definitions/game/game/item/ItemFinder.d.ts +2 -1
- package/definitions/game/game/item/ItemManager.d.ts +7 -7
- package/definitions/game/game/item/ItemReference.d.ts +3 -3
- package/definitions/game/game/item/MagicalLoot.d.ts +21 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +85 -0
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +7 -75
- package/definitions/game/game/magic/MagicalPropertyType.d.ts +25 -6
- package/definitions/game/game/mapgen/IMapGen.d.ts +1 -1
- package/definitions/game/game/mapgen/MapGenHelpers.d.ts +1 -1
- package/definitions/game/game/meta/SaveLoad.d.ts +1 -1
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +111 -109
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
- package/definitions/game/game/milestones/Milestones.d.ts +2 -0
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
- package/definitions/game/game/options/GameOptions.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifier.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +126 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Benevolent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Boundless.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Crafter.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Curator.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Dedicated.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Diverse.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Doctor.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/DragonSlayer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exsanguinated.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Exterminator.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gardener.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Gatherer.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Grandmaster.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Helmsman.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hounded.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Hunter.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Huntsman.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Invoker.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Locksmith.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Malevolent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/MasterOfAll.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Merchant.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Multitasker.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Navigator.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Operator.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Retailer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Rouseabout.d.ts +4 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/RunekeeperModifier.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Serene.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Statistician.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Talented.d.ts +3 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Thrower.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Traitor.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Trapper.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Treasurer.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Turbulent.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/Versatile.d.ts +2 -0
- package/definitions/game/game/options/modifiers/milestone/modifiers/shared/StatBonusMilestoneModifier.d.ts +2 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +2 -1
- package/definitions/game/game/reference/ReferenceManager.d.ts +1 -1
- package/definitions/game/game/tile/ITileEvent.d.ts +2 -1
- package/definitions/game/game/tile/Tile.d.ts +37 -3
- package/definitions/game/game/tile/TileEvent.d.ts +0 -1
- package/definitions/game/game/tile/TileEventManager.d.ts +1 -1
- package/definitions/game/game/tile/events/Fire.d.ts +1 -1
- package/definitions/game/game/tile/events/MeltingTile.d.ts +1 -1
- package/definitions/game/game/tile/events/Puddles.d.ts +1 -1
- package/definitions/game/game/time/TimeManager.d.ts +8 -0
- package/definitions/game/language/Dictionary.d.ts +60 -58
- package/definitions/game/language/DictionaryMap.d.ts +122 -114
- package/definitions/game/language/ITranslation.d.ts +2 -0
- package/definitions/game/{multiplayer/packets/shared/DiscoverRecipePacket.d.ts → language/MagicAffix.d.ts} +5 -9
- package/definitions/game/language/Translation.d.ts +1 -2
- package/definitions/game/language/dictionary/Health.d.ts +2 -1
- package/definitions/game/language/dictionary/Message.d.ts +855 -830
- package/definitions/game/language/dictionary/Misc.d.ts +31 -26
- package/definitions/game/language/dictionary/UiTranslation.d.ts +931 -910
- package/definitions/game/language/english/item/MagicalPropertyAffixes.d.ts +13 -0
- package/definitions/game/language/english/item/MagicalSubPropertyAffixes.d.ts +13 -0
- package/definitions/game/language/impl/TranslationImpl.d.ts +8 -2
- package/definitions/game/mod/IMod.d.ts +1 -1
- package/definitions/game/multiplayer/IMultiplayer.d.ts +79 -76
- package/definitions/game/multiplayer/Multiplayer.d.ts +1 -1
- package/definitions/game/multiplayer/SyncRegion.d.ts +22 -0
- package/definitions/game/multiplayer/packets/IPacket.d.ts +3 -1
- package/definitions/game/renderer/IRenderer.d.ts +27 -26
- package/definitions/game/renderer/RenderersNotifiers.d.ts +2 -2
- package/definitions/game/renderer/notifier/INotifier.d.ts +51 -2
- package/definitions/game/renderer/notifier/Notifier.d.ts +2 -2
- package/definitions/game/renderer/world/WorldRenderer.d.ts +2 -1
- package/definitions/game/resource/IResourceLoader.d.ts +18 -18
- package/definitions/game/save/ISaveManager.d.ts +1 -1
- package/definitions/game/save/SaveManager.d.ts +1 -1
- package/definitions/game/save/SaveMetadata.d.ts +1 -1
- package/definitions/game/save/data/ISaveData.d.ts +23 -0
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +3 -0
- package/definitions/game/save/data/SaveData.d.ts +10 -1
- package/definitions/game/save/data/SaveDataGlobal.d.ts +1 -1
- package/definitions/game/save/serializer/ISerializer.d.ts +1 -1
- package/definitions/game/save/serializer/PropertiesToSerialize.d.ts +5 -1
- package/definitions/game/save/serializer/Serializer.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradePlayer.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradeSaveDataGlobal.d.ts +1 -1
- package/definitions/game/save/upgrade/UpgradeVersion.d.ts +18 -3
- package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +4 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/_beta.2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev00000001.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev00000002.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240827.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240828.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240829.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240901.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20240905.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241024.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.0/beta2.14.0-dev20241129.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.3/beta2.14.3-dev20241223.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta.2.14.4-dev20250422.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta2.14.4-dev20241231.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.14.4/beta2.14.4-dev20250220.d.ts +12 -0
- package/definitions/game/steamworks/ISteamworks.d.ts +1 -6
- package/definitions/game/steamworks/Steamworks.d.ts +14 -5
- package/definitions/game/ui/{screen/screens/splash → component}/Notice.d.ts +4 -2
- package/definitions/game/ui/component/dropdown/IslandDropdown.d.ts +1 -1
- package/definitions/game/ui/component/dropdown/MagicalPropertyDropdown.d.ts +1 -2
- package/definitions/game/ui/input/Bindable.d.ts +143 -142
- package/definitions/game/ui/input/InputManager.d.ts +4 -2
- package/definitions/game/ui/input/Macros.d.ts +1 -1
- package/definitions/game/ui/screen/screens/SplashScreen.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/DialogManager.d.ts +8 -3
- package/definitions/game/ui/screen/screens/game/InspectionsTooltipHandler.d.ts +5 -1
- package/definitions/game/ui/screen/screens/game/ReferenceTooltipHandler.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/component/InspectionsList.d.ts +0 -1
- package/definitions/game/ui/screen/screens/game/component/ItemComponent.d.ts +6 -0
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +4 -0
- package/definitions/game/ui/screen/screens/game/component/item/ItemComponentEventBus.d.ts +2 -1
- package/definitions/game/ui/screen/screens/game/dialog/EquipmentDialog.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/MilestonesDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/dialog/QuestDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/dialog/equipment/EquipmentSlotTooltip.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/dialog/unlockables/UnlockablesDialog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/actions/ActionSlot.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/static/messages/MessageLog.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/util/item/ItemStylesheet.d.ts +12 -0
- package/definitions/game/ui/screen/screens/menu/menus/main/ChangelogMenu.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/ErrorReportingNotice.d.ts +14 -0
- package/definitions/game/ui/screen/screens/menu/menus/options/TabDeveloper.d.ts +3 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/TabSaveData.d.ts +1 -0
- package/definitions/game/ui/screen/screens/splash/DevelopmentBranchNotice.d.ts +1 -1
- package/definitions/game/ui/tooltip/Tooltip.d.ts +2 -2
- package/definitions/game/ui/util/ComponentManipulator.d.ts +6 -5
- package/definitions/game/ui/util/Draggable.d.ts +8 -15
- package/definitions/game/ui/util/HighlightManager.d.ts +11 -1
- package/definitions/game/ui/util/IHighlight.d.ts +1 -0
- package/definitions/game/utilities/Observer.d.ts +1 -1
- package/definitions/game/utilities/VersionTranslation.d.ts +18 -0
- package/definitions/game/utilities/dev/Debug.d.ts +4 -0
- package/definitions/game/utilities/dev/Performance2.d.ts +1 -0
- package/definitions/game/utilities/memory/MemoryLeakDetector.d.ts +8 -2
- package/definitions/game/utilities/object/Merge.d.ts +3 -0
- package/definitions/game/utilities/object/PrettyJsonStringify.d.ts +23 -0
- package/definitions/game/utilities/trello/ITrello.d.ts +1 -1
- package/definitions/game/utilities/trello/Trello.d.ts +1 -1
- package/definitions/hosts/node/nodeLoader.d.ts +1 -0
- package/definitions/hosts/shared/globalTypes.d.ts +6 -0
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/lint/condition-complexity.d.mts +31 -0
- package/definitions/{devserver/middleware/util → server/core}/Middleware.d.ts +1 -0
- package/definitions/{devserver → server/core}/middleware/E404.d.ts +1 -1
- package/definitions/server/core/middleware/Probe.d.ts +13 -0
- package/definitions/{devserver → server/core}/middleware/Static.d.ts +1 -1
- package/definitions/{devserver → server/core}/middleware/Validate.d.ts +1 -1
- package/definitions/{devserver/middleware → server/core}/util/SendFile.d.ts +1 -1
- package/definitions/{matchmakingserver → server/dev}/index.d.ts +1 -3
- package/definitions/{devserver → server/dev}/middleware/CustomInternalMods.d.ts +1 -1
- package/definitions/{devserver → server/dev}/middleware/SaveFolder.d.ts +1 -1
- package/definitions/server/error/Router.d.ts +13 -0
- package/definitions/server/error/index.d.ts +11 -0
- package/definitions/server/error/middleware/ReportError.d.ts +13 -0
- package/definitions/server/error/util/SendDiscordMessage.d.ts +19 -0
- package/definitions/{matchmakingserver → server/matchmaking}/dedicatedServer.d.ts +1 -1
- package/definitions/test/core/applicationDom.d.ts +4 -2
- package/definitions/test/core/applicationInteractions.d.ts +4 -0
- package/definitions/test/suite/functionalTests/singleplayer/ui/DialogLeak.d.ts +13 -0
- package/definitions/{devserver/index.d.ts → utilities/ApplyTsConfigPaths.d.ts} +1 -1
- package/definitions/utilities/Errors.d.ts +4 -0
- package/definitions/utilities/Functions.d.ts +1 -1
- package/definitions/utilities/Log.d.ts +35 -3
- package/definitions/{game/utilities → utilities}/Version.d.ts +5 -9
- package/definitions/utilities/dev/DebugShared.d.ts +23 -0
- package/definitions/utilities/event/EventEmitter.d.ts +39 -7
- package/definitions/utilities/memory/ILifetime.d.ts +5 -1
- package/definitions/utilities/object/Objects.d.ts +9 -0
- package/definitions/utilities/prototype/Array.d.ts +2 -1
- package/definitions/utilities/prototype/Define.d.ts +2 -0
- package/definitions/utilities/random/IRandom.d.ts +1 -1
- package/definitions/utilities/random/Random.d.ts +1 -1
- package/definitions/utilities/random/RandomUtilities.d.ts +2 -2
- package/definitions/utilities/random/SeededGenerator.d.ts +1 -1
- package/definitions/utilities/{typesglobal → types}/Types.d.ts +3 -0
- package/definitions/utilities/types.d.ts +18 -0
- package/package.json +3 -3
- /package/definitions/game/game/entity/action/actions/helper/{ConfirmGatherHarvest.d.ts → ConfirmGatherHarvestButcher.d.ts} +0 -0
- /package/definitions/{devserver → server/core}/util/Log.d.ts +0 -0
- /package/definitions/{devserver → server/dev}/Router.d.ts +0 -0
- /package/definitions/{devserver/middleware → server/dev}/util/GameLogFilter.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/directoryConnection.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/globalMatchmaking.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/globalServerDirectory.d.ts +0 -0
- /package/definitions/{matchmakingserver/vps.d.ts → server/matchmaking/index.d.ts} +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/server.d.ts +0 -0
- /package/definitions/{matchmakingserver → server/matchmaking}/shared.d.ts +0 -0
- /package/definitions/utilities/{types → type}/Assert.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Class.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Descriptions.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Function.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Immutable.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Iterables.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Misc.d.ts +0 -0
- /package/definitions/utilities/{typesglobal → types}/Objects.d.ts +0 -0
@@ -112,148 +112,149 @@ declare enum Bindable {
|
|
112
112
|
GameActionEquipLeft = 93,
|
113
113
|
GameActionEquipRight = 94,
|
114
114
|
GameActionEquipUnequip = 95,
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
115
|
+
GameActionExcavateCollapse = 96,
|
116
|
+
GameActionFireAddFuelWithItem = 97,
|
117
|
+
GameActionFireExtinguish = 98,
|
118
|
+
GameActionFireIgnite = 99,
|
119
|
+
GameActionFireIgniteWithItem = 100,
|
120
|
+
GameActionFireSmother = 101,
|
121
|
+
GameActionFireStart = 102,
|
122
|
+
GameActionFireStoke = 103,
|
123
|
+
GameActionGatherButcher = 104,
|
124
|
+
GameActionGatherChop = 105,
|
125
|
+
GameActionGatherDig = 106,
|
126
|
+
GameActionGatherDigWithHands = 107,
|
127
|
+
GameActionGatherGatherWithHands = 108,
|
128
|
+
GameActionGatherHarvest = 109,
|
129
|
+
GameActionGatherHarvestWithHands = 110,
|
130
|
+
GameActionGatherMine = 111,
|
131
|
+
GameActionGrasp = 112,
|
132
|
+
GameActionHitch = 113,
|
133
|
+
GameActionHitchToggle = 114,
|
134
|
+
GameActionHitchUnhitch = 115,
|
135
|
+
GameActionImproveBasicEnhance = 116,
|
136
|
+
GameActionImproveBasicEnhanceWithItem = 117,
|
137
|
+
GameActionImproveBasicPreserve = 118,
|
138
|
+
GameActionImproveBasicPreserveWithItem = 119,
|
139
|
+
GameActionImproveBasicRefine = 120,
|
140
|
+
GameActionImproveBasicRefineWithItem = 121,
|
141
|
+
GameActionImproveBasicReinforce = 122,
|
142
|
+
GameActionImproveBasicReinforceWithItem = 123,
|
143
|
+
GameActionImproveBasicRepair = 124,
|
144
|
+
GameActionImproveBasicRepairWithItem = 125,
|
145
|
+
GameActionImproveBasicReshape = 126,
|
146
|
+
GameActionImproveBasicReshapeWithItem = 127,
|
147
|
+
GameActionImproveMagicAbsorb = 128,
|
148
|
+
GameActionImproveMagicAbsorbWithItem = 129,
|
149
|
+
GameActionImproveMagicAlter = 130,
|
150
|
+
GameActionImproveMagicAlterWithItem = 131,
|
151
|
+
GameActionImproveMagicEnchant = 132,
|
152
|
+
GameActionImproveMagicEnchantWithItem = 133,
|
153
|
+
GameActionImproveMagicExude = 134,
|
154
|
+
GameActionImproveMagicExudeWithItem = 135,
|
155
|
+
GameActionImproveMagicTransmogrify = 136,
|
156
|
+
GameActionImproveMagicTransmogrifyWithItem = 137,
|
157
|
+
GameActionImproveMagicUpgrade = 138,
|
158
|
+
GameActionImproveMagicUpgradeWithItem = 139,
|
159
|
+
GameActionItemContainerDumpItems = 140,
|
160
|
+
GameActionItemContainerMoveContents = 141,
|
161
|
+
GameActionItemContainerStateClose = 142,
|
162
|
+
GameActionItemContainerStateOpen = 143,
|
163
|
+
GameActionItemDestinationActiveContainer = 144,
|
164
|
+
GameActionItemDestinationFacingContainer = 145,
|
165
|
+
GameActionItemDestinationInventory = 146,
|
166
|
+
GameActionItemDrop = 147,
|
167
|
+
GameActionItemDropAll = 148,
|
168
|
+
GameActionItemDropAllOfSameQuality = 149,
|
169
|
+
GameActionItemMove = 150,
|
170
|
+
GameActionItemMoveAll = 151,
|
171
|
+
GameActionItemMoveAllOfSameQuality = 152,
|
172
|
+
GameActionItemPickUpAllItems = 153,
|
173
|
+
GameActionItemPickUpItem = 154,
|
174
|
+
GameActionJump = 155,
|
175
|
+
GameActionLearn = 156,
|
176
|
+
GameActionLiquidGather = 157,
|
177
|
+
GameActionLiquidPour = 158,
|
178
|
+
GameActionLiquidPourOnYourself = 159,
|
179
|
+
GameActionLockpick = 160,
|
180
|
+
GameActionMapDraw = 161,
|
181
|
+
GameActionMapRead = 162,
|
182
|
+
GameActionNavigate = 163,
|
183
|
+
GameActionOpenBottle = 164,
|
184
|
+
GameActionPickUpDoodad = 165,
|
185
|
+
GameActionPickUpExcrementWithHands = 166,
|
186
|
+
GameActionPlant = 167,
|
187
|
+
GameActionProtect = 168,
|
188
|
+
GameActionProtectUnprotect = 169,
|
189
|
+
GameActionRead = 170,
|
190
|
+
GameActionRename = 171,
|
191
|
+
GameActionRest = 172,
|
192
|
+
GameActionRestSleep = 173,
|
193
|
+
GameActionRotate = 174,
|
194
|
+
GameActionSqueeze = 175,
|
195
|
+
GameActionStillAttachContainer = 176,
|
196
|
+
GameActionStillDetachContainer = 177,
|
197
|
+
GameActionSummon = 178,
|
198
|
+
GameActionTame = 179,
|
199
|
+
GameActionTameOffer = 180,
|
200
|
+
GameActionTamePet = 181,
|
201
|
+
GameActionTameRelease = 182,
|
202
|
+
GameActionTeleport = 183,
|
203
|
+
GameActionTellTime = 184,
|
204
|
+
GameActionTestDepth = 185,
|
205
|
+
GameActionTill = 186,
|
206
|
+
GameActionTillUntill = 187,
|
207
|
+
GameActionTillWithHands = 188,
|
208
|
+
GameActionTrade = 189,
|
209
|
+
GameActionTradeBuyFromTrader = 190,
|
210
|
+
GameActionTradeSellToTrader = 191,
|
211
|
+
GameActionTravelSailToCivilization = 192,
|
212
|
+
GameActionTravelShipToIsland = 193,
|
213
|
+
GameActionVehicleRide = 194,
|
214
|
+
GameActionVehicleUnride = 195,
|
215
|
+
DialogCloseAll = 196,
|
216
|
+
DialogOptions = 197,
|
217
|
+
DialogHelp = 198,
|
218
|
+
DialogMilestones = 199,
|
219
|
+
DialogNotes = 200,
|
220
|
+
DialogMessages = 201,
|
221
|
+
DialogMessagesChatFocus = 202,
|
222
|
+
DialogInventory = 203,
|
223
|
+
DialogCrafting = 204,
|
224
|
+
DialogDismantle = 205,
|
225
|
+
DialogEquipment = 206,
|
226
|
+
DialogSkills = 207,
|
227
|
+
DialogQuests = 208,
|
228
|
+
DialogIslands = 209,
|
229
|
+
HudToggleMenuBar = 210,
|
230
|
+
HudToggleActionBar = 211,
|
231
|
+
HudToggleMessages = 212,
|
232
|
+
HudToggleStats = 213,
|
233
|
+
TooltipMoreInformation = 214,
|
234
|
+
TooltipToggle = 215,
|
235
|
+
MenuEnter = 216,
|
236
|
+
MenuSubmit = 217,
|
237
|
+
MenuNext = 218,
|
238
|
+
MenuPrevious = 219,
|
239
|
+
MenuUp = 220,
|
240
|
+
MenuDown = 221,
|
241
|
+
MenuLeft = 222,
|
242
|
+
MenuRight = 223,
|
243
|
+
MenuCancel = 224,
|
244
|
+
MenuNextOption = 225,
|
245
|
+
MenuPreviousOption = 226,
|
246
|
+
MenuContextMenu = 227,
|
247
|
+
MenuSelect = 228,
|
248
|
+
DeveloperInterfaceScaleUp = 229,
|
249
|
+
DeveloperInterfaceScaleDown = 230,
|
250
|
+
DeveloperToggleDeveloperMode = 231,
|
251
|
+
DeveloperToggleDeveloperTools = 232,
|
252
|
+
DeveloperReloadGame = 233,
|
253
|
+
DeveloperReloadWithoutSavingGame = 234,
|
254
|
+
DeveloperReloadAndContinueGame = 235,
|
255
|
+
DeveloperReloadWithoutSavingAndContinueGame = 236,
|
256
|
+
DeveloperReloadStylesheets = 237,
|
257
|
+
DeveloperReloadTextures = 238
|
257
258
|
}
|
258
259
|
export default Bindable;
|
259
260
|
export declare enum BindableType {
|
@@ -67,13 +67,14 @@ export declare class GlobalMouseInfo extends EventEmitter.Host<IGlobalMouseInfoE
|
|
67
67
|
* @param what A component, element, or selector.
|
68
68
|
* @param recalcTarget Whether to recalculate the target before this operation. Defaults to `false`
|
69
69
|
*/
|
70
|
-
isWithin<W extends Component | Element | string | undefined>(what?: W, recalcTarget?: boolean):
|
70
|
+
isWithin<W extends Component | Element | string | undefined>(what?: W, recalcTarget?: boolean): W extends undefined ? undefined : W extends Component ? W : W extends Element | string ? HTMLElement | undefined : never;
|
71
71
|
/**
|
72
72
|
* Returns whether the mouse is currently within the given component, element, or selector.
|
73
73
|
* @param what A component, element, or selector.
|
74
74
|
* @param recalcTarget Whether to recalculate the target before this operation. Defaults to `false`
|
75
75
|
*/
|
76
|
-
isTarget<W extends Component | Element | string | undefined>(what?: W, recalcTarget?: boolean):
|
76
|
+
isTarget<W extends Component | Element | string | undefined>(what?: W, recalcTarget?: boolean): W extends undefined ? undefined : W extends Component ? W : W extends Element | string ? HTMLElement | undefined : never;
|
77
|
+
clearTarget(target?: Element): void;
|
77
78
|
private _updateTarget;
|
78
79
|
}
|
79
80
|
interface IInputInfoEvents {
|
@@ -106,6 +107,7 @@ declare class InputManager extends EventEmitter.Host<IInputManagerEvents> {
|
|
106
107
|
register(component: Component): this;
|
107
108
|
deregister(): this;
|
108
109
|
isRegistered(): boolean;
|
110
|
+
private didReset;
|
109
111
|
reset(): void;
|
110
112
|
/**
|
111
113
|
* @param disabler Each `disableUntil` call should be given a unique `disabler`,
|
@@ -37,7 +37,7 @@ declare namespace Macros {
|
|
37
37
|
function getCurrent(): Macro;
|
38
38
|
function getTouch(): Macro;
|
39
39
|
function reset(): void;
|
40
|
-
function setHandled(): void;
|
40
|
+
function setHandled(input: IInput): void;
|
41
41
|
function setIsolated(_isolated?: boolean): void;
|
42
42
|
function didRequestIsolation(): boolean;
|
43
43
|
function handleInput(input: IInput, api: IBindHandlerApi): Macro | undefined;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import Screen from "@wayward/game/ui/screen/Screen";
|
12
|
-
import Notice from "@wayward/game/ui/
|
12
|
+
import Notice from "@wayward/game/ui/component/Notice";
|
13
13
|
export default class SplashScreen extends Screen {
|
14
14
|
static getNotices(): Array<Class<Notice>>;
|
15
15
|
static show(): Promise<void>;
|
@@ -13,12 +13,15 @@ import type { IDialogStates } from "@wayward/game/ui/screen/screens/GameScreen";
|
|
13
13
|
import type { DialogById } from "@wayward/game/ui/screen/screens/game/DialogMap";
|
14
14
|
import { DialogId } from "@wayward/game/ui/screen/screens/game/Dialogs";
|
15
15
|
import Dialog from "@wayward/game/ui/screen/screens/game/component/Dialog";
|
16
|
-
|
16
|
+
import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
|
17
|
+
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
18
|
+
type IDialogManagerEvents = IEventSubscriberEvents;
|
19
|
+
export default class DialogManager extends EventEmitter.Host<IDialogManagerEvents> {
|
17
20
|
private readonly map;
|
18
21
|
/**
|
19
22
|
* Flag set when the dialog manager / parent screen is being removed
|
20
23
|
*/
|
21
|
-
private
|
24
|
+
private disposing;
|
22
25
|
private readonly screenRef;
|
23
26
|
get screen(): Screen;
|
24
27
|
constructor(screen: Screen);
|
@@ -31,7 +34,7 @@ export default class DialogManager {
|
|
31
34
|
open<DIALOG extends Dialog>(id: DialogId, initializer?: (dialog: DIALOG) => any, subId?: string, highlightIfAlreadyOpen?: boolean): DIALOG;
|
32
35
|
isVisible(id: DialogId, subId?: string): boolean | undefined;
|
33
36
|
close(id: DialogId | `${DialogId}` | `${DialogId},${string}`, subId?: string): boolean;
|
34
|
-
closeAll(
|
37
|
+
closeAll(): boolean;
|
35
38
|
toggle<ID extends DialogId>(id: ID, force?: boolean, initializer?: (dialog: DialogById[ID]) => any, subId?: string, highlightIfAlreadyOpen?: boolean): this;
|
36
39
|
toggle<DIALOG extends Dialog>(id: DialogId, force?: boolean, initializer?: (dialog: DIALOG) => any, subId?: string, highlightIfAlreadyOpen?: boolean): this;
|
37
40
|
toggleAll(states: IDialogStates, loaded?: boolean): this;
|
@@ -40,4 +43,6 @@ export default class DialogManager {
|
|
40
43
|
private breakKey;
|
41
44
|
private getKey;
|
42
45
|
private updateDialogId;
|
46
|
+
dispose(): void;
|
43
47
|
}
|
48
|
+
export {};
|
@@ -28,7 +28,11 @@ export interface IInspectionsTooltipHandlerEvents<INSPECTIONS_LIST extends Inspe
|
|
28
28
|
export default abstract class InspectionsTooltipHandler<INSPECTIONS_LIST extends InspectionsList, TOOLTIP_ARGS extends any[] = []> extends EventEmitter.Host<IInspectionsTooltipHandlerEvents<INSPECTIONS_LIST, TOOLTIP_ARGS>> {
|
29
29
|
protected current: IInspectionsTooltipHandlerCurrent<INSPECTIONS_LIST, TOOLTIP_ARGS> | undefined;
|
30
30
|
private lastMousePosition?;
|
31
|
-
|
31
|
+
/**
|
32
|
+
* Initializes tooltips
|
33
|
+
* @returns True if the tooltip was initialized. False if it was removed or replaced before so.
|
34
|
+
*/
|
35
|
+
initializeTooltip(tooltip: Tooltip, ...args: TOOLTIP_ARGS): Promise<boolean>;
|
32
36
|
remove(tooltip?: IInspectionsTooltipHandlerCurrent<INSPECTIONS_LIST, TOOLTIP_ARGS> | undefined): void;
|
33
37
|
onInitInspections(handler: (inspections: INSPECTIONS_LIST) => any): void;
|
34
38
|
protected abstract initializeInspections(...args: TOOLTIP_ARGS): INSPECTIONS_LIST | undefined;
|
@@ -21,7 +21,7 @@ export default class ReferenceTooltipHandler extends InspectionsTooltipHandler<R
|
|
21
21
|
private readonly reference;
|
22
22
|
private readonly initializer?;
|
23
23
|
constructor(context: InfoProviderContext, reference: Reference, initializer?: ((tooltip: Tooltip, handler: ReferenceTooltipHandler) => any) | undefined);
|
24
|
-
initializeTooltip(tooltip: Tooltip): Promise<
|
24
|
+
initializeTooltip(tooltip: Tooltip): Promise<boolean>;
|
25
25
|
protected initializeInspections(): ReferenceInspectionsList;
|
26
26
|
protected initializeHints(hints: InspectionTooltipHints): void;
|
27
27
|
}
|
@@ -30,7 +30,6 @@ export default abstract class InspectionsList<INSPECTIONS_HANDLER extends Inspec
|
|
30
30
|
event: IEventEmitter<this, ITileInspectionsEvents>;
|
31
31
|
private readonly paragraphInspectionsInvalid;
|
32
32
|
private inspectTypeFilter;
|
33
|
-
private _removed?;
|
34
33
|
protected inspectionsHandler?: InspectionsHandler;
|
35
34
|
protected refreshPromiseSequence: PromiseSequence;
|
36
35
|
protected inspectionsHandlerUpdatedInspectionsCallback?: (_: any, inspectType: InspectType, inspections: HashSet<Inspection<any>>, oldInspections: HashSet<Inspection<any>> | undefined) => void;
|
@@ -69,6 +69,11 @@ export declare enum ItemRefreshType {
|
|
69
69
|
export interface IItemComponentEvents extends Events<Component>, IDraggableEvents, IItemSlotEvents, ISortableDraggableEvents {
|
70
70
|
deregisterHighlights(): any;
|
71
71
|
refresh(type: ItemRefreshType): any;
|
72
|
+
/**
|
73
|
+
* Called when the item (within the item component) is changing.
|
74
|
+
* Usually during a refresh.
|
75
|
+
*/
|
76
|
+
itemChange(): any;
|
72
77
|
}
|
73
78
|
export interface IItemComponentStaticEvents {
|
74
79
|
update(type: ItemRefreshType): any;
|
@@ -101,6 +106,7 @@ export default class ItemComponent extends Component implements ItemSlot {
|
|
101
106
|
readonly draggable?: Draggable;
|
102
107
|
private transient;
|
103
108
|
protected constructor(handler: ItemComponentHandler, ...params: any[]);
|
109
|
+
/** @deprecated For console use only */
|
104
110
|
protected get debug(): any;
|
105
111
|
private tickEndHandlerReasons?;
|
106
112
|
private registerTickEndHandler;
|
package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
@@ -96,6 +96,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
96
96
|
private readonly transientItemComponents;
|
97
97
|
addTransientItem(item: Item): ItemComponent | undefined;
|
98
98
|
removeTransientItem(item: Item): void;
|
99
|
+
ensureItemComponent(item: Item): ItemComponent | undefined;
|
99
100
|
private readonly itemComponents;
|
100
101
|
private getItemComponent;
|
101
102
|
private readonly itemStacks;
|
@@ -137,6 +138,8 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
137
138
|
protected onRemoveItem(manager: ItemManager, items: Item[], container?: IContainer, containerTile?: Tile): void;
|
138
139
|
protected onAddItemDidNotSort(manager: ItemManager, container: IContainer): void;
|
139
140
|
protected onTransformItem(item: Item, newType: ItemType, oldType: ItemType): void;
|
141
|
+
private filterItem;
|
142
|
+
protected onMagicalPropertyChange(item: Item): void;
|
140
143
|
protected onStack(manager: ItemManager, container: IContainer, type: ItemType): void;
|
141
144
|
protected onUnstack(manager: ItemManager, container: IContainer, type: ItemType): void;
|
142
145
|
protected onTick(): void;
|
@@ -146,6 +149,7 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
146
149
|
private getItemIdsInElements;
|
147
150
|
private getItemElementId;
|
148
151
|
private getItemComponentElements;
|
152
|
+
private getItemComponentById;
|
149
153
|
private regenerate;
|
150
154
|
private transfer;
|
151
155
|
private getSorter;
|
@@ -13,8 +13,9 @@ import { type ItemRefreshType } from "@wayward/game/ui/screen/screens/game/compo
|
|
13
13
|
import type ItemComponent from "@wayward/game/ui/screen/screens/game/component/ItemComponent";
|
14
14
|
import type ActionBar from "@wayward/game/ui/screen/screens/game/static/ActionBar";
|
15
15
|
import type { ActionSlot } from "@wayward/game/ui/screen/screens/game/static/actions/ActionSlot";
|
16
|
+
import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
|
16
17
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
17
|
-
interface IItemComponentEventBusEvents {
|
18
|
+
interface IItemComponentEventBusEvents extends IEventSubscriberEvents {
|
18
19
|
update(type: ItemRefreshType): any;
|
19
20
|
changeHovered(): any;
|
20
21
|
}
|
@@ -29,7 +29,7 @@ export declare enum EquipmentClasses {
|
|
29
29
|
SlotsWrapper = "game-dialog-equipment-slots-wrapper"
|
30
30
|
}
|
31
31
|
export declare namespace EquipmentClasses {
|
32
|
-
const SlotType: (enumValue: EquipType) => "game-dialog-equipment-slot-none" | "game-dialog-equipment-slot-head" | "game-dialog-equipment-slot-
|
32
|
+
const SlotType: (enumValue: EquipType) => "game-dialog-equipment-slot-none" | "game-dialog-equipment-slot-head" | "game-dialog-equipment-slot-held" | "game-dialog-equipment-slot-legs" | "game-dialog-equipment-slot-chest" | "game-dialog-equipment-slot-waist" | "game-dialog-equipment-slot-feet" | "game-dialog-equipment-slot-neck" | "game-dialog-equipment-slot-hands" | "game-dialog-equipment-slot-back" | "game-dialog-equipment-slot-mainhand" | "game-dialog-equipment-slot-offhand" | "game-dialog-equipment-slot-dualwield";
|
33
33
|
}
|
34
34
|
export default class EquipmentDialog extends Dialog {
|
35
35
|
readonly slots: Component<HTMLElement>;
|
@@ -22,6 +22,7 @@ export declare enum MilestonesDialogClasses {
|
|
22
22
|
}
|
23
23
|
export default class MilestonesDialog extends UnlockablesDialog<Milestone, MilestoneSort> {
|
24
24
|
constructor();
|
25
|
+
refreshNotUnlockableWarning(): void;
|
25
26
|
getBindable(): Bindable;
|
26
27
|
getIcon(): MenuBarButtonType;
|
27
28
|
protected getUnlockablesName(): Translation;
|
@@ -27,6 +27,7 @@ export default class QuestDialog extends Dialog {
|
|
27
27
|
private readonly childQuestsHeading;
|
28
28
|
private readonly childQuests;
|
29
29
|
private readonly completeQuestButton;
|
30
|
+
private readonly activateQuestButton;
|
30
31
|
private current;
|
31
32
|
constructor();
|
32
33
|
getBindable(): Bindable;
|
@@ -24,7 +24,7 @@ export declare enum EquipmentSlotTooltipClasses {
|
|
24
24
|
Hints = "game-dialog-equipment-slot-tooltip-hints"
|
25
25
|
}
|
26
26
|
export default class EquipmentSlotTooltipHandler extends InspectionsTooltipHandler<EquipmentSlotInspectionsList, [slot: EquipType]> {
|
27
|
-
initializeTooltip(tooltip: Tooltip, slot: EquipType): Promise<
|
27
|
+
initializeTooltip(tooltip: Tooltip, slot: EquipType): Promise<boolean>;
|
28
28
|
protected initializeInspections(slot: EquipType): EquipmentSlotInspectionsList;
|
29
29
|
protected initializeHints(hints: InspectionTooltipHints, slot: EquipType): void;
|
30
30
|
private onSlotChanged;
|
@@ -38,6 +38,7 @@ export default abstract class UnlockablesDialog<UNLOCKABLE extends number, SORT
|
|
38
38
|
readonly sectionUnlockableInMode: Component;
|
39
39
|
readonly sectionNotUnlockableInMode: Component;
|
40
40
|
readonly sectionHidden: Component;
|
41
|
+
readonly noticeNotUnlockable: Paragraph;
|
41
42
|
readonly noticeRowsHidden: Paragraph;
|
42
43
|
readonly sortFilterRow: DialogSortFilter<SORT>;
|
43
44
|
constructor(id: DialogId);
|
@@ -81,6 +81,8 @@ export declare class ActionSlot extends Button implements IRefreshable, ItemSlot
|
|
81
81
|
protected onHoldingNotDragging(time: number): void;
|
82
82
|
protected onPlay(): void;
|
83
83
|
refresh(slotData?: IActionBarSlotData, reason?: ActionSlotUpdateReason): this;
|
84
|
+
private clearLastItem;
|
85
|
+
private setLastItem;
|
84
86
|
private onItemTransformed;
|
85
87
|
isUsable(using?: IUsableActionPossibleUsing | undefined, action?: UsableAction<IUsableActionRequirements, IUsableActionDefinition> | undefined): UsableActionUsability;
|
86
88
|
clear(): void;
|
@@ -8,9 +8,19 @@
|
|
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 { Quality } from "@wayward/game/game/IObject";
|
11
12
|
import type { ILoadOnIslandOptions } from "@wayward/game/game/entity/IHuman";
|
12
13
|
import type Island from "@wayward/game/game/island/Island";
|
14
|
+
import type { DisplayableItemType } from "@wayward/game/game/item/IItem";
|
13
15
|
import SpriteEditor from "@wayward/game/ui/screen/screens/game/util/item/SpriteEditor";
|
16
|
+
declare enum Type {
|
17
|
+
Normal = 0,
|
18
|
+
Dim = 1,
|
19
|
+
Highlight = 2
|
20
|
+
}
|
21
|
+
type BackgroundIDTypeSuffix = `` | `-${Lowercase<keyof typeof Type>}`;
|
22
|
+
type BackgroundIDQuality = Lowercase<Exclude<keyof typeof Quality, "None" | "Random">>;
|
23
|
+
type BackgroundID = `default${BackgroundIDTypeSuffix}` | `quality-${BackgroundIDQuality}${BackgroundIDTypeSuffix}` | `damaged${BackgroundIDTypeSuffix}` | `trading${BackgroundIDTypeSuffix}` | `non-craftable` | `discovery-active` | `non-craftable-discovery`;
|
14
24
|
export default class ItemStylesheetHandler {
|
15
25
|
private readonly backgroundDefinitions;
|
16
26
|
readonly editor: SpriteEditor;
|
@@ -28,6 +38,7 @@ export default class ItemStylesheetHandler {
|
|
28
38
|
* Append items for the specified stage to the stylesheet.
|
29
39
|
*/
|
30
40
|
private appendStylesheetsStage;
|
41
|
+
getItemSprite(backgroundID: BackgroundID, item: DisplayableItemType, abortSignal?: AbortSignal, itemPath?: string): Promise<string | undefined>;
|
31
42
|
/**
|
32
43
|
* Appends an array of item types to the specified stylesheet.
|
33
44
|
* This no-ops for items that were already appended to the sheet.
|
@@ -38,3 +49,4 @@ export default class ItemStylesheetHandler {
|
|
38
49
|
private getCSSColor;
|
39
50
|
private getItemTypes;
|
40
51
|
}
|
52
|
+
export {};
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import Menu from "@wayward/game/ui/screen/screens/menu/component/Menu";
|
12
|
-
import type { IVersionInfo } from "@wayward/
|
12
|
+
import type { IVersionInfo } from "@wayward/utilities/Version";
|
13
13
|
export default class ChangelogMenu extends Menu {
|
14
14
|
private static readonly modLinks;
|
15
15
|
private readonly headingVersionName;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2011-2024 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 Notice from "@wayward/game/ui/component/Notice";
|
12
|
+
export default class ErrorReportingNotice extends Notice {
|
13
|
+
constructor();
|
14
|
+
}
|
@@ -19,10 +19,12 @@ export default class TabDeveloper extends Tab implements IRefreshable {
|
|
19
19
|
private readonly buttonReloadStylesheets;
|
20
20
|
private readonly buttonReloadTexturesCache;
|
21
21
|
private readonly buttonTogglePrepackedSprites;
|
22
|
-
private readonly
|
22
|
+
private readonly buttonToggleContainerDesyncMessages;
|
23
23
|
private readonly buttonToggleTraceRecording;
|
24
24
|
private readonly buttonDisposeReflection;
|
25
25
|
private readonly blockLogSourceFiltering;
|
26
|
+
private readonly checkButtonReportErrors;
|
27
|
+
private onTryEnableReportErrors;
|
26
28
|
private readonly blockUIExperiments;
|
27
29
|
constructor();
|
28
30
|
refresh(): this;
|
@@ -24,6 +24,7 @@ export default class TabSaveData extends Tab implements IRefreshable {
|
|
24
24
|
private onClearOptions;
|
25
25
|
private onClearSaves;
|
26
26
|
private onClearCharacters;
|
27
|
+
private onClearUI;
|
27
28
|
private onClearHighscores;
|
28
29
|
private onClearMilestones;
|
29
30
|
private onClearCraftingRecipes;
|
@@ -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 Notice from "@wayward/game/ui/
|
11
|
+
import Notice from "@wayward/game/ui/component/Notice";
|
12
12
|
export default class DevelopmentBranchNotice extends Notice {
|
13
13
|
constructor();
|
14
14
|
}
|