@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.
- package/definitions/game/IGlobal.d.ts +4 -1
- package/definitions/game/game/entity/Entity.d.ts +20 -6
- package/definitions/game/game/entity/Human.d.ts +3 -5
- package/definitions/game/game/entity/IHuman.d.ts +20 -0
- package/definitions/game/game/entity/action/IAction.d.ts +2 -1
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +7 -6
- package/definitions/game/game/entity/action/usable/UsableActionType.d.ts +63 -53
- package/definitions/game/game/inspection/infoProviders/UseInfo.d.ts +2 -0
- package/definitions/game/game/inspection/infoProviders/doodad/Gatherability.d.ts +26 -0
- package/definitions/game/game/inspection/infoProviders/doodad/Harvestability.d.ts +1 -1
- package/definitions/game/game/item/Item.d.ts +5 -4
- package/definitions/game/game/item/ItemManager.d.ts +7 -0
- package/definitions/game/game/options/modifiers/milestone/MilestoneModifiersManager.d.ts +1 -1
- package/definitions/game/language/Dictionary.d.ts +61 -60
- package/definitions/game/language/DictionaryMap.d.ts +122 -118
- package/definitions/game/language/dictionary/Message.d.ts +5 -5
- package/definitions/game/language/dictionary/UiTranslation.d.ts +563 -556
- package/definitions/game/language/english/ui/InventorySorts.d.ts +13 -0
- package/definitions/game/mod/ModRegistry.d.ts +36 -2
- package/definitions/game/multiplayer/packets/client/EmitPlayerEventPacket.d.ts +2 -2
- package/definitions/game/renderer/IRenderer.d.ts +36 -38
- package/definitions/game/renderer/context/RendererOrigin.d.ts +3 -2
- package/definitions/game/renderer/tile/TileLayer.d.ts +1 -1
- package/definitions/game/resource/IResourceLoader.d.ts +2 -1
- package/definitions/game/resource/SpritePacker.d.ts +1 -0
- package/definitions/game/steamworks/ISteamworks.d.ts +7 -0
- package/definitions/game/steamworks/Steamworks.d.ts +5 -2
- package/definitions/game/typings/jqueryui.d.ts +1 -3
- package/definitions/game/ui/IUi.d.ts +3 -1
- package/definitions/game/ui/Ui.d.ts +1 -0
- package/definitions/game/ui/component/Button.d.ts +1 -1
- package/definitions/game/ui/component/ContextMenu.d.ts +3 -0
- package/definitions/game/ui/component/GroupDropdown.d.ts +1 -0
- package/definitions/game/ui/component/Input.d.ts +6 -0
- package/definitions/game/ui/component/SortRow.d.ts +5 -0
- package/definitions/game/ui/component/Text.d.ts +2 -2
- package/definitions/game/ui/input/IInput.d.ts +7 -0
- package/definitions/game/ui/input/InputManager.d.ts +0 -6
- package/definitions/game/ui/input/Macros.d.ts +2 -0
- package/definitions/game/ui/old/screens/InGameScreen.d.ts +8 -5
- package/definitions/game/ui/screen/screens/game/component/Item.d.ts +1 -0
- package/definitions/game/ui/screen/screens/game/static/ActionBar.d.ts +3 -0
- package/definitions/game/ui/screen/screens/game/static/actions/ActionBarBindableManager.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/static/actions/IActionBar.d.ts +2 -0
- package/definitions/game/ui/screen/screens/game/util/movement/MovementHandler.d.ts +1 -1
- package/definitions/game/ui/screen/screens/game/util/movement/WalkToTileHandler.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/BindingsMenu.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/PauseMenu.d.ts +1 -0
- package/definitions/game/ui/screen/screens/menu/menus/main/component/IWebsite.d.ts +5 -2
- package/definitions/game/ui/screen/screens/menu/menus/main/component/SocialRow.d.ts +2 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/BindRow.d.ts +1 -0
- package/definitions/game/ui/tooltip/Tooltip.d.ts +2 -1
- package/definitions/game/utilities/enum/EnumManager.d.ts +5 -0
- package/definitions/game/utilities/enum/IEnum.d.ts +3 -1
- package/definitions/hosts/shared/globalTypes.d.ts +8 -6
- package/definitions/hosts/shared/globals.d.ts +4 -1
- package/definitions/test/core/application.d.ts +1 -0
- package/definitions/test/core/chromeDriver.d.ts +1 -1
- 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
|
|
125
|
-
39: typeof
|
|
126
|
-
40: typeof
|
|
125
|
+
38: typeof SortType;
|
|
126
|
+
39: typeof IslandModifierType;
|
|
127
|
+
40: typeof IslandName;
|
|
127
128
|
41: typeof BiomeType;
|
|
128
|
-
42: typeof
|
|
129
|
-
43: typeof
|
|
130
|
-
44: typeof
|
|
131
|
-
45: typeof
|
|
132
|
-
46: typeof
|
|
133
|
-
47: typeof
|
|
134
|
-
48: typeof
|
|
135
|
-
49:
|
|
136
|
-
50:
|
|
137
|
-
51: typeof
|
|
138
|
-
52: typeof
|
|
139
|
-
53: typeof
|
|
140
|
-
54: typeof
|
|
141
|
-
55: typeof
|
|
142
|
-
56: typeof
|
|
143
|
-
57: typeof
|
|
144
|
-
58: typeof
|
|
145
|
-
59: typeof
|
|
146
|
-
60: typeof
|
|
147
|
-
61: typeof
|
|
148
|
-
62: typeof
|
|
149
|
-
63: typeof
|
|
150
|
-
64: typeof
|
|
151
|
-
65: typeof
|
|
152
|
-
66: typeof
|
|
153
|
-
67: typeof
|
|
154
|
-
68: typeof
|
|
155
|
-
69:
|
|
156
|
-
70:
|
|
157
|
-
71: typeof
|
|
158
|
-
72: typeof
|
|
159
|
-
73: typeof
|
|
160
|
-
74: typeof
|
|
161
|
-
75: typeof
|
|
162
|
-
76: typeof
|
|
163
|
-
77: typeof
|
|
164
|
-
78: typeof
|
|
165
|
-
79: typeof
|
|
166
|
-
80: typeof
|
|
167
|
-
81: typeof
|
|
168
|
-
82: typeof
|
|
169
|
-
83: typeof
|
|
170
|
-
84: typeof
|
|
171
|
-
85: typeof
|
|
172
|
-
86: typeof
|
|
173
|
-
87: typeof
|
|
174
|
-
88: typeof
|
|
175
|
-
89: typeof
|
|
176
|
-
90: typeof
|
|
177
|
-
91: typeof
|
|
178
|
-
92: typeof
|
|
179
|
-
93: typeof
|
|
180
|
-
94: typeof
|
|
181
|
-
95: typeof
|
|
182
|
-
96: typeof
|
|
183
|
-
97: typeof
|
|
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
|
|
225
|
-
39: typeof
|
|
226
|
-
40: typeof
|
|
226
|
+
38: typeof SortType;
|
|
227
|
+
39: typeof IslandModifierType;
|
|
228
|
+
40: typeof IslandName;
|
|
227
229
|
41: typeof BiomeType;
|
|
228
|
-
42: typeof
|
|
229
|
-
43: typeof
|
|
230
|
-
44: typeof
|
|
231
|
-
45: typeof
|
|
232
|
-
46: typeof
|
|
233
|
-
47: typeof
|
|
234
|
-
48: typeof
|
|
235
|
-
49:
|
|
236
|
-
50:
|
|
237
|
-
51: typeof
|
|
238
|
-
52: typeof
|
|
239
|
-
53: typeof
|
|
240
|
-
54: typeof
|
|
241
|
-
55: typeof
|
|
242
|
-
56: typeof
|
|
243
|
-
57: typeof
|
|
244
|
-
58: typeof
|
|
245
|
-
59: typeof
|
|
246
|
-
60: typeof
|
|
247
|
-
61: typeof
|
|
248
|
-
62: typeof
|
|
249
|
-
63: typeof
|
|
250
|
-
64: typeof
|
|
251
|
-
65: typeof
|
|
252
|
-
66: typeof
|
|
253
|
-
67: typeof
|
|
254
|
-
68: typeof
|
|
255
|
-
69:
|
|
256
|
-
70:
|
|
257
|
-
71: typeof
|
|
258
|
-
72: typeof
|
|
259
|
-
73: typeof
|
|
260
|
-
74: typeof
|
|
261
|
-
75: typeof
|
|
262
|
-
76: typeof
|
|
263
|
-
77: typeof
|
|
264
|
-
78: typeof
|
|
265
|
-
79: typeof
|
|
266
|
-
80: typeof
|
|
267
|
-
81: typeof
|
|
268
|
-
82: typeof
|
|
269
|
-
83: typeof
|
|
270
|
-
84: typeof
|
|
271
|
-
85: typeof
|
|
272
|
-
86: typeof
|
|
273
|
-
87: typeof
|
|
274
|
-
88: typeof
|
|
275
|
-
89: typeof
|
|
276
|
-
90: typeof
|
|
277
|
-
91: typeof
|
|
278
|
-
92: typeof
|
|
279
|
-
93: typeof
|
|
280
|
-
94: typeof
|
|
281
|
-
95: typeof
|
|
282
|
-
96: typeof
|
|
283
|
-
97: typeof
|
|
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
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
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,
|