@wayward/types 2.15.3-beta.dev.20260122.1 → 2.15.3-beta.dev.20260124.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.
|
@@ -230,7 +230,7 @@ export default class ItemManager extends EntityManager<Item, IItemRemoveOptions>
|
|
|
230
230
|
* For entity manager compat
|
|
231
231
|
*/
|
|
232
232
|
protected onRemove(): boolean;
|
|
233
|
-
|
|
233
|
+
generateDisassemblyComponents(description: IItemDescription, quality: Quality | undefined): Item[];
|
|
234
234
|
static getDisassemblyComponentsAsItemTypes(description: IItemDescription): Array<ItemType | ItemTypeGroup>;
|
|
235
235
|
getWeightCapacity(container?: IContainer, includeMagic?: boolean): number | undefined;
|
|
236
236
|
create(itemType: ItemType | ItemTypeGroup | Array<ItemType | ItemTypeGroup>, container: IContainer | undefined, quality?: Quality, human?: Human, context?: ActionContext, magicalLootType?: MagicalLootType): Item;
|
|
@@ -39,6 +39,8 @@ export default class EquipmentDialog extends Dialog {
|
|
|
39
39
|
getBindable(): Bindable;
|
|
40
40
|
getIcon(): MenuBarButtonType;
|
|
41
41
|
protected onClearActionSlot(api: IBindHandlerApi): boolean;
|
|
42
|
+
protected onItemProtectToggle(api: IBindHandlerApi): boolean;
|
|
43
|
+
protected onItemRename(api: IBindHandlerApi): boolean;
|
|
42
44
|
}
|
|
43
45
|
export declare class EquipmentSlot extends ItemComponent {
|
|
44
46
|
readonly slot: EquipType;
|
package/package.json
CHANGED