@wayward/types 2.15.1-beta.dev.20251027.1 → 2.15.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/main.yml +7 -6
- package/definitions/game/Init.d.ts +2 -1
- package/definitions/game/Uninit.d.ts +2 -1
- package/definitions/game/game/IGame.d.ts +9 -2
- package/definitions/game/game/biome/template/Template.d.ts +1 -1
- package/definitions/game/game/curse/Curse.d.ts +8 -2
- package/definitions/game/game/curse/CurseEvent.d.ts +8 -0
- package/definitions/game/game/doodad/Doodad.d.ts +3 -2
- package/definitions/game/game/doodad/IDoodad.d.ts +6 -2
- package/definitions/game/game/entity/Human.d.ts +6 -1
- package/definitions/game/game/entity/IEntity.d.ts +1 -0
- package/definitions/game/game/entity/action/IAction.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Apply.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Attack.d.ts +2 -2
- package/definitions/game/game/entity/action/actions/Chop.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/CloseDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Consecrate.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Cure.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Dismount.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/DrinkItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Eat.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/EquipFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Heal.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Hitch.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Melee.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Mine.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Move.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/OpenContainer.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/OpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PackGround.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PlaceDown.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/PropOpenDoor.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ProtectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/RemovePlayer.d.ts +14 -0
- package/definitions/game/game/entity/action/actions/Ride.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/SetCreatureAiAll.d.ts +2 -1
- package/definitions/game/game/entity/action/actions/Sleep.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/StartFire.d.ts +0 -2
- package/definitions/game/game/entity/action/actions/TakeFromArmorStand.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Throw.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Till.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/ToggleVehicle.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Uncage.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/Unhitch.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UnprotectItem.d.ts +1 -1
- package/definitions/game/game/entity/action/actions/UpdateDirection.d.ts +1 -3
- package/definitions/game/game/entity/action/actions/Upgrade.d.ts +1 -1
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +7 -4
- package/definitions/game/game/entity/action/usable/actions/UsableActionsWorld.d.ts +1 -1
- package/definitions/game/game/entity/player/PlayerManager.d.ts +2 -1
- package/definitions/game/game/island/Island.d.ts +17 -4
- package/definitions/game/game/island/automation/Automation.d.ts +1 -0
- package/definitions/game/game/island/automation/IAutomation.d.ts +21 -0
- package/definitions/game/game/item/IItem.d.ts +13 -22
- package/definitions/game/game/item/Item.d.ts +6 -5
- package/definitions/game/game/item/ItemManager.d.ts +3 -3
- package/definitions/game/game/item/Items.d.ts +1 -9
- package/definitions/game/game/item/runes/RuneEffects.d.ts +58 -0
- package/definitions/game/game/magic/IMagicalProperty.d.ts +2 -0
- package/definitions/game/game/magic/MagicalPropertyDescriptions.d.ts +1 -0
- package/definitions/game/game/magic/MagicalPropertyManager.d.ts +4 -4
- package/definitions/game/game/meta/prompt/IPrompt.d.ts +62 -60
- package/definitions/game/game/meta/prompt/PromptDescriptions.d.ts +2 -0
- package/definitions/game/game/milestones/milestone/Runekeeper.d.ts +1 -1
- package/definitions/game/game/options/modifiers/milestone/modifiers/Afflicted.d.ts +6 -0
- package/definitions/game/game/reference/IReferenceManager.d.ts +3 -0
- package/definitions/game/language/DictionaryMap.d.ts +12 -0
- package/definitions/game/language/dictionary/Message.d.ts +838 -837
- package/definitions/game/language/dictionary/UiTranslation.d.ts +668 -662
- package/definitions/game/language/english/item/ItemAffixes.d.ts +1 -1
- package/definitions/game/mod/Mod.d.ts +48 -10
- package/definitions/game/mod/ModRegistry.d.ts +2 -2
- package/definitions/game/multiplayer/IMultiplayer.d.ts +7 -2
- package/definitions/game/multiplayer/Multiplayer.d.ts +8 -3
- package/definitions/game/multiplayer/matchmaking/IMatchmaking.d.ts +2 -0
- package/definitions/game/multiplayer/networking/SmartConnection.d.ts +2 -1
- package/definitions/game/multiplayer/networking/SteamNetworkConnection.d.ts +2 -1
- package/definitions/game/multiplayer/networking/WebRTCConnection.d.ts +4 -1
- package/definitions/game/multiplayer/networking/WebSocketConnection.d.ts +2 -1
- package/definitions/game/multiplayer/networking/WebWorkerConnection.d.ts +2 -1
- package/definitions/game/renderer/overlay/EffectRadiusOverlay.d.ts +3 -0
- package/definitions/game/save/data/SaveDataGlobal.d.ts +0 -1
- package/definitions/game/save/upgrade/UpgradeVersionRegistry.d.ts +1 -1
- package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2-dev20251030.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2-dev20251103.d.ts +12 -0
- package/definitions/game/save/upgrade/versions/beta2.15.2/beta2.15.2.d.ts +12 -0
- package/definitions/game/ui/input/Bindable.d.ts +228 -223
- package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts +5 -1
- package/definitions/game/ui/screen/screens/game/static/actions/ActionsDrawer.d.ts +4 -1
- package/definitions/game/ui/screen/screens/menu/menus/JoinServerChooseModifiersMenu.d.ts +2 -2
- package/definitions/game/ui/screen/screens/menu/menus/pause/MultiplayerOptionsMenu.d.ts +8 -0
- package/definitions/game/utilities/collection/map/DefaultMap.d.ts +1 -1
- package/definitions/game/utilities/dev/Reflection.d.ts +2 -0
- package/definitions/game/utilities/object/Merge.d.ts +3 -1
- package/definitions/hosts/shared/globals.d.ts +2 -2
- package/definitions/utilities/event/EventEmitter.d.ts +3 -0
- package/definitions/utilities/math/Math2.d.ts +7 -1
- package/definitions/utilities/prototype/Define.d.ts +4 -2
- package/package.json +1 -1
- /package/definitions/game/game/item/{cooldown → runes}/InvokeCooldown.d.ts +0 -0
|
@@ -34,229 +34,234 @@ declare enum Bindable {
|
|
|
34
34
|
GameItemMove = 15,
|
|
35
35
|
GameItemMoveAll = 16,
|
|
36
36
|
GameItemMoveAllByQuality = 17,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
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
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
37
|
+
GameItemMoveExceptQuality = 18,
|
|
38
|
+
GameItemMoveToActionSlotAutoUse = 19,
|
|
39
|
+
GameItemMenu = 20,
|
|
40
|
+
GameItemQuickMove = 21,
|
|
41
|
+
GameItemQuickMoveAll = 22,
|
|
42
|
+
GameItemQuickMoveAllByQuality = 23,
|
|
43
|
+
GameItemQuickMoveExceptQuality = 24,
|
|
44
|
+
GameItemQuickMoveFromStack = 25,
|
|
45
|
+
GameItemQuickMoveToStack = 26,
|
|
46
|
+
GameItemDrop = 27,
|
|
47
|
+
GameItemDropAll = 28,
|
|
48
|
+
GameItemDropAllByQuality = 29,
|
|
49
|
+
GameItemDropExceptQuality = 30,
|
|
50
|
+
GameItemEquipToggle = 31,
|
|
51
|
+
GameItemProtectToggle = 32,
|
|
52
|
+
GameItemOpen = 33,
|
|
53
|
+
GameItemToggleStacked = 34,
|
|
54
|
+
GameItemToggleStackOpen = 35,
|
|
55
|
+
GameInspect = 36,
|
|
56
|
+
GameInspectItem = 37,
|
|
57
|
+
GameZoomIn = 38,
|
|
58
|
+
GameZoomOut = 39,
|
|
59
|
+
GamePause = 40,
|
|
60
|
+
GameSave = 41,
|
|
61
|
+
GameFullscreen = 42,
|
|
62
|
+
GameScreenshotMode = 43,
|
|
63
|
+
GameActionBarConfigure = 44,
|
|
64
|
+
GameActionBarUseSlottedItem = 45,
|
|
65
|
+
GameActionBarCopy = 46,
|
|
66
|
+
GameActionBarToggleUseWhenMoving = 47,
|
|
67
|
+
GameActionBarToggleAllUseWhenMoving = 48,
|
|
68
|
+
GameActionBarClear = 49,
|
|
69
|
+
GameActionBarToggleUseHistory = 50,
|
|
70
|
+
GameActions = 51,
|
|
71
|
+
GameActionsItems = 52,
|
|
72
|
+
GameActionsInFront = 53,
|
|
73
|
+
GameActionsItemsInFront = 54,
|
|
74
|
+
GameActionAltarConsecrate = 55,
|
|
75
|
+
GameActionAltarInvoke = 56,
|
|
76
|
+
GameActionAltarKneel = 57,
|
|
77
|
+
GameActionArmorStandDisplayItem = 58,
|
|
78
|
+
GameActionArmorStandDisplayLeft = 59,
|
|
79
|
+
GameActionArmorStandDisplayRight = 60,
|
|
80
|
+
GameActionArmorStandEquip = 61,
|
|
81
|
+
GameActionArmorStandSwap = 62,
|
|
82
|
+
GameActionArmorStandTake = 63,
|
|
83
|
+
GameActionAttackClose = 64,
|
|
84
|
+
GameActionAttackCloseMelee = 65,
|
|
85
|
+
GameActionAttackRangeFire = 66,
|
|
86
|
+
GameActionAttackRangeShoot = 67,
|
|
87
|
+
GameActionAttackRangeThrow = 68,
|
|
88
|
+
GameActionBuild = 69,
|
|
89
|
+
GameActionBuildPlaceDown = 70,
|
|
90
|
+
GameActionBuildSetDown = 71,
|
|
91
|
+
GameActionCage = 72,
|
|
92
|
+
GameActionCageUncage = 73,
|
|
93
|
+
GameActionCast = 74,
|
|
94
|
+
GameActionCommandCreature = 75,
|
|
95
|
+
GameActionCommandCreatureAll = 76,
|
|
96
|
+
GameActionCommandSetAiAttack = 77,
|
|
97
|
+
GameActionCommandSetAiDefend = 78,
|
|
98
|
+
GameActionCommandSetAiFollowClose = 79,
|
|
99
|
+
GameActionCommandSetAiFollowFar = 80,
|
|
100
|
+
GameActionCommandSetAiHeel = 81,
|
|
101
|
+
GameActionCommandSetAiStay = 82,
|
|
102
|
+
GameActionConsumeApply = 83,
|
|
103
|
+
GameActionConsumeCure = 84,
|
|
104
|
+
GameActionConsumeDrink = 85,
|
|
105
|
+
GameActionConsumeEat = 86,
|
|
106
|
+
GameActionConsumeHeal = 87,
|
|
107
|
+
GameActionConsumeHealOther = 88,
|
|
108
|
+
GameActionContainerOpenTile = 89,
|
|
109
|
+
GameActionCraftingCraft = 90,
|
|
110
|
+
GameActionCraftingDisassemble = 91,
|
|
111
|
+
GameActionCraftingDismantle = 92,
|
|
112
|
+
GameActionDoorClose = 93,
|
|
113
|
+
GameActionDoorOpen = 94,
|
|
114
|
+
GameActionEquip = 95,
|
|
115
|
+
GameActionEquipLeft = 96,
|
|
116
|
+
GameActionEquipRight = 97,
|
|
117
|
+
GameActionEquipUnequip = 98,
|
|
118
|
+
GameActionExcavateCollapse = 99,
|
|
119
|
+
GameActionFireAddFuelWithItem = 100,
|
|
120
|
+
GameActionFireExtinguish = 101,
|
|
121
|
+
GameActionFireIgnite = 102,
|
|
122
|
+
GameActionFireIgniteWithItem = 103,
|
|
123
|
+
GameActionFireSmother = 104,
|
|
124
|
+
GameActionFireStart = 105,
|
|
125
|
+
GameActionFireStoke = 106,
|
|
126
|
+
GameActionGatherButcher = 107,
|
|
127
|
+
GameActionGatherChop = 108,
|
|
128
|
+
GameActionGatherDig = 109,
|
|
129
|
+
GameActionGatherDigWithHands = 110,
|
|
130
|
+
GameActionGatherGatherWithHands = 111,
|
|
131
|
+
GameActionGatherHarvest = 112,
|
|
132
|
+
GameActionGatherHarvestWithHands = 113,
|
|
133
|
+
GameActionGatherMine = 114,
|
|
134
|
+
GameActionGrasp = 115,
|
|
135
|
+
GameActionHitch = 116,
|
|
136
|
+
GameActionHitchToggle = 117,
|
|
137
|
+
GameActionHitchUnhitch = 118,
|
|
138
|
+
GameActionImproveBasicEnhance = 119,
|
|
139
|
+
GameActionImproveBasicEnhanceWithItem = 120,
|
|
140
|
+
GameActionImproveBasicPreserve = 121,
|
|
141
|
+
GameActionImproveBasicPreserveWithItem = 122,
|
|
142
|
+
GameActionImproveBasicRefine = 123,
|
|
143
|
+
GameActionImproveBasicRefineWithItem = 124,
|
|
144
|
+
GameActionImproveBasicReinforce = 125,
|
|
145
|
+
GameActionImproveBasicReinforceWithItem = 126,
|
|
146
|
+
GameActionImproveBasicRepair = 127,
|
|
147
|
+
GameActionImproveBasicRepairWithItem = 128,
|
|
148
|
+
GameActionImproveBasicReshape = 129,
|
|
149
|
+
GameActionImproveBasicReshapeWithItem = 130,
|
|
150
|
+
GameActionImproveMagicAbsorb = 131,
|
|
151
|
+
GameActionImproveMagicAbsorbWithItem = 132,
|
|
152
|
+
GameActionImproveMagicAlter = 133,
|
|
153
|
+
GameActionImproveMagicAlterWithItem = 134,
|
|
154
|
+
GameActionImproveMagicEnchant = 135,
|
|
155
|
+
GameActionImproveMagicEnchantWithItem = 136,
|
|
156
|
+
GameActionImproveMagicExude = 137,
|
|
157
|
+
GameActionImproveMagicExudeWithItem = 138,
|
|
158
|
+
GameActionImproveMagicTransmogrify = 139,
|
|
159
|
+
GameActionImproveMagicTransmogrifyWithItem = 140,
|
|
160
|
+
GameActionImproveMagicUpgrade = 141,
|
|
161
|
+
GameActionImproveMagicUpgradeWithItem = 142,
|
|
162
|
+
GameActionItemContainerDumpItems = 143,
|
|
163
|
+
GameActionItemContainerMoveContents = 144,
|
|
164
|
+
GameActionItemContainerStateClose = 145,
|
|
165
|
+
GameActionItemContainerStateOpen = 146,
|
|
166
|
+
GameActionItemDestinationActiveContainer = 147,
|
|
167
|
+
GameActionItemDestinationFacingContainer = 148,
|
|
168
|
+
GameActionItemDestinationInventory = 149,
|
|
169
|
+
GameActionItemDrop = 150,
|
|
170
|
+
GameActionItemDropAll = 151,
|
|
171
|
+
GameActionItemDropAllExceptQuality = 152,
|
|
172
|
+
GameActionItemDropAllOfSameQuality = 153,
|
|
173
|
+
GameActionItemMove = 154,
|
|
174
|
+
GameActionItemMoveAll = 155,
|
|
175
|
+
GameActionItemMoveAllExceptQuality = 156,
|
|
176
|
+
GameActionItemMoveAllOfSameQuality = 157,
|
|
177
|
+
GameActionItemPickUpAllItems = 158,
|
|
178
|
+
GameActionItemPickUpItem = 159,
|
|
179
|
+
GameActionJump = 160,
|
|
180
|
+
GameActionLearn = 161,
|
|
181
|
+
GameActionLiquidGather = 162,
|
|
182
|
+
GameActionLiquidPour = 163,
|
|
183
|
+
GameActionLiquidPourOnYourself = 164,
|
|
184
|
+
GameActionLockpick = 165,
|
|
185
|
+
GameActionMapDraw = 166,
|
|
186
|
+
GameActionMapRead = 167,
|
|
187
|
+
GameActionNavigate = 168,
|
|
188
|
+
GameActionOpenBottle = 169,
|
|
189
|
+
GameActionPickUpDoodad = 170,
|
|
190
|
+
GameActionPickUpExcrementWithHands = 171,
|
|
191
|
+
GameActionPlant = 172,
|
|
192
|
+
GameActionProtect = 173,
|
|
193
|
+
GameActionProtectUnprotect = 174,
|
|
194
|
+
GameActionRead = 175,
|
|
195
|
+
GameActionRename = 176,
|
|
196
|
+
GameActionRest = 177,
|
|
197
|
+
GameActionRestSleep = 178,
|
|
198
|
+
GameActionRotate = 179,
|
|
199
|
+
GameActionSqueeze = 180,
|
|
200
|
+
GameActionSquish = 181,
|
|
201
|
+
GameActionStillAttachContainer = 182,
|
|
202
|
+
GameActionStillDetachContainer = 183,
|
|
203
|
+
GameActionSummon = 184,
|
|
204
|
+
GameActionTame = 185,
|
|
205
|
+
GameActionTameOffer = 186,
|
|
206
|
+
GameActionTamePet = 187,
|
|
207
|
+
GameActionTameRelease = 188,
|
|
208
|
+
GameActionTeleport = 189,
|
|
209
|
+
GameActionTellTime = 190,
|
|
210
|
+
GameActionTestDepth = 191,
|
|
211
|
+
GameActionTill = 192,
|
|
212
|
+
GameActionTillUntill = 193,
|
|
213
|
+
GameActionTillWithHands = 194,
|
|
214
|
+
GameActionTrade = 195,
|
|
215
|
+
GameActionTradeBuyFromTrader = 196,
|
|
216
|
+
GameActionTradeSellToTrader = 197,
|
|
217
|
+
GameActionTravelSailToCivilization = 198,
|
|
218
|
+
GameActionTravelShipToIsland = 199,
|
|
219
|
+
GameActionVehicleRide = 200,
|
|
220
|
+
GameActionVehicleUnride = 201,
|
|
221
|
+
DialogCloseAll = 202,
|
|
222
|
+
DialogOptions = 203,
|
|
223
|
+
DialogHelp = 204,
|
|
224
|
+
DialogMilestones = 205,
|
|
225
|
+
DialogNotes = 206,
|
|
226
|
+
DialogMessages = 207,
|
|
227
|
+
DialogMessagesChatFocus = 208,
|
|
228
|
+
DialogInventory = 209,
|
|
229
|
+
DialogCrafting = 210,
|
|
230
|
+
DialogDismantle = 211,
|
|
231
|
+
DialogEquipment = 212,
|
|
232
|
+
DialogSkills = 213,
|
|
233
|
+
DialogQuests = 214,
|
|
234
|
+
DialogIslands = 215,
|
|
235
|
+
HudToggleMenuBar = 216,
|
|
236
|
+
HudToggleActionBar = 217,
|
|
237
|
+
HudToggleMessages = 218,
|
|
238
|
+
HudToggleStats = 219,
|
|
239
|
+
TooltipMoreInformation = 220,
|
|
240
|
+
TooltipToggle = 221,
|
|
241
|
+
TooltipStackItems = 222,
|
|
242
|
+
MenuEnter = 223,
|
|
243
|
+
MenuSubmit = 224,
|
|
244
|
+
MenuNext = 225,
|
|
245
|
+
MenuPrevious = 226,
|
|
246
|
+
MenuUp = 227,
|
|
247
|
+
MenuDown = 228,
|
|
248
|
+
MenuLeft = 229,
|
|
249
|
+
MenuRight = 230,
|
|
250
|
+
MenuCancel = 231,
|
|
251
|
+
MenuNextOption = 232,
|
|
252
|
+
MenuPreviousOption = 233,
|
|
253
|
+
MenuContextMenu = 234,
|
|
254
|
+
MenuSelect = 235,
|
|
255
|
+
DeveloperInterfaceScaleUp = 236,
|
|
256
|
+
DeveloperInterfaceScaleDown = 237,
|
|
257
|
+
DeveloperToggleDeveloperMode = 238,
|
|
258
|
+
DeveloperToggleDeveloperTools = 239,
|
|
259
|
+
DeveloperReloadGame = 240,
|
|
260
|
+
DeveloperReloadWithoutSavingGame = 241,
|
|
261
|
+
DeveloperReloadAndContinueGame = 242,
|
|
262
|
+
DeveloperReloadWithoutSavingAndContinueGame = 243,
|
|
263
|
+
DeveloperReloadStylesheets = 244,
|
|
264
|
+
DeveloperReloadTextures = 245
|
|
260
265
|
}
|
|
261
266
|
export default Bindable;
|
|
262
267
|
export declare enum BindableType {
|
package/definitions/game/ui/screen/screens/game/component/container/ContainerBucketItemList.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface IContainerBucketItemListTransferDetails extends Omit<IMoveItemF
|
|
|
40
40
|
itemType: ItemType;
|
|
41
41
|
moveAll: boolean;
|
|
42
42
|
stackList?: ContainerBucketItemList;
|
|
43
|
-
quality?: Quality
|
|
43
|
+
quality?: ArrayOr<Quality>;
|
|
44
44
|
index?: number;
|
|
45
45
|
silent?: true;
|
|
46
46
|
hidden?: true;
|
|
@@ -88,6 +88,10 @@ export default class ContainerBucketItemList extends Component implements ISorta
|
|
|
88
88
|
private readonly bucketRef;
|
|
89
89
|
get bucket(): ContainerBucket;
|
|
90
90
|
constructor(bucket: ContainerBucket, container?: IContainer);
|
|
91
|
+
/**
|
|
92
|
+
* This is required because ItemComponents might have created subscribers (i.e. registered highlights), which would remain even after this ContainerBucketItemList is removed since the child ItemComponents remain referenced by the highlights manager.
|
|
93
|
+
*/
|
|
94
|
+
protected onRemoved(): void;
|
|
91
95
|
private readonly activeReasons;
|
|
92
96
|
toggleActive(reason: string, active: boolean): void;
|
|
93
97
|
getSortableID(child: Component & Partial<ItemComponent>): number | undefined;
|
|
@@ -8,6 +8,9 @@
|
|
|
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 { IUsableActionPossibleUsing } from "@wayward/game/game/entity/action/usable/IUsableAction";
|
|
12
|
+
import UsableAction from "@wayward/game/game/entity/action/usable/UsableAction";
|
|
13
|
+
import type Player from "@wayward/game/game/entity/player/Player";
|
|
11
14
|
import Button from "@wayward/game/ui/component/Button";
|
|
12
15
|
import Component from "@wayward/game/ui/component/Component";
|
|
13
16
|
import Text from "@wayward/game/ui/component/Text";
|
|
@@ -50,7 +53,7 @@ export default class ActionsConfigurationDrawer extends Component {
|
|
|
50
53
|
reset(updateSavedUsing?: boolean): this;
|
|
51
54
|
private refresh;
|
|
52
55
|
protected onHide(): void;
|
|
53
|
-
protected
|
|
56
|
+
protected postExecute(host: UsableAction, player: Player, using: IUsableActionPossibleUsing): void;
|
|
54
57
|
protected onSubmit(): boolean;
|
|
55
58
|
private onChooseAction;
|
|
56
59
|
private onConfigurationChange;
|
|
@@ -8,14 +8,14 @@
|
|
|
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 { IMultiplayerServerToJoin } from "@wayward/game/game/IGame";
|
|
11
12
|
import type { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
12
|
-
import type { ServerInfo } from "@wayward/game/multiplayer/IMultiplayer";
|
|
13
13
|
import Menu from "@wayward/game/ui/screen/screens/menu/component/Menu";
|
|
14
14
|
import MilestoneModifiers from "@wayward/game/ui/screen/screens/menu/component/MilestoneModifiers";
|
|
15
15
|
export default class JoinServerChooseModifiersMenu extends Menu {
|
|
16
16
|
readonly milestoneModifiers: MilestoneModifiers;
|
|
17
17
|
readonly milestones: Set<Milestone>;
|
|
18
|
-
multiplayerServerToJoin:
|
|
18
|
+
multiplayerServerToJoin: IMultiplayerServerToJoin;
|
|
19
19
|
constructor();
|
|
20
20
|
protected refresh(): void;
|
|
21
21
|
}
|
|
@@ -30,6 +30,12 @@ export default class MultiplayerOptionsMenu extends Menu {
|
|
|
30
30
|
private readonly checkConnectionHeading;
|
|
31
31
|
private readonly checkConnectionBlock;
|
|
32
32
|
private readonly checkConnectionButton;
|
|
33
|
+
private readonly playerManagementHeading;
|
|
34
|
+
private readonly playerManagementBlock;
|
|
35
|
+
private readonly connectedPlayersHeading;
|
|
36
|
+
private readonly connectedPlayersContainer;
|
|
37
|
+
private readonly absentPlayersHeading;
|
|
38
|
+
private readonly absentPlayersContainer;
|
|
33
39
|
constructor();
|
|
34
40
|
protected refresh(): void;
|
|
35
41
|
private updateMultiplayer;
|
|
@@ -39,4 +45,6 @@ export default class MultiplayerOptionsMenu extends Menu {
|
|
|
39
45
|
private copyGameCodeClick;
|
|
40
46
|
private inviteSteamFriendsClick;
|
|
41
47
|
private refreshSteamNetworkConnection;
|
|
48
|
+
private refreshPlayerLists;
|
|
49
|
+
private deletePlayer;
|
|
42
50
|
}
|
|
@@ -15,7 +15,7 @@ import type { RecursivePartial } from "@wayward/game/utilities/types/Recursive";
|
|
|
15
15
|
import Objects from "@wayward/utilities/object/Objects";
|
|
16
16
|
export default class DefaultMap<K, V> extends Map<K, V> implements ISerializable, Objects.ICloneable, IMergeable<Map<K, V>> {
|
|
17
17
|
readonly defaultValue: V;
|
|
18
|
-
constructor(defaultValue: V, entries?: Iterable<readonly [K, RecursivePartial<V>]
|
|
18
|
+
constructor(defaultValue: V, entries?: Iterable<readonly [K, RecursivePartial<V>]>, mergeDefaultValue?: boolean);
|
|
19
19
|
valuesAndDefault(): Generator<V>;
|
|
20
20
|
initialize(key: K): V;
|
|
21
21
|
serializeObject(serializer: ISerializer): undefined;
|
|
@@ -57,6 +57,8 @@ export default class Reflection {
|
|
|
57
57
|
* Note: For exports where only one matches, the discriminator `which` parameter is unnecessary.
|
|
58
58
|
*/
|
|
59
59
|
export(name: string, which: number): unknown;
|
|
60
|
+
where(name: string): string[];
|
|
61
|
+
private findExport;
|
|
60
62
|
private warn;
|
|
61
63
|
private setLastQueryCloseMatches;
|
|
62
64
|
findPath(value: unknown): Generator<string[]>;
|
|
@@ -9,16 +9,18 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { RecursivePartial } from "@wayward/game/utilities/types/Recursive";
|
|
12
|
+
import Objects from "@wayward/utilities/object/Objects";
|
|
12
13
|
declare function Merge<T>(...objs: Array<RecursivePartial<T>>): T;
|
|
13
14
|
declare function Merge<T>(...objs: T[]): T;
|
|
14
15
|
declare function Merge<O extends any[]>(...objs: O): O[number];
|
|
15
16
|
declare namespace Merge {
|
|
16
17
|
function value<T>(value?: T | Mergeable<T>): T | undefined;
|
|
17
18
|
}
|
|
18
|
-
export declare class Mergeable<T> {
|
|
19
|
+
export declare class Mergeable<T> implements Objects.ICloneable {
|
|
19
20
|
readonly merge: (value: T | undefined) => T;
|
|
20
21
|
constructor(merge: (value: T | undefined) => T);
|
|
21
22
|
mask(): this & T;
|
|
23
|
+
[Objects.SYMBOL_CLONE](clone: typeof Objects.deepClone): this;
|
|
22
24
|
}
|
|
23
25
|
declare namespace Merge {
|
|
24
26
|
/**
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://github.com/WaywardGame/types/wiki
|
|
10
10
|
*/
|
|
11
11
|
import type { IWaywardTitle } from "@wayward/hosts/shared/globalTypes";
|
|
12
|
-
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch =
|
|
13
|
-
export declare const gameVersion = "beta2.15.
|
|
12
|
+
export declare const gameVersionStage = "beta", gameVersionMajor = 2, gameVersionMinor = 15, gameVersionPatch = 2, gameVersionName = "Cursebreaker", gameVersionColor = 5186397;
|
|
13
|
+
export declare const gameVersion = "beta2.15.2";
|
|
14
14
|
export declare const gameVersionTitleMajor = "Wayward: Cursebreaker";
|
|
15
15
|
export declare const gameVersionTitleMinor: string;
|
|
16
16
|
export declare const gameVersionTitle: string;
|
|
@@ -80,6 +80,7 @@ export interface IEventEmitter<H = any, E = any> {
|
|
|
80
80
|
until<E2>(emitter: IEventEmitterHost<E2>, ...events: Array<keyof E2>): IUntilSubscriber<H, E>;
|
|
81
81
|
until(promise: Promise<any>): IUntilSubscriber<H, E>;
|
|
82
82
|
hasHandlersForEvent(...events: Array<keyof E>): boolean;
|
|
83
|
+
setMaxExpectedSubscriptions(event: keyof E, max: number): this;
|
|
83
84
|
/**
|
|
84
85
|
* Re-opens a closed event emitter
|
|
85
86
|
*/
|
|
@@ -142,6 +143,8 @@ declare class EventEmitter<H, E> {
|
|
|
142
143
|
subscribe<K extends ArrayOr<keyof E>>(host: IEventEmitterHost<IEventSubscriberEvents>, events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number, once?: boolean): H;
|
|
143
144
|
/** @deprecated */
|
|
144
145
|
subscribe<K extends ArrayOr<keyof E>>(events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number, once?: boolean): H;
|
|
146
|
+
private readonly maxExpectedSubscriptionsMap;
|
|
147
|
+
setMaxExpectedSubscriptions(event: keyof E, max: number): this;
|
|
145
148
|
private subscribeInternal;
|
|
146
149
|
subscribeNextUnsafe<K extends ArrayOr<keyof E>>(events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number): H;
|
|
147
150
|
subscribeNext<K extends ArrayOr<keyof E>>(host: IEventEmitterHost<IEventSubscriberEvents>, events: K, handler: Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>, priority?: number): H;
|
|
@@ -37,9 +37,15 @@ declare namespace Math2 {
|
|
|
37
37
|
/**
|
|
38
38
|
* Returns a number floored to a certain number of decimal places.
|
|
39
39
|
*
|
|
40
|
-
* Example: `
|
|
40
|
+
* Example: `floorNumber(1.24999999, 2): 1.24`
|
|
41
41
|
*/
|
|
42
42
|
function floorNumber(num: number, places: number): number;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a number ceiled to a certain number of decimal places.
|
|
45
|
+
*
|
|
46
|
+
* Example: `ceilNumber(1.24111111, 2): 1.25`
|
|
47
|
+
*/
|
|
48
|
+
function ceilNumber(num: number, places: number): number;
|
|
43
49
|
/**
|
|
44
50
|
* Returns a number rounded to a multiple
|
|
45
51
|
*
|
|
@@ -14,11 +14,13 @@ declare namespace Define {
|
|
|
14
14
|
export function set<P, K extends string & keyof P>(proto: P, key: K, value: P[K]): P[K];
|
|
15
15
|
export function set<V>(proto: any, key: PropertyKey, value: V): V;
|
|
16
16
|
export function all<P, K extends string & keyof P>(protos: P[], key: K, implementation: Implementation<P, K>): void;
|
|
17
|
-
interface
|
|
17
|
+
interface IMagicImplementationReadonly<O, K extends string & keyof O> {
|
|
18
18
|
get(this: O): O[K];
|
|
19
|
+
}
|
|
20
|
+
interface IMagicImplementation<O, K extends string & keyof O> extends IMagicImplementationReadonly<O, K> {
|
|
19
21
|
set(this: O, value: O[K]): void;
|
|
20
22
|
}
|
|
21
|
-
export function magic<O, K extends string & keyof O>(obj: O, key: K, implementation: IMagicImplementation<O, K>): void;
|
|
23
|
+
export function magic<O, K extends string & keyof O>(obj: O, key: K, implementation: IMagicImplementationReadonly<O, K> | IMagicImplementation<O, K>): void;
|
|
22
24
|
export {};
|
|
23
25
|
}
|
|
24
26
|
export default Define;
|