@wayward/types 2.12.0-beta.dev.20220904.1 → 2.12.0-beta.dev.20220907.8

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.
Files changed (59) hide show
  1. package/definitions/game/IGlobal.d.ts +4 -1
  2. package/definitions/game/game/entity/Entity.d.ts +20 -6
  3. package/definitions/game/game/entity/Human.d.ts +3 -5
  4. package/definitions/game/game/entity/IHuman.d.ts +20 -0
  5. package/definitions/game/game/entity/action/IAction.d.ts +2 -1
  6. package/definitions/game/game/entity/action/usable/UsableAction.d.ts +7 -6
  7. package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +63 -53
  8. package/definitions/game/game/inspection/infoProviders/UseInfo.d.ts +2 -0
  9. package/definitions/game/game/inspection/infoProviders/doodad/Gatherability.d.ts +26 -0
  10. package/definitions/game/game/inspection/infoProviders/doodad/Harvestability.d.ts +1 -1
  11. package/definitions/game/game/item/Item.d.ts +5 -4
  12. package/definitions/game/game/item/ItemManager.d.ts +7 -0
  13. package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
  14. package/definitions/game/language/Dictionary.d.ts +61 -60
  15. package/definitions/game/language/DictionaryMap.d.ts +122 -118
  16. package/definitions/game/language/dictionary/Message.d.ts +5 -5
  17. package/definitions/game/language/dictionary/UiTranslation.d.ts +563 -556
  18. package/definitions/game/language/english/ui/InventorySorts.d.ts +13 -0
  19. package/definitions/game/mod/ModRegistry.d.ts +36 -2
  20. package/definitions/game/multiplayer/packets/client/EmitPlayerEventPacket.d.ts +2 -2
  21. package/definitions/game/renderer/IRenderer.d.ts +36 -38
  22. package/definitions/game/renderer/context/RendererOrigin.d.ts +3 -2
  23. package/definitions/game/renderer/tile/TileLayer.d.ts +1 -1
  24. package/definitions/game/resource/IResourceLoader.d.ts +2 -1
  25. package/definitions/game/resource/SpritePacker.d.ts +1 -0
  26. package/definitions/game/steamworks/ISteamworks.d.ts +7 -0
  27. package/definitions/game/steamworks/Steamworks.d.ts +5 -2
  28. package/definitions/game/typings/jqueryui.d.ts +1 -3
  29. package/definitions/game/ui/IUi.d.ts +3 -1
  30. package/definitions/game/ui/Ui.d.ts +1 -0
  31. package/definitions/game/ui/component/Button.d.ts +1 -1
  32. package/definitions/game/ui/component/ContextMenu.d.ts +3 -0
  33. package/definitions/game/ui/component/GroupDropdown.d.ts +1 -0
  34. package/definitions/game/ui/component/Input.d.ts +6 -0
  35. package/definitions/game/ui/component/SortRow.d.ts +5 -0
  36. package/definitions/game/ui/component/Text.d.ts +2 -2
  37. package/definitions/game/ui/input/IInput.d.ts +7 -0
  38. package/definitions/game/ui/input/InputManager.d.ts +0 -6
  39. package/definitions/game/ui/input/Macros.d.ts +2 -0
  40. package/definitions/game/ui/old/screens/InGameScreen.d.ts +8 -5
  41. package/definitions/game/ui/screen/screens/game/component/Item.d.ts +1 -0
  42. package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +3 -0
  43. package/definitions/game/ui/screen/screens/game/static/actions/ActionBarBindableManager.d.ts +2 -0
  44. package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +2 -0
  45. package/definitions/game/ui/screen/screens/game/util/movement/MovementHandler.d.ts +1 -1
  46. package/definitions/game/ui/screen/screens/game/util/movement/WalkToTileHandler.d.ts +1 -1
  47. package/definitions/game/ui/screen/screens/menu/menus/BindingsMenu.d.ts +1 -0
  48. package/definitions/game/ui/screen/screens/menu/menus/PauseMenu.d.ts +1 -0
  49. package/definitions/game/ui/screen/screens/menu/menus/main/component/IWebsite.d.ts +5 -2
  50. package/definitions/game/ui/screen/screens/menu/menus/main/component/SocialRow.d.ts +2 -1
  51. package/definitions/game/ui/screen/screens/menu/menus/options/BindRow.d.ts +1 -0
  52. package/definitions/game/ui/tooltip/Tooltip.d.ts +2 -1
  53. package/definitions/game/utilities/enum/EnumManager.d.ts +5 -0
  54. package/definitions/game/utilities/enum/IEnum.d.ts +3 -1
  55. package/definitions/hosts/shared/globalTypes.d.ts +8 -6
  56. package/definitions/hosts/shared/globals.d.ts +4 -1
  57. package/definitions/test/core/application.d.ts +1 -0
  58. package/definitions/test/core/chromeDriver.d.ts +1 -1
  59. package/package.json +1 -1
