warcraft-3-w3ts-utils 0.1.9 → 0.1.10
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/dist/package.json +1 -1
- package/dist/utils/item.d.ts +2 -3
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/utils/item.d.ts
CHANGED
|
@@ -10,13 +10,12 @@ export declare function unitHasItem(u: Unit, itemTypeId: number): boolean;
|
|
|
10
10
|
* Determines items that are created by recipes.
|
|
11
11
|
*/
|
|
12
12
|
export declare function registerItemsRecipes(recipesConfiguration: Map<RecipeItem, RecipeItemRequirement[]>): void;
|
|
13
|
-
interface RecipeItemRequirement {
|
|
13
|
+
export interface RecipeItemRequirement {
|
|
14
14
|
itemTypeId: number;
|
|
15
15
|
quantity: number;
|
|
16
16
|
charges: number;
|
|
17
17
|
}
|
|
18
|
-
interface RecipeItem {
|
|
18
|
+
export interface RecipeItem {
|
|
19
19
|
recipeId: number;
|
|
20
20
|
itemId: number;
|
|
21
21
|
}
|
|
22
|
-
export {};
|