@wayward/types 2.12.0-beta.dev.20220912.1 → 2.12.0-beta.dev.20220914.1
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.
|
@@ -173,6 +173,8 @@ export default abstract class Human extends Entity implements IHasInsulation {
|
|
|
173
173
|
update(): void;
|
|
174
174
|
updateStatsAndAttributes(): void;
|
|
175
175
|
getMovementDelay(): number;
|
|
176
|
+
protected onMoveComplete(): void;
|
|
177
|
+
protected onNoInput(): void;
|
|
176
178
|
/**
|
|
177
179
|
* This is only ran on the server
|
|
178
180
|
*/
|
|
@@ -65,9 +65,10 @@ export default class Player extends Human implements IUnserializedCallback {
|
|
|
65
65
|
updateMovementIntent(movementIntent: IMovementIntent): boolean;
|
|
66
66
|
load(): void;
|
|
67
67
|
setup(spawnPoint: IVector3): void;
|
|
68
|
-
onNoInput(): void;
|
|
68
|
+
protected onNoInput(): void;
|
|
69
69
|
updateTables(source: string, options?: Partial<{
|
|
70
70
|
allowCaching: boolean;
|
|
71
|
+
skipDeferral: boolean;
|
|
71
72
|
}>): void;
|
|
72
73
|
private updateCraftTable;
|
|
73
74
|
updateDismantleTable(adjacentContainers?: IContainer[], force?: boolean): void;
|
|
@@ -236,7 +236,7 @@ export default class ItemManager extends ObjectManager<Item, IItemManagerEvents>
|
|
|
236
236
|
getItemInContainer(container: IContainer, itemTypeSearch: ItemType, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
237
237
|
getItemForHuman(human: Human, search: ItemType | ItemTypeGroup, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
238
238
|
getItemInContainerByGroup(container: IContainer, itemTypeGroupSearch: ItemTypeGroup, options?: Partial<IGetItemOptions>): Item | undefined;
|
|
239
|
-
getItemInAdjacentContainersByGroup(position: IVector3, itemTypeGroupSearch: ItemTypeGroup): Item | undefined;
|
|
239
|
+
getItemInAdjacentContainersByGroup(position: IVector3, itemTypeGroupSearch: ItemTypeGroup, options?: Partial<IGetItemsOptions>): Item | undefined;
|
|
240
240
|
getItemsInContainer(container: IContainer, options?: Partial<IGetItemsOptions>): Item[];
|
|
241
241
|
getItemsInContainerByType(container: IContainer, itemType: ItemType, options?: Partial<IGetItemsOptions>, filterText?: string): Item[];
|
|
242
242
|
getItemsInContainerByGroup(container: IContainer, itemGroup: ItemTypeGroup, options?: Partial<IGetItemsOptions>): Item[];
|
package/package.json
CHANGED