@@ -67,6 +67,7 @@ import { MusicPlaylist, PowerMode } from "save/data/ISaveDataGlobal";
67
67
  import { SaveImportErrorReason, SaveSort } from "save/ISaveManager";
68
68
  import Bindable, { BindableType } from "ui/input/Bindable";
69
69
  import { FontStyle } from "ui/IUi";
70
+ import { SortType } from "ui/old/IOldUi";
70
71
  import { Quadrant, QuadrantComponentContextMenuAction } from "ui/screen/screens/game/component/IQuadrantComponent";
71
72
  import { DialogId } from "ui/screen/screens/game/Dialogs";
72
73
  import { MessageTimestamp, QuadrantComponentId } from "ui/screen/screens/game/IGameScreenApi";
@@ -121,66 +122,67 @@ declare const dictionaryMap: {
121
122
  35: symbol;
122
123
  36: typeof InspectType;
123
124
  37: typeof InterruptChoice;
124
- 38: typeof IslandModifierType;
125
- 39: typeof IslandName;
126
- 40: typeof BiomeType;
125
+ 38: typeof SortType;
126
+ 39: typeof IslandModifierType;
127
+ 40: typeof IslandName;
127
128
  41: typeof BiomeType;
128
- 42: typeof IslandModifierType;
129
- 43: typeof CreatureType;
130
- 44: typeof ItemType;
131
- 45: typeof ItemTypeGroup;
132
- 46: typeof JoinServerRetryReason;
133
- 47: typeof Level;
134
- 48: typeof Load;
135
- 49: symbol;
136
- 50: typeof MagicalPropertyType;
137
- 51: typeof MapQuality;
138
- 52: typeof MenuBarButtonType;
139
- 53: typeof Message;
140
- 54: typeof MessageFilterDefault;
141
- 55: typeof MessageTimestamp;
142
- 56: typeof Milestone;
143
- 57: typeof MilestoneModifierGroup;
144
- 58: typeof MiscTranslation;
145
- 59: typeof CanLoadState;
146
- 60: typeof ModLoadFailureReason;
147
- 61: typeof ModProvide;
148
- 62: typeof ModSort;
149
- 63: typeof ModType;
150
- 64: typeof MultiplayerCompatibility;
151
- 65: typeof DisconnectReason;
152
- 66: typeof MusicPlaylist;
153
- 67: typeof Note;
154
- 68: typeof NPCType;
155
- 69: symbol;
156
- 70: typeof PartOfDay;
157
- 71: typeof PowerMode;
158
- 72: typeof Prompt;
159
- 73: typeof QuadrantComponentId;
160
- 74: typeof QuadrantComponentContextMenuAction;
161
- 75: typeof Quality;
162
- 76: typeof QuestType;
163
- 77: typeof QuestRequirementType;
164
- 78: typeof RecipeLevel;
165
- 79: typeof Riddle;
166
- 80: typeof SaveImportErrorReason;
167
- 81: typeof SaveSort;
168
- 82: typeof SkillType;
169
- 83: typeof Source;
170
- 84: typeof Stat;
171
- 85: typeof StatusType;
172
- 86: typeof Responsibility;
173
- 87: typeof TempType;
174
- 88: typeof TerrainType;
175
- 89: typeof TileEventType;
176
- 90: typeof UiTranslation;
177
- 91: typeof Quadrant;
178
- 92: typeof UnableToJoinReason;
179
- 93: typeof UnlockedRecipesStrategy;
180
- 94: typeof UsableActionType;
181
- 95: typeof Website;
182
- 96: typeof WeightStatus;
183
- 97: typeof WorldZ;
129
+ 42: typeof BiomeType;
130
+ 43: typeof IslandModifierType;
131
+ 44: typeof CreatureType;
132
+ 45: typeof ItemType;
133
+ 46: typeof ItemTypeGroup;
134
+ 47: typeof JoinServerRetryReason;
135
+ 48: typeof Level;
136
+ 49: typeof Load;
137
+ 50: symbol;
138
+ 51: typeof MagicalPropertyType;
139
+ 52: typeof MapQuality;
140
+ 53: typeof MenuBarButtonType;
141
+ 54: typeof Message;
142
+ 55: typeof MessageFilterDefault;
143
+ 56: typeof MessageTimestamp;
144
+ 57: typeof Milestone;
145
+ 58: typeof MilestoneModifierGroup;
146
+ 59: typeof MiscTranslation;
147
+ 60: typeof CanLoadState;
148
+ 61: typeof ModLoadFailureReason;
149
+ 62: typeof ModProvide;
150
+ 63: typeof ModSort;
151
+ 64: typeof ModType;
152
+ 65: typeof MultiplayerCompatibility;
153
+ 66: typeof DisconnectReason;
154
+ 67: typeof MusicPlaylist;
155
+ 68: typeof Note;
156
+ 69: typeof NPCType;
157
+ 70: symbol;
158
+ 71: typeof PartOfDay;
159
+ 72: typeof PowerMode;
160
+ 73: typeof Prompt;
161
+ 74: typeof QuadrantComponentId;
162
+ 75: typeof QuadrantComponentContextMenuAction;
163
+ 76: typeof Quality;
164
+ 77: typeof QuestType;
165
+ 78: typeof QuestRequirementType;
166
+ 79: typeof RecipeLevel;
167
+ 80: typeof Riddle;
168
+ 81: typeof SaveImportErrorReason;
169
+ 82: typeof SaveSort;
170
+ 83: typeof SkillType;
171
+ 84: typeof Source;
172
+ 85: typeof Stat;
173
+ 86: typeof StatusType;
174
+ 87: typeof Responsibility;
175
+ 88: typeof TempType;
176
+ 89: typeof TerrainType;
177
+ 90: typeof TileEventType;
178
+ 91: typeof UiTranslation;
179
+ 92: typeof Quadrant;
180
+ 93: typeof UnableToJoinReason;
181
+ 94: typeof UnlockedRecipesStrategy;
182
+ 95: typeof UsableActionType;
183
+ 96: typeof Website;
184
+ 97: typeof WeightStatus;
185
+ 98: typeof WorldZ;
184
186
  };
