Skip to content
Merged

7.38 #38

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build/vscripts/enums/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,15 @@ export function generateEnumDeclarations(): EnumResult {
_.each(enumValueDescriptions, (descriptions, scopeName) => {
const enumValue = enums.find((x) => x.name === scopeName);
if (enumValue == null) throw new Error(`Enum ${scopeName} not found`);

_.each(descriptions, (description, memberName) => {
if (memberName === '__self') {
enumValue.description = description;
} else {
enumValue.members.find((x) => x.name === memberName)!.description = description;
const member = enumValue.members.find((x) => x.name === memberName);
if (member) {
member.description = description;
}
}
});
});
Expand Down
4,081 changes: 2,320 additions & 1,761 deletions dumper/dump

Large diffs are not rendered by default.

56 changes: 52 additions & 4 deletions files/engine-enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@
"name": "DOTA_PSEUDO_RANDOM_JUGG_CRIT",
"shortName": "JUGG_CRIT"
},
{
"name": "DOTA_PSEUDO_RANDOM_KEZ_SAI",
"shortName": "KEZ_SAI"
},
{
"name": "DOTA_PSEUDO_RANDOM_LEGION_MOMENT",
"shortName": "LEGION_MOMENT"
Expand Down Expand Up @@ -1791,6 +1795,30 @@
"name": "ACT_DOTA_JAKIRO_LIQUIDFIRE_START",
"shortName": "DOTA_JAKIRO_LIQUIDFIRE_START"
},
{
"name": "ACT_DOTA_KEZ_KATANA_IMPALE",
"shortName": "DOTA_KEZ_KATANA_IMPALE"
},
{
"name": "ACT_DOTA_KEZ_KATANA_IMPALE_FAST",
"shortName": "DOTA_KEZ_KATANA_IMPALE_FAST"
},
{
"name": "ACT_DOTA_KEZ_KATANA_ULT_CHAIN_A",
"shortName": "DOTA_KEZ_KATANA_ULT_CHAIN_A"
},
{
"name": "ACT_DOTA_KEZ_KATANA_ULT_CHAIN_B",
"shortName": "DOTA_KEZ_KATANA_ULT_CHAIN_B"
},
{
"name": "ACT_DOTA_KEZ_KATANA_ULT_END",
"shortName": "DOTA_KEZ_KATANA_ULT_END"
},
{
"name": "ACT_DOTA_KEZ_KATANA_ULT_START",
"shortName": "DOTA_KEZ_KATANA_ULT_START"
},
{
"name": "ACT_DOTA_KILLTAUNT",
"shortName": "DOTA_KILLTAUNT"
Expand Down Expand Up @@ -2051,6 +2079,10 @@
"name": "ACT_DOTA_SAND_KING_BURROW_OUT",
"shortName": "DOTA_SAND_KING_BURROW_OUT"
},
{
"name": "ACT_DOTA_SHADOW_VAULT",
"shortName": "DOTA_SHADOW_VAULT"
},
{
"name": "ACT_DOTA_SHAKE",
"shortName": "DOTA_SHAKE"
Expand Down Expand Up @@ -2223,6 +2255,14 @@
"name": "ACT_DOTA_UNDYING_TOMBSTONE",
"shortName": "DOTA_UNDYING_TOMBSTONE"
},
{
"name": "ACT_DOTA_UNICYCLE",
"shortName": "DOTA_UNICYCLE"
},
{
"name": "ACT_DOTA_UNICYCLE_END",
"shortName": "DOTA_UNICYCLE_END"
},
{
"name": "ACT_DOTA_VERSUS",
"shortName": "DOTA_VERSUS"
Expand Down Expand Up @@ -3519,10 +3559,6 @@
"name": "ACT_MP_GESTURE_VC_FISTPUMP_ITEM1",
"shortName": "MP_GESTURE_VC_FISTPUMP_ITEM1"
},
{
"name": "ACT_MP_GESTURE_VC_FISTPUMP_ITEM2",
"shortName": "MP_GESTURE_VC_FISTPUMP_ITEM2"
},
{
"name": "ACT_MP_GESTURE_VC_FISTPUMP_MELEE",
"shortName": "MP_GESTURE_VC_FISTPUMP_MELEE"
Expand Down Expand Up @@ -6358,6 +6394,10 @@
{
"name": "AbilityBehavior",
"members": [
{
"name": "DOTA_ABILITY_BEHAVIOR_AFFECTED_BY_MUTE",
"shortName": "AFFECTED_BY_MUTE"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_ALT_CASTABLE",
"shortName": "ALT_CASTABLE"
Expand Down Expand Up @@ -6430,6 +6470,10 @@
"name": "DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL",
"shortName": "IGNORE_CHANNEL"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_IGNORE_INVISIBLE",
"shortName": "IGNORE_INVISIBLE"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_IGNORE_MUTED",
"shortName": "IGNORE_MUTED"
Expand All @@ -6450,6 +6494,10 @@
"name": "DOTA_ABILITY_BEHAVIOR_INNATE_UI",
"shortName": "INNATE_UI"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_IS_FAKE_ITEM",
"shortName": "IS_FAKE_ITEM"
},
{
"name": "DOTA_ABILITY_BEHAVIOR_ITEM",
"shortName": "ITEM"
Expand Down
86 changes: 73 additions & 13 deletions files/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,33 @@
"local": false,
"fields": []
},
{
"name": "bot_takeover",
"sourceFile": "core",
"local": false,
"fields": [
{
"name": "userid",
"type": "EntityIndex"
},
{
"name": "botid",
"type": "player_controller"
},
{
"name": "p",
"type": "float"
},
{
"name": "y",
"type": "float"
},
{
"name": "r",
"type": "float"
}
]
},
{
"name": "dota_chase_hero",
"sourceFile": "game",
Expand Down Expand Up @@ -2625,12 +2652,6 @@
"local": false,
"fields": []
},
{
"name": "dota_starting_position_changed",
"sourceFile": "game",
"local": false,
"fields": []
},
{
"name": "dota_team_neutral_stash_items_changed",
"sourceFile": "game",
Expand Down Expand Up @@ -2700,12 +2721,6 @@
"local": false,
"fields": []
},
{
"name": "dota_estimated_match_duration_changed",
"sourceFile": "game",
"local": false,
"fields": []
},
{
"name": "dota_hero_ability_points_changed",
"sourceFile": "game",
Expand Down Expand Up @@ -4147,7 +4162,7 @@
{
"name": "client_disconnect",
"sourceFile": "game",
"local": true,
"local": false,
"fields": [
{
"name": "reason_code",
Expand Down Expand Up @@ -5186,6 +5201,51 @@
}
]
},
{
"name": "dota_alchemist_granted_scepter",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "alchemist_userid",
"type": "EntityIndex"
},
{
"name": "grantee_userid",
"type": "EntityIndex"
}
]
},
{
"name": "dota_protector_spawned",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "player_id",
"type": "int"
}
]
},
{
"name": "dota_crafting_xp",
"sourceFile": "game",
"local": false,
"fields": [
{
"name": "userid",
"type": "EntityIndex"
},
{
"name": "type",
"type": "short"
},
{
"name": "xp",
"type": "short"
}
]
},
{
"name": "npc_spawned",
"sourceFile": "game",
Expand Down
Loading
Loading