From 815f8f3abd961f96c8cf8510e0ad7c4841c5afd1 Mon Sep 17 00:00:00 2001 From: Perryvw Date: Sat, 30 Sep 2023 17:01:31 +0200 Subject: [PATCH] @moddota/dota-data 0.39.0 pre-ti 2023 --- package-lock.json | 16 ++++----- package.json | 2 +- .../types/api-types.generated.d.ts | 1 + .../dota-lua-types/types/api.generated.d.ts | 5 +++ .../types/enums-normalized.generated.d.ts | 34 +++++++++++-------- .../dota-lua-types/types/enums.generated.d.ts | 34 +++++++++++-------- .../types/events.generated.d.ts | 13 ++++--- .../types/enums-normalized.generated.d.ts | 6 +++- .../panorama-types/types/enums.generated.d.ts | 6 +++- .../types/events.generated.d.ts | 13 ++++--- 10 files changed, 79 insertions(+), 51 deletions(-) diff --git a/package-lock.json b/package-lock.json index 75a93c0..b0bb2cf 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.1", + "@moddota/dota-data": "^0.39.0", "@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.1", - "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.1.tgz", - "integrity": "sha512-5Zeq3Ou0urXkFKSUZm5UHAwSMyAMBHBrq/EeZ0lebfbU9meeOUPsLt0d5HYBxDhODJG6Su57bqYOi38r33EZEQ==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.39.0.tgz", + "integrity": "sha512-jIRsCfMo1y63MmTQLbpS5LGUEQYcY+IpcaoLXTGdo8LruvSvrI58FrUSG2JFsCgM8hOfroK6DaootmSTRDsKGw==", "dev": true, "dependencies": { "fs-extra": "^9.0.1", @@ -4979,7 +4979,7 @@ }, "packages/dota-lua-types": { "name": "@moddota/dota-lua-types", - "version": "4.29.0", + "version": "4.29.1", "license": "MIT", "dependencies": { "lua-types": "^2.13.1" @@ -5497,9 +5497,9 @@ } }, "@moddota/dota-data": { - "version": "0.38.1", - "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.38.1.tgz", - "integrity": "sha512-5Zeq3Ou0urXkFKSUZm5UHAwSMyAMBHBrq/EeZ0lebfbU9meeOUPsLt0d5HYBxDhODJG6Su57bqYOi38r33EZEQ==", + "version": "0.39.0", + "resolved": "https://registry.npmjs.org/@moddota/dota-data/-/dota-data-0.39.0.tgz", + "integrity": "sha512-jIRsCfMo1y63MmTQLbpS5LGUEQYcY+IpcaoLXTGdo8LruvSvrI58FrUSG2JFsCgM8hOfroK6DaootmSTRDsKGw==", "dev": true, "requires": { "fs-extra": "^9.0.1", diff --git a/package.json b/package.json index 78e5b47..ff03619 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.1", + "@moddota/dota-data": "^0.39.0", "@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-types.generated.d.ts b/packages/dota-lua-types/types/api-types.generated.d.ts index 12b9c0c..d7a0f6c 100644 --- a/packages/dota-lua-types/types/api-types.generated.d.ts +++ b/packages/dota-lua-types/types/api-types.generated.d.ts @@ -340,6 +340,7 @@ declare interface ModifierAttackEvent { no_attack_cooldown: boolean; record: number; fail_type: attackfail; + report_max?: boolean; } declare interface ModifierInstanceEvent { diff --git a/packages/dota-lua-types/types/api.generated.d.ts b/packages/dota-lua-types/types/api.generated.d.ts index a3c0832..7d149bf 100644 --- a/packages/dota-lua-types/types/api.generated.d.ts +++ b/packages/dota-lua-types/types/api.generated.d.ts @@ -4543,6 +4543,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff { * @both */ GetModifierDodgeProjectile?(): 0 | 1; + /** + * @abstract + * @both + */ + GetModifierDoNotSinkAfterDeath?(): void; /** * @abstract * @both diff --git a/packages/dota-lua-types/types/enums-normalized.generated.d.ts b/packages/dota-lua-types/types/enums-normalized.generated.d.ts index c896764..2721c94 100644 --- a/packages/dota-lua-types/types/enums-normalized.generated.d.ts +++ b/packages/dota-lua-types/types/enums-normalized.generated.d.ts @@ -2580,17 +2580,17 @@ declare const enum GameActivity { DOTA_FORCESTAFF_STATUE = 1773, DOTA_TELEPORT_STATUE = 1774, DOTA_VICTORY_STATUE = 1775, - DOTA_DISABLED_END = 1777, - DOTA_VOODOO_REST = 1781, - DOTA_RADIANT_CREEP_HAMMER = 1783, - DOTA_RELAX_IN = 1784, - DOTA_RELAX_OUT = 1785, - DOTA_CAST_FENCE = 1786, - DOTA_SPWN = 1787, - DOTA_CYCLONE = 1788, - DOTA_IMPALE = 1789, - DOTA_TORRENT = 1790, - DOTA_RUN_ALT = 1791, + DOTA_DISABLED_END = 1776, + DOTA_RELAX_IN = 1778, + DOTA_RELAX_OUT = 1779, + DOTA_CAST_FENCE = 1780, + DOTA_RADIANT_CREEP_HAMMER = 1782, + DOTA_SPWN = 1783, + DOTA_RUN_ALT = 1787, + DOTA_VOODOO_REST = 1788, + DOTA_CYCLONE = 1789, + DOTA_IMPALE = 1790, + DOTA_TORRENT = 1791, } /** @@ -2606,7 +2606,7 @@ declare const enum LuaModifierMotionType { INVALID = 4, } -declare const MODIFIER_FUNCTION_LAST: 286; +declare const MODIFIER_FUNCTION_LAST: 287; /** * @deprecated Non-normalized enum name. Defined only for library compatibility. @@ -3778,6 +3778,10 @@ declare const enum ModifierFunction { * Method Name: `OnForceProcMagicStick` */ ON_FORCE_PROC_MAGIC_STICK = 285, + /** + * Method Name: `GetModifierDoNotSinkAfterDeath` + */ + DO_NOT_SINK_AFTER_DEATH = 286, INVALID = 65535, } @@ -4192,9 +4196,9 @@ declare const enum SourceEngineSoundData { MELEE_MISS = 5, MELEE_HIT = 6, MELEE_HIT_WORLD = 7, - SPECIAL_1 = 9, - SPECIAL_2 = 10, - SPECIAL_3 = 11, + SPECIAL_1 = 10, + SPECIAL_2 = 11, + SPECIAL_3 = 12, } /** diff --git a/packages/dota-lua-types/types/enums.generated.d.ts b/packages/dota-lua-types/types/enums.generated.d.ts index fa0e5f0..42e3acc 100644 --- a/packages/dota-lua-types/types/enums.generated.d.ts +++ b/packages/dota-lua-types/types/enums.generated.d.ts @@ -2707,17 +2707,17 @@ declare enum GameActivity_t { ACT_DOTA_FORCESTAFF_STATUE = 1773, ACT_DOTA_TELEPORT_STATUE = 1774, ACT_DOTA_VICTORY_STATUE = 1775, - ACT_DOTA_DISABLED_END = 1777, - ACT_DOTA_VOODOO_REST = 1781, - ACT_DOTA_RADIANT_CREEP_HAMMER = 1783, - ACT_DOTA_RELAX_IN = 1784, - ACT_DOTA_RELAX_OUT = 1785, - ACT_DOTA_CAST_FENCE = 1786, - ACT_DOTA_SPWN = 1787, - ACT_DOTA_CYCLONE = 1788, - ACT_DOTA_IMPALE = 1789, - ACT_DOTA_TORRENT = 1790, - ACT_DOTA_RUN_ALT = 1791, + ACT_DOTA_DISABLED_END = 1776, + ACT_DOTA_RELAX_IN = 1778, + ACT_DOTA_RELAX_OUT = 1779, + ACT_DOTA_CAST_FENCE = 1780, + ACT_DOTA_RADIANT_CREEP_HAMMER = 1782, + ACT_DOTA_SPWN = 1783, + ACT_DOTA_RUN_ALT = 1787, + ACT_DOTA_VOODOO_REST = 1788, + ACT_DOTA_CYCLONE = 1789, + ACT_DOTA_IMPALE = 1790, + ACT_DOTA_TORRENT = 1791, } /** @@ -3909,7 +3909,11 @@ declare enum modifierfunction { * Method Name: `OnForceProcMagicStick` */ MODIFIER_EVENT_ON_FORCE_PROC_MAGIC_STICK = 285, - MODIFIER_FUNCTION_LAST = 286, + /** + * Method Name: `GetModifierDoNotSinkAfterDeath` + */ + MODIFIER_PROPERTY_DO_NOT_SINK_AFTER_DEATH = 286, + MODIFIER_FUNCTION_LAST = 287, MODIFIER_FUNCTION_INVALID = 65535, } @@ -4342,9 +4346,9 @@ declare enum SourceEngineSoundData { MELEE_MISS = 5, MELEE_HIT = 6, MELEE_HIT_WORLD = 7, - SPECIAL1 = 9, - SPECIAL2 = 10, - SPECIAL3 = 11, + SPECIAL1 = 10, + SPECIAL2 = 11, + SPECIAL3 = 12, } /** diff --git a/packages/dota-lua-types/types/events.generated.d.ts b/packages/dota-lua-types/types/events.generated.d.ts index 68647dd..c835338 100644 --- a/packages/dota-lua-types/types/events.generated.d.ts +++ b/packages/dota-lua-types/types/events.generated.d.ts @@ -105,6 +105,7 @@ interface GameEventDeclarations { hltv_chat: HltvChatEvent; hltv_versioninfo: HltvVersioninfoEvent; hltv_replay: HltvReplayEvent; + hltv_replay_status: HltvReplayStatusEvent; demo_start: DemoStartEvent; demo_stop: object; demo_skip: DemoSkipEvent; @@ -396,7 +397,6 @@ interface GameEventDeclarations { dota_team_player_list_changed: object; dota_player_connection_state_changed: object; dota_player_details_changed: object; - player_profile_stats_updated: PlayerProfileStatsUpdatedEvent; custom_game_player_count_updated: CustomGamePlayerCountUpdatedEvent; custom_game_friends_played_updated: CustomGameFriendsPlayedUpdatedEvent; custom_games_friends_play_updated: object; @@ -938,6 +938,13 @@ interface HltvReplayEvent { reason: number; } +interface HltvReplayStatusEvent { + /** + * Reason for hltv replay status change (). + */ + reason: number; +} + interface DemoStartEvent { /** * CSVCMsgList_GameEvents that are combat log events. @@ -2201,10 +2208,6 @@ interface DotaHeroUndoselectionEvent { playerid1: PlayerID; } -interface PlayerProfileStatsUpdatedEvent { - account_id: number; -} - interface CustomGamePlayerCountUpdatedEvent { custom_game_id: number; } diff --git a/packages/panorama-types/types/enums-normalized.generated.d.ts b/packages/panorama-types/types/enums-normalized.generated.d.ts index c5b46e8..8d10ed8 100644 --- a/packages/panorama-types/types/enums-normalized.generated.d.ts +++ b/packages/panorama-types/types/enums-normalized.generated.d.ts @@ -1095,7 +1095,7 @@ declare enum LoadoutType { TYPE_NONE = 97, } -declare const MODIFIER_FUNCTION_LAST: 286; +declare const MODIFIER_FUNCTION_LAST: 287; /** * @deprecated Non-normalized enum name. Defined only for library compatibility. @@ -2267,6 +2267,10 @@ declare enum ModifierFunction { * Method Name: `OnForceProcMagicStick` */ ON_FORCE_PROC_MAGIC_STICK = 285, + /** + * Method Name: `GetModifierDoNotSinkAfterDeath` + */ + DO_NOT_SINK_AFTER_DEATH = 286, INVALID = 65535, } diff --git a/packages/panorama-types/types/enums.generated.d.ts b/packages/panorama-types/types/enums.generated.d.ts index 1245771..9a9bcc0 100644 --- a/packages/panorama-types/types/enums.generated.d.ts +++ b/packages/panorama-types/types/enums.generated.d.ts @@ -2248,7 +2248,11 @@ declare enum modifierfunction { * Method Name: `OnForceProcMagicStick` */ MODIFIER_EVENT_ON_FORCE_PROC_MAGIC_STICK = 285, - MODIFIER_FUNCTION_LAST = 286, + /** + * Method Name: `GetModifierDoNotSinkAfterDeath` + */ + MODIFIER_PROPERTY_DO_NOT_SINK_AFTER_DEATH = 286, + MODIFIER_FUNCTION_LAST = 287, MODIFIER_FUNCTION_INVALID = 65535, } diff --git a/packages/panorama-types/types/events.generated.d.ts b/packages/panorama-types/types/events.generated.d.ts index 68647dd..c835338 100644 --- a/packages/panorama-types/types/events.generated.d.ts +++ b/packages/panorama-types/types/events.generated.d.ts @@ -105,6 +105,7 @@ interface GameEventDeclarations { hltv_chat: HltvChatEvent; hltv_versioninfo: HltvVersioninfoEvent; hltv_replay: HltvReplayEvent; + hltv_replay_status: HltvReplayStatusEvent; demo_start: DemoStartEvent; demo_stop: object; demo_skip: DemoSkipEvent; @@ -396,7 +397,6 @@ interface GameEventDeclarations { dota_team_player_list_changed: object; dota_player_connection_state_changed: object; dota_player_details_changed: object; - player_profile_stats_updated: PlayerProfileStatsUpdatedEvent; custom_game_player_count_updated: CustomGamePlayerCountUpdatedEvent; custom_game_friends_played_updated: CustomGameFriendsPlayedUpdatedEvent; custom_games_friends_play_updated: object; @@ -938,6 +938,13 @@ interface HltvReplayEvent { reason: number; } +interface HltvReplayStatusEvent { + /** + * Reason for hltv replay status change (). + */ + reason: number; +} + interface DemoStartEvent { /** * CSVCMsgList_GameEvents that are combat log events. @@ -2201,10 +2208,6 @@ interface DotaHeroUndoselectionEvent { playerid1: PlayerID; } -interface PlayerProfileStatsUpdatedEvent { - account_id: number; -} - interface CustomGamePlayerCountUpdatedEvent { custom_game_id: number; }