185
187
  export declare const strictDictionaries: {
186
188
  0: typeof ActionType;
@@ -221,66 +223,67 @@ export declare const strictDictionaries: {
221
223
  35: symbol;
222
224
  36: typeof InspectType;
223
225
  37: typeof InterruptChoice;
224
- 38: typeof IslandModifierType;
225
- 39: typeof IslandName;
226
- 40: typeof BiomeType;
226
+ 38: typeof SortType;
227
+ 39: typeof IslandModifierType;
228
+ 40: typeof IslandName;
227
229
  41: typeof BiomeType;
228
- 42: typeof IslandModifierType;
229
- 43: typeof CreatureType;
230
- 44: typeof ItemType;
231
- 45: typeof ItemTypeGroup;
232
- 46: typeof JoinServerRetryReason;
233
- 47: typeof Level;
234
- 48: typeof Load;
235
- 49: symbol;
236
- 50: typeof MagicalPropertyType;
237
- 51: typeof MapQuality;
238
- 52: typeof MenuBarButtonType;
239
- 53: typeof Message;
240
- 54: typeof MessageFilterDefault;
241
- 55: typeof MessageTimestamp;
242
- 56: typeof Milestone;
243
- 57: typeof MilestoneModifierGroup;
244
- 58: typeof MiscTranslation;
245
- 59: typeof CanLoadState;
246
- 60: typeof ModLoadFailureReason;
247
- 61: typeof ModProvide;
248
- 62: typeof ModSort;
249
- 63: typeof ModType;
250
- 64: typeof MultiplayerCompatibility;
251
- 65: typeof DisconnectReason;
252
- 66: typeof MusicPlaylist;
253
- 67: typeof Note;
254
- 68: typeof NPCType;
255
- 69: symbol;
256
- 70: typeof PartOfDay;
257
- 71: typeof PowerMode;
258
- 72: typeof Prompt;
259
- 73: typeof QuadrantComponentId;
260
- 74: typeof QuadrantComponentContextMenuAction;
261
- 75: typeof Quality;
262
- 76: typeof QuestType;
263
- 77: typeof QuestRequirementType;
264
- 78: typeof RecipeLevel;
265
- 79: typeof Riddle;
266
- 80: typeof SaveImportErrorReason;
267
- 81: typeof SaveSort;
268
- 82: typeof SkillType;
269
- 83: typeof Source;
270
- 84: typeof Stat;
271
- 85: typeof StatusType;
272
- 86: typeof Responsibility;
273
- 87: typeof TempType;
274
- 88: typeof TerrainType;
275
- 89: typeof TileEventType;
276
- 90: typeof UiTranslation;
277
- 91: typeof Quadrant;
278
- 92: typeof UnableToJoinReason;
279
- 93: typeof UnlockedRecipesStrategy;
280
- 94: typeof UsableActionType;
281
- 95: typeof Website;
282
- 96: typeof WeightStatus;
283
- 97: typeof WorldZ;
230
+ 42: typeof BiomeType;
231
+ 43: typeof IslandModifierType;
232
+ 44: typeof CreatureType;
233
+ 45: typeof ItemType;
234
+ 46: typeof ItemTypeGroup;
235
+ 47: typeof JoinServerRetryReason;
236
+ 48: typeof Level;
237
+ 49: typeof Load;
238
+ 50: symbol;
239
+ 51: typeof MagicalPropertyType;
240
+ 52: typeof MapQuality;
241
+ 53: typeof MenuBarButtonType;
242
+ 54: typeof Message;
243
+ 55: typeof MessageFilterDefault;
244
+ 56: typeof MessageTimestamp;
245
+ 57: typeof Milestone;
246
+ 58: typeof MilestoneModifierGroup;
247
+ 59: typeof MiscTranslation;
248
+ 60: typeof CanLoadState;
249
+ 61: typeof ModLoadFailureReason;
250
+ 62: typeof ModProvide;
251
+ 63: typeof ModSort;
252
+ 64: typeof ModType;
253
+ 65: typeof MultiplayerCompatibility;
254
+ 66: typeof DisconnectReason;
255
+ 67: typeof MusicPlaylist;
256
+ 68: typeof Note;
257
+ 69: typeof NPCType;
258
+ 70: symbol;
259
+ 71: typeof PartOfDay;
260
+ 72: typeof PowerMode;
261
+ 73: typeof Prompt;
262
+ 74: typeof QuadrantComponentId;
263
+ 75: typeof QuadrantComponentContextMenuAction;
264
+ 76: typeof Quality;
265
+ 77: typeof QuestType;
266
+ 78: typeof QuestRequirementType;
267
+ 79: typeof RecipeLevel;
268
+ 80: typeof Riddle;
269
+ 81: typeof SaveImportErrorReason;
270
+ 82: typeof SaveSort;
271
+ 83: typeof SkillType;
272
+ 84: typeof Source;
273
+ 85: typeof Stat;
274
+ 86: typeof StatusType;
275
+ 87: typeof Responsibility;
276
+ 88: typeof TempType;
277
+ 89: typeof TerrainType;
278
+ 90: typeof TileEventType;
279
+ 91: typeof UiTranslation;
280
+ 92: typeof Quadrant;
281
+ 93: typeof UnableToJoinReason;
282
+ 94: typeof UnlockedRecipesStrategy;
283
+ 95: typeof UsableActionType;
284
+ 96: typeof Website;
285
+ 97: typeof WeightStatus;
286
+ 98: typeof WorldZ;
284
287
  };
285
288
  export declare type DictionaryEnum = (typeof dictionaryMap)[Dictionary];
286
289
  export declare type DictionaryEntryEnums = {
@@ -386,6 +389,7 @@ declare const dictionaries: {
386
389
  95: typeof SYMBOL_ANY_DICTIONARY | Enum;
387
390
  96: typeof SYMBOL_ANY_DICTIONARY | Enum;
388
391
  97: typeof SYMBOL_ANY_DICTIONARY | Enum;
392
+ 98: typeof SYMBOL_ANY_DICTIONARY | Enum;
389
393
  } & Record<number, typeof SYMBOL_ANY_DICTIONARY | Enum | undefined> & {
390
394
  getByEnum: typeof getByEnum;
391
395
  };
@@ -583,11 +583,11 @@ declare enum Message {
583
583
  Place = 571,
584
584
  PlacedOnGround = 572,
585
585
  Plant = 573,
586
- PlantCouldBeHarvested = 574,
587
- PlantedInGround = 575,
588
- PlantGatheringWillDestroy = 576,
589
- PlantHasResourcesToGather = 577,
590
- PlantHasResourcesToHarvest = 578,
586
+ PlantedInGround = 574,
587
+ PlantGatheringWillDestroy = 575,
588
+ PlantHasResourcesToGather = 576,
589
+ PlantHasResourcesToHarvest = 577,
590
+ PlantGatheredPlant = 578,
591
591
  PlantHighlyFertile = 579,
592
592
  Planting = 580,
593
593
  PlantIsBare = 581,