diff --git a/package-lock.json b/package-lock.json index cbe062b..75a93c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "devDependencies": { "@ark120202/eslint-config": "^2.5.0", "@ark120202/typescript-config": "^2.2.0", - "@moddota/dota-data": "^0.38.0", + "@moddota/dota-data": "^0.38.1", "@types/fs-extra": "^9.0.4", "@types/lodash": "^4.14.165", "@types/node": "^14.14.7", @@ -660,9 +660,9 @@ "dev": true }, "node_modules/@moddota/dota-data": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.0.tgz", - "integrity": "sha512-30vmCJiERptWL4Df6qqsghpr5NRmRR0pyQr5fqVEUiSSpE55/F/4gRKGJcQKKEpjCIQwKd4recyhcfwJLUI+4Q==", + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.1.tgz", + "integrity": "sha512-5Zeq3Ou0urXkFKSUZm5UHAwSMyAMBHBrq/EeZ0lebfbU9meeOUPsLt0d5HYBxDhODJG6Su57bqYOi38r33EZEQ==", "dev": true, "dependencies": { "fs-extra": "^9.0.1", @@ -4991,7 +4991,7 @@ }, "packages/panorama-types": { "name": "@moddota/panorama-types", - "version": "1.29.0", + "version": "1.29.1", "license": "MIT", "dependencies": { "tslib": "^2.0.3" @@ -5497,9 +5497,9 @@ } }, "@moddota/dota-data": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.0.tgz", - "integrity": "sha512-30vmCJiERptWL4Df6qqsghpr5NRmRR0pyQr5fqVEUiSSpE55/F/4gRKGJcQKKEpjCIQwKd4recyhcfwJLUI+4Q==", + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.1.tgz", + "integrity": "sha512-5Zeq3Ou0urXkFKSUZm5UHAwSMyAMBHBrq/EeZ0lebfbU9meeOUPsLt0d5HYBxDhODJG6Su57bqYOi38r33EZEQ==", "dev": true, "requires": { "fs-extra": "^9.0.1", diff --git a/package.json b/package.json index c5aa0fb..78e5b47 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@ark120202/eslint-config": "^2.5.0", "@ark120202/typescript-config": "^2.2.0", - "@moddota/dota-data": "^0.38.0", + "@moddota/dota-data": "^0.38.1", "@types/fs-extra": "^9.0.4", "@types/lodash": "^4.14.165", "@types/node": "^14.14.7", diff --git a/packages/dota-lua-types/types/api.generated.d.ts b/packages/dota-lua-types/types/api.generated.d.ts index 534dbaa..a3c0832 100644 --- a/packages/dota-lua-types/types/api.generated.d.ts +++ b/packages/dota-lua-types/types/api.generated.d.ts @@ -3515,7 +3515,13 @@ declare interface CDOTA_Item extends CDOTABaseAbility { IsSellable(): boolean; /** @both */ IsStackable(): boolean; - LaunchLoot(autoUse: boolean, height: number, duration: number, endPoint: Vector, teleportOwner: object): void; + LaunchLoot( + autoUse: boolean, + height: number, + duration: number, + endPoint: Vector, + teleportOwner: CDOTA_BaseNPC_Hero | undefined, + ): void; LaunchLootInitialHeight( autoUse: boolean, initialHeight: number,