Skip to content

Commit

Permalink
@moddota/dota-data 0.39.0 pre-ti 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
Perryvw committed Sep 30, 2023
1 parent 6a76e71 commit 815f8f3
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 51 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/dota-lua-types/types/api-types.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ declare interface ModifierAttackEvent {
no_attack_cooldown: boolean;
record: number;
fail_type: attackfail;
report_max?: boolean;
}

declare interface ModifierInstanceEvent {
Expand Down
5 changes: 5 additions & 0 deletions packages/dota-lua-types/types/api.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4543,6 +4543,11 @@ declare interface CDOTA_Modifier_Lua extends CDOTA_Buff {
* @both
*/
GetModifierDodgeProjectile?(): 0 | 1;
/**
* @abstract
* @both
*/
GetModifierDoNotSinkAfterDeath?(): void;
/**
* @abstract
* @both
Expand Down
34 changes: 19 additions & 15 deletions packages/dota-lua-types/types/enums-normalized.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

/**
Expand All @@ -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.
Expand Down Expand Up @@ -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,
}

Expand Down Expand Up @@ -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,
}

/**
Expand Down
34 changes: 19 additions & 15 deletions packages/dota-lua-types/types/enums.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

/**
Expand Down Expand Up @@ -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,
}

Expand Down Expand Up @@ -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,
}

/**
Expand Down
13 changes: 8 additions & 5 deletions packages/dota-lua-types/types/events.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -2201,10 +2208,6 @@ interface DotaHeroUndoselectionEvent {
playerid1: PlayerID;
}

interface PlayerProfileStatsUpdatedEvent {
account_id: number;
}

interface CustomGamePlayerCountUpdatedEvent {
custom_game_id: number;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
}

Expand Down
6 changes: 5 additions & 1 deletion packages/panorama-types/types/enums.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
13 changes: 8 additions & 5 deletions packages/panorama-types/types/events.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -2201,10 +2208,6 @@ interface DotaHeroUndoselectionEvent {
playerid1: PlayerID;
}

interface PlayerProfileStatsUpdatedEvent {
account_id: number;
}

interface CustomGamePlayerCountUpdatedEvent {
custom_game_id: number;
}
Expand Down

0 comments on commit 815f8f3

Please sign in to comment.