@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
@@ -0,0 +1,13 @@
|
|
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 MagicalPropertyType from "@wayward/game/game/magic/MagicalPropertyType";
|
12
|
+
declare const magicalPropertyAffixes: Descriptions<MagicalPropertyType, [adjective: string, noun: string]>;
|
13
|
+
export default magicalPropertyAffixes;
|
@@ -0,0 +1,13 @@
|
|
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 type { MagicalPropertyIdentityHash } from "@wayward/game/game/magic/IMagicalProperty";
|
12
|
+
declare const magicalSubPropertyAffixes: PartialRecord<MagicalPropertyIdentityHash, [adjective: string, noun: string]>;
|
13
|
+
export default magicalSubPropertyAffixes;
|
@@ -20,7 +20,7 @@ import type { ISerializable } from "@wayward/game/save/serializer/ISerializer";
|
|
20
20
|
import type { TranslationGenerator } from "@wayward/game/ui/component/IComponent";
|
21
21
|
import type { ISegment, IStringSection } from "@wayward/game/utilities/string/Interpolator";
|
22
22
|
import Interpolator from "@wayward/game/utilities/string/Interpolator";
|
23
|
-
import
|
23
|
+
import { Random } from "@wayward/utilities/random/Random";
|
24
24
|
export interface ITranslationConfig {
|
25
25
|
segments: Record<number, ISegment>;
|
26
26
|
invertedSegmentMap: Map<ISegment, number>;
|
@@ -29,6 +29,11 @@ export interface ITranslationConfig {
|
|
29
29
|
}
|
30
30
|
export type TranslationReformatter = TranslationImpl | Falsy;
|
31
31
|
type TranslationStringRenderer = (section: IStringSection) => string | undefined;
|
32
|
+
export interface IRandomDefinition {
|
33
|
+
seed: number;
|
34
|
+
/** number of times to advance the seed */
|
35
|
+
advance?: number;
|
36
|
+
}
|
32
37
|
export default class TranslationImpl implements Omit<ISerializable, "deserializeObject"> {
|
33
38
|
private static defaultInterpolatorSegmentIds?;
|
34
39
|
private static _config?;
|
@@ -59,6 +64,7 @@ export default class TranslationImpl implements Omit<ISerializable, "deserialize
|
|
59
64
|
private normalize;
|
60
65
|
private failWith?;
|
61
66
|
private random;
|
67
|
+
private randomDefinition?;
|
62
68
|
private languageLoadId;
|
63
69
|
private cachedSections?;
|
64
70
|
private cachedString?;
|
@@ -115,7 +121,7 @@ export default class TranslationImpl implements Omit<ISerializable, "deserialize
|
|
115
121
|
*
|
116
122
|
* Note: If this translation is an argument to another translation, it will use the random of the parent translation.
|
117
123
|
*/
|
118
|
-
setRandom(random?: Random): this;
|
124
|
+
setRandom(random?: Random | IRandomDefinition): this;
|
119
125
|
hasTranslation(): boolean;
|
120
126
|
orElse(translation: GetterOfOr<TranslationImpl>): TranslationImpl;
|
121
127
|
orElse(translation?: GetterOfOr<TranslationImpl | undefined>): TranslationImpl | undefined;
|
@@ -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 type Version from "@wayward/
|
11
|
+
import type Version from "@wayward/utilities/Version";
|
12
12
|
import type { IEventSubscriberEvents } from "@wayward/utilities/event/EventEmitter";
|
13
13
|
export declare enum MultiplayerCompatibility {
|
14
14
|
Clientside = "clientside",
|
@@ -37,82 +37,85 @@ export declare enum MultiplayerSyncCheckLevel {
|
|
37
37
|
All = "all"
|
38
38
|
}
|
39
39
|
export declare enum MultiplayerSyncCheck {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
40
|
+
"END REGION" = 0,
|
41
|
+
"START REGION" = 1,
|
42
|
+
Action = 2,
|
43
|
+
ActionAttack = 3,
|
44
|
+
ActionMove = 4,
|
45
|
+
Alignment = 5,
|
46
|
+
BaseEntityManager = 6,
|
47
|
+
CanASeeB = 7,
|
48
|
+
Container = 8,
|
49
|
+
Creature = 9,
|
50
|
+
CreatureAi = 10,
|
51
|
+
CreatureAiAdd = 11,
|
52
|
+
CreatureAiEmit = 12,
|
53
|
+
CreatureAiMaskAdd = 13,
|
54
|
+
CreatureAiMaskRemove = 14,
|
55
|
+
CreatureAiRemove = 15,
|
56
|
+
CreatureAiSet = 16,
|
57
|
+
CreatureCheckMove = 17,
|
58
|
+
CreatureMovement = 18,
|
59
|
+
CreatureNearestPlayer = 19,
|
60
|
+
CreatureOffer = 20,
|
61
|
+
CreatureStatChange = 21,
|
62
|
+
Damage = 22,
|
63
|
+
DiscoverRecipe = 23,
|
64
|
+
Dismantle = 24,
|
65
|
+
Doodad = 25,
|
66
|
+
DoodadManager = 26,
|
67
|
+
EncumberedStatus = 27,
|
68
|
+
Entity = 28,
|
69
|
+
EntityPosition = 29,
|
70
|
+
ExhaustedPreMove = 30,
|
71
|
+
FlowFieldHashCode = 31,
|
72
|
+
FlowFieldPenalty = 32,
|
73
|
+
FlowFieldUpdate = 33,
|
74
|
+
FlowFieldUpdateTile = 34,
|
75
|
+
FlowFieldValue = 35,
|
76
|
+
HandToUse = 36,
|
77
|
+
HealthChange = 37,
|
78
|
+
History = 38,
|
79
|
+
InventoryCount = 39,
|
80
|
+
Island = 40,
|
81
|
+
IslandCivilizationScore = 41,
|
82
|
+
Islands = 42,
|
83
|
+
IsTileEmpty = 43,
|
84
|
+
Item = 44,
|
85
|
+
ItemCraft = 45,
|
86
|
+
ItemDamage = 46,
|
87
|
+
ItemOrder = 47,
|
88
|
+
LastCreationIds = 48,
|
89
|
+
Merchant = 49,
|
90
|
+
MilestoneSeed = 50,
|
91
|
+
Modifier = 51,
|
92
|
+
MoveToTile = 52,
|
93
|
+
NPC = 53,
|
94
|
+
Option = 54,
|
95
|
+
PenaltyFieldHashCode = 55,
|
96
|
+
PlaceOnTile = 56,
|
97
|
+
PlayerManager = 57,
|
98
|
+
Players = 58,
|
99
|
+
PlayerSetup = 59,
|
100
|
+
Random = 60,
|
101
|
+
Seed = 61,
|
102
|
+
SeededGenerator = 62,
|
103
|
+
SetPosition = 63,
|
104
|
+
SetZ = 64,
|
105
|
+
SkillGain = 65,
|
106
|
+
StaminaChanges = 66,
|
107
|
+
StatChange = 67,
|
108
|
+
Stats = 68,
|
109
|
+
Status = 69,
|
110
|
+
StatusChange = 70,
|
111
|
+
TemperatureManager = 71,
|
112
|
+
Temporary = 72,
|
113
|
+
Tick = 73,
|
114
|
+
TileEvent = 74,
|
115
|
+
Time = 75,
|
116
|
+
UpdateDirection = 76,
|
117
|
+
Weight = 77,
|
118
|
+
WorldUpdateTile = 78
|
116
119
|
}
|
117
120
|
export declare const maxPlayers = 32;
|
118
121
|
export declare const packetTickRate = 16.6666;
|
@@ -148,7 +148,7 @@ export default class Multiplayer extends EventEmitter.Host<IMultiplayerEvents> {
|
|
148
148
|
* @param checkId When true, this packet will not be sent to the server/client if the same packet is already being processed. When false, this packet will not be sent if any packet is already being processed. Useful when dealing with methods that could end up sending multiple packets while a packet is already being processed.
|
149
149
|
* @param wait When true, the client will keep track of what packets it sent to the server. If the client calls this method again before the server responds, it will not send a duplicate packet. It will wait for the server to send the packet back before allowing another one to be sent. When true, it will keep track of duplicate packets based on the packet type. When it's a number, it will keep track of duplicate packets based on the packet type + the number.
|
150
150
|
*/
|
151
|
-
syncPacket<T = any>(packet: IPacket, clientSide
|
151
|
+
syncPacket<T = any>(packet: IPacket, clientSide: NullaryFunction<T>, checkId: boolean, wait: boolean | number): PromiseOr<T | undefined>;
|
152
152
|
markCurrentProcessingPacket(packetId: number, processing: boolean): void;
|
153
153
|
resolveSyncPacketWaiting(packet: IPacket, wait: number): void;
|
154
154
|
resolveSyncPacketsWaiting(waitId?: string, value?: unknown): void;
|
@@ -0,0 +1,22 @@
|
|
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
|
+
type Decorator = (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
12
|
+
/**
|
13
|
+
* **Note:** Do not intentionally throw errors through this decorated function. It does not close the region if an error is thrown.
|
14
|
+
*/
|
15
|
+
export default function SyncRegion(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;
|
16
|
+
/**
|
17
|
+
* **Note:** Do not intentionally throw errors through this decorated function. It does not close the region if an error is thrown.
|
18
|
+
*
|
19
|
+
* **Warning:** Do not combine this with other decorators.
|
20
|
+
*/
|
21
|
+
export default function SyncRegion<T>(detailProvider: (target: T) => string): Decorator;
|
22
|
+
export {};
|
@@ -29,8 +29,10 @@ export interface ISyncCheck {
|
|
29
29
|
}
|
30
30
|
export type SyncChecks = ISyncCheck[];
|
31
31
|
export interface IHashedSyncCheck {
|
32
|
-
|
32
|
+
hashServer: number;
|
33
|
+
hashClient: number;
|
33
34
|
syncCheck: SyncChecks;
|
35
|
+
type: "enabled" | "universal";
|
34
36
|
}
|
35
37
|
export interface IPacket<T = any> {
|
36
38
|
getAllowedStates(): ConnectionState;
|
@@ -102,32 +102,33 @@ export declare enum RenderSource {
|
|
102
102
|
NotifierAddNotifierIcon = 37,
|
103
103
|
NotifierAddStat = 38,
|
104
104
|
NotifierAddStatusType = 39,
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
105
|
+
NotifierKeepMarker = 40,
|
106
|
+
NotifierRemoveMarker = 41,
|
107
|
+
NotifierRemoveNotification = 42,
|
108
|
+
OptionEquipment = 43,
|
109
|
+
OptionVisionMode = 44,
|
110
|
+
OptionZoomLevel = 45,
|
111
|
+
Particles = 46,
|
112
|
+
PlayerAdd = 47,
|
113
|
+
PlayerKill = 48,
|
114
|
+
PlayerNoclip = 49,
|
115
|
+
PlayerProcessMovement = 50,
|
116
|
+
PlayerReady = 51,
|
117
|
+
PlayerRemove = 52,
|
118
|
+
PlayerRespawn = 53,
|
119
|
+
PlayerWalkToTilePath = 54,
|
120
|
+
PlayerWalkToTilePathOverburdened = 55,
|
121
|
+
PlayerWalkToTilePathPreview = 56,
|
122
|
+
PlayerWalkToTilePathReset = 57,
|
123
|
+
RendererReinitialize = 58,
|
124
|
+
Resize = 59,
|
125
|
+
Sacrifice = 60,
|
126
|
+
SetupGl = 61,
|
127
|
+
SpawnAnimationStart = 62,
|
128
|
+
StartGame = 63,
|
129
|
+
Steamworks = 64,
|
130
|
+
Thumbnail = 65,
|
131
|
+
WorldLayerRendererFlush = 66
|
131
132
|
}
|
132
133
|
export declare function calculateAmbientLightLevel(origin: IFieldOfViewOrigin, z: number): number;
|
133
134
|
export declare const ZOOM_LEVEL_MIN = 1;
|
@@ -12,7 +12,7 @@ import type { CreatureType } from "@wayward/game/game/entity/creature/ICreature"
|
|
12
12
|
import type { StatusChangeReason } from "@wayward/game/game/entity/IEntity";
|
13
13
|
import type Status from "@wayward/game/game/entity/status/Status";
|
14
14
|
import type { DisplayableItemType } from "@wayward/game/game/item/IItem";
|
15
|
-
import type { INotificationLocation, NotifierIconType, ItemNotifierType, CreatureNotifierType,
|
15
|
+
import type { INotificationLocation, NotifierIconType, ItemNotifierType, CreatureNotifierType, MarkerDescription } from "@wayward/game/renderer/notifier/INotifier";
|
16
16
|
import { StatNotificationType } from "@wayward/game/renderer/notifier/INotifier";
|
17
17
|
import type Renderers from "@wayward/game/renderer/Renderers";
|
18
18
|
export declare class RenderersNotifiers {
|
@@ -25,6 +25,6 @@ export declare class RenderersNotifiers {
|
|
25
25
|
addStatus(location: INotificationLocation, status: Status, reason: StatusChangeReason): void;
|
26
26
|
addItem(location: INotificationLocation, itemNotifierType: ItemNotifierType, type: DisplayableItemType): void;
|
27
27
|
addCreature(location: INotificationLocation, creatureNotifierType: CreatureNotifierType, type: CreatureType, aberrant?: boolean): void;
|
28
|
-
addMarker(location: INotificationLocation,
|
28
|
+
addMarker(location: INotificationLocation, marker: MarkerDescription): void;
|
29
29
|
removeMarker(location: INotificationLocation, guid: string): void;
|
30
30
|
}
|
@@ -9,9 +9,13 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import type { SfxType } from "@wayward/game/audio/IAudio";
|
12
|
+
import type { ItemType } from "@wayward/game/game/item/IItem";
|
13
|
+
import type { Reference, ReferenceType } from "@wayward/game/game/reference/IReferenceManager";
|
12
14
|
import type { IVector2 } from "@wayward/game/utilities/math/IVector";
|
13
15
|
import type { IVector4 } from "@wayward/game/utilities/math/Vector4";
|
16
|
+
import type { IRGB } from "@wayward/utilities/Color";
|
14
17
|
export interface INotificationLocation extends IVector4 {
|
18
|
+
readonly isValid?: boolean;
|
15
19
|
getMovementPoint?(timeStamp: number): IVector2;
|
16
20
|
getMovementProgress?(timeStamp: number): number;
|
17
21
|
queueSoundEffect?(soundEffect: SfxType): void;
|
@@ -53,10 +57,55 @@ export declare enum NotifierIconType {
|
|
53
57
|
DualWieldEnabled = 7,
|
54
58
|
DualWieldDisabled = 8
|
55
59
|
}
|
56
|
-
export declare enum
|
60
|
+
export declare enum MarkerType {
|
57
61
|
Tamed = 0,
|
58
62
|
AlertedHostile = 1,
|
59
|
-
AlertedScared = 2
|
63
|
+
AlertedScared = 2,
|
64
|
+
Text = 3,
|
65
|
+
Item = 4,
|
66
|
+
AlertedHostileHighDanger = 5,
|
67
|
+
AlertedHostileVeryHighDanger = 6,
|
68
|
+
AlertedHostileExtremeDanger = 7,
|
69
|
+
Dynamic = 8
|
60
70
|
}
|
71
|
+
export interface IBaseMarkerDescription {
|
72
|
+
guid: string;
|
73
|
+
size?: number;
|
74
|
+
offsetY?: number;
|
75
|
+
}
|
76
|
+
/**
|
77
|
+
* Specific sprite icons
|
78
|
+
*/
|
79
|
+
export interface ISpriteMarkerDescription extends IBaseMarkerDescription {
|
80
|
+
type: MarkerType.Tamed | MarkerType.AlertedHostile | MarkerType.AlertedScared;
|
81
|
+
}
|
82
|
+
/**
|
83
|
+
* Dynamic markers that change based on some callback
|
84
|
+
*/
|
85
|
+
export interface IDynamicSpriteMarkerDescription extends IBaseMarkerDescription {
|
86
|
+
type: MarkerType.Dynamic;
|
87
|
+
dynamicType: "AlertedHostile";
|
88
|
+
entityReference: Reference<ReferenceType.Player | ReferenceType.NPC | ReferenceType.Creature>;
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* Item icon
|
92
|
+
*/
|
93
|
+
export interface IItemMarkerDescription extends IBaseMarkerDescription {
|
94
|
+
type: MarkerType.Item;
|
95
|
+
itemType: ItemType;
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* Generic text.
|
99
|
+
* This won't actually work because our text.png sprite only has numbers
|
100
|
+
*/
|
101
|
+
export interface ITextMarkerDescription extends IBaseMarkerDescription {
|
102
|
+
type: MarkerType.Text;
|
103
|
+
text: string;
|
104
|
+
textColor: IRGB;
|
105
|
+
}
|
106
|
+
/**
|
107
|
+
* This value may be saved into Entity._persistentMarker!
|
108
|
+
*/
|
109
|
+
export type MarkerDescription = ISpriteMarkerDescription | ITextMarkerDescription | IItemMarkerDescription | IDynamicSpriteMarkerDescription;
|
61
110
|
export declare const itemDamageNotifierThreshold = 3;
|
62
111
|
export declare const doodadDamageNotifierThreshold = 5;
|
@@ -13,7 +13,7 @@ import { StatusChangeReason } from "@wayward/game/game/entity/IEntity";
|
|
13
13
|
import type Status from "@wayward/game/game/entity/status/Status";
|
14
14
|
import type { DisplayableItemType } from "@wayward/game/game/item/IItem";
|
15
15
|
import type { IRendererContext } from "@wayward/game/renderer/context/IRendererContext";
|
16
|
-
import type { INotificationLocation,
|
16
|
+
import type { INotificationLocation, MarkerDescription } from "@wayward/game/renderer/notifier/INotifier";
|
17
17
|
import { CreatureNotifierType, ItemNotifierType, NotifierIconType, StatNotificationType } from "@wayward/game/renderer/notifier/INotifier";
|
18
18
|
import type { IResourceContainer } from "@wayward/game/renderer/resources/IResourceContainer";
|
19
19
|
export declare class Notifier {
|
@@ -37,7 +37,7 @@ export declare class Notifier {
|
|
37
37
|
addStat(location: INotificationLocation, type: StatNotificationType, value: number): void;
|
38
38
|
addStatus(location: INotificationLocation, status: Status, reason: StatusChangeReason): void;
|
39
39
|
addNotifierIcon(location: INotificationLocation, type: NotifierIconType): void;
|
40
|
-
addMarker(location: INotificationLocation,
|
40
|
+
addMarker(location: INotificationLocation, marker: MarkerDescription): void;
|
41
41
|
removeMarker(guid: string): void;
|
42
42
|
suspend(): void;
|
43
43
|
resume(): void;
|
@@ -143,7 +143,8 @@ export declare class WorldRenderer extends EventEmitter.Host<IWorldRendererEvent
|
|
143
143
|
private creatureFlyingBatch;
|
144
144
|
private overlayBatch;
|
145
145
|
private vehicleBatch;
|
146
|
-
private readonly
|
146
|
+
private readonly entitiesToRenderInViewport;
|
147
|
+
private readonly doodadsToNotRenderInViewport;
|
147
148
|
/**
|
148
149
|
* A set of entities seen before (rendered on screen at least once)
|
149
150
|
*/
|
@@ -10,24 +10,24 @@
|
|
10
10
|
*/
|
11
11
|
export declare enum PathType {
|
12
12
|
Action = 0,
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
ActionInfoIcon = 1,
|
14
|
+
ActionSlotItemMethod = 2,
|
15
|
+
ActionSlotType = 3,
|
16
|
+
AttackAnimation = 4,
|
17
|
+
ChallengeIcon = 5,
|
18
|
+
ChangelogChangeType = 6,
|
19
|
+
ContainerTabAction = 7,
|
20
|
+
Corpse = 8,
|
21
|
+
Creature = 9,
|
22
|
+
Damage = 10,
|
23
|
+
Deity = 11,
|
24
|
+
Doodad = 12,
|
25
|
+
Equip = 13,
|
26
|
+
EquipSlot = 14,
|
27
|
+
GameOptionsIcon = 15,
|
28
|
+
Hairstyle = 16,
|
29
|
+
HelpArticleIcon = 17,
|
30
|
+
InfoIcon = 18,
|
31
31
|
InputIcon = 19,
|
32
32
|
Island = 20,
|
33
33
|
IslandModifier = 21,
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import type { SavePropertyFlag } from "@wayward/game/save/serializer/ISerializer";
|
12
|
-
import type Version from "@wayward/
|
12
|
+
import type Version from "@wayward/utilities/Version";
|
13
13
|
export declare const SLOT_MIN = 0;
|
14
14
|
export declare const SLOT_GLOBAL = -1;
|
15
15
|
export declare const SLOT_MULTIPLAYER = -2;
|
@@ -16,7 +16,7 @@ import type IClientStore from "@wayward/game/save/clientStore/IClientStore";
|
|
16
16
|
import type { ISerializer } from "@wayward/game/save/serializer/ISerializer";
|
17
17
|
import type { AnyPropertyToSerialize } from "@wayward/game/save/serializer/PropertiesToSerialize";
|
18
18
|
import Files from "@wayward/game/utilities/Files";
|
19
|
-
import Version from "@wayward/
|
19
|
+
import Version from "@wayward/utilities/Version";
|
20
20
|
import type { IWaywardPreload } from "@wayward/hosts/shared/interfaces";
|
21
21
|
import EventEmitter from "@wayward/utilities/event/EventEmitter";
|
22
22
|
export default class SaveManager extends EventEmitter.Host<ISaveManagerEvents> {
|
@@ -13,7 +13,7 @@ import type { GameMode, IGameOptions } from "@wayward/game/game/options/IGameOpt
|
|
13
13
|
import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
14
14
|
import type { ISaveObject } from "@wayward/game/save/ISaveManager";
|
15
15
|
import type { AnyPropertyToSerialize } from "@wayward/game/save/serializer/PropertiesToSerialize";
|
16
|
-
import type Version from "@wayward/
|
16
|
+
import type Version from "@wayward/utilities/Version";
|
17
17
|
interface SaveMetadata {
|
18
18
|
slot?: number;
|
19
19
|
path?: string;
|
@@ -0,0 +1,23 @@
|
|
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 type { RunningContext } from "@wayward/game/steamworks/ISteamworks";
|
12
|
+
import type Version from "@wayward/utilities/Version";
|
13
|
+
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
14
|
+
export interface IGameCreationInfo {
|
15
|
+
build: IGameCreationInfoBuild;
|
16
|
+
creationTime: number;
|
17
|
+
runningContext: RunningContext;
|
18
|
+
version: Version.String;
|
19
|
+
}
|
20
|
+
export interface IGameCreationInfoBuild {
|
21
|
+
id: IBuildId | undefined;
|
22
|
+
time: number;
|
23
|
+
}
|
@@ -32,8 +32,10 @@ export interface IOptions {
|
|
32
32
|
currentGame: number;
|
33
33
|
customTitleBar: boolean;
|
34
34
|
defaultCursor: boolean;
|
35
|
+
developerLogMessagesForContainerDesyncs: boolean;
|
35
36
|
developerMode: boolean;
|
36
37
|
developerModeContextMenu: boolean;
|
38
|
+
developerReportErrorsToWaywardTeam: boolean;
|
37
39
|
dialogOpacity: number;
|
38
40
|
directionTurnDelay: number;
|
39
41
|
disableAcrylicTransparency: boolean;
|
@@ -88,6 +90,7 @@ export interface IOptions {
|
|
88
90
|
volumeMusic: number;
|
89
91
|
warnOnDangerousActions: boolean;
|
90
92
|
warnOnDestructiveActions: boolean;
|
93
|
+
warnOnDroppingActions: boolean;
|
91
94
|
warnWhenBreakingItems: boolean;
|
92
95
|
warnWhenBreakingItemsOnCraft: boolean;
|
93
96
|
windowMode: boolean;
|
@@ -13,7 +13,9 @@ import type { GameMode, IGameOptions } from "@wayward/game/game/options/IGameOpt
|
|
13
13
|
import type { ISerializedTranslation } from "@wayward/game/language/ITranslation";
|
14
14
|
import type { IMultiplayerState } from "@wayward/game/multiplayer/IMultiplayer";
|
15
15
|
import type IClientStore from "@wayward/game/save/clientStore/IClientStore";
|
16
|
+
import type { IGameCreationInfo } from "@wayward/game/save/data/ISaveData";
|
16
17
|
import type EnumInfo from "@wayward/game/utilities/enum/EnumInfo";
|
18
|
+
import type Version from "@wayward/utilities/Version";
|
17
19
|
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
18
20
|
export declare const saveDataVersionUnknown = "Unknown";
|
19
21
|
export default class SaveData {
|
@@ -30,7 +32,14 @@ export default class SaveData {
|
|
30
32
|
saveManagerDifficulty: GameMode;
|
31
33
|
saveManagerOptions: IGameOptions;
|
32
34
|
saveManagerScore: number;
|
33
|
-
saveManagerOriginalVersion:
|
35
|
+
saveManagerOriginalVersion: Version.String;
|
36
|
+
/**
|
37
|
+
* Contains extra information about the creation of this save.
|
38
|
+
* This may not be accurate for older saves before this was added (beta2.14.4).
|
39
|
+
* The existing data must not be modified after initial save creation.
|
40
|
+
* TODO: Remove gameCreationTime & saveManagerOriginalVersion and use this instead?
|
41
|
+
*/
|
42
|
+
gameCreationInfo: Readonly<IGameCreationInfo>;
|
34
43
|
saveManagerDeathBy: ISerializedTranslation;
|
35
44
|
modManagerSaveData: Record<string, any>;
|
36
45
|
modManagerUnloadable: Record<string, {
|
@@ -14,7 +14,7 @@ import type { ModState } from "@wayward/game/mod/IModInformation";
|
|
14
14
|
import type { IHighscore, IOptions } from "@wayward/game/save/data/ISaveDataGlobal";
|
15
15
|
import type { IDialogInfo } from "@wayward/game/ui/old/IOldUi";
|
16
16
|
import type { ISavedCharacter } from "@wayward/game/ui/screen/screens/menu/menus/character/Character";
|
17
|
-
import type Version from "@wayward/
|
17
|
+
import type Version from "@wayward/utilities/Version";
|
18
18
|
import type EnumInfo from "@wayward/game/utilities/enum/EnumInfo";
|
19
19
|
import type { IBuildId } from "@wayward/hosts/shared/globalTypes";
|
20
20
|
export default class SaveDataGlobal {
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
10
10
|
*/
|
11
11
|
import type { Game } from "@wayward/game/game/Game";
|
12
|
-
import type Version from "@wayward/
|
12
|
+
import type Version from "@wayward/utilities/Version";
|
13
13
|
export interface ISerializer {
|
14
14
|
readonly game: Game;
|
15
15
|
readonly version: Version.String;
|