Skip to content

Commit b519fd5

Browse files
committed
add some missing Abilities API
1 parent 725dc0a commit b519fd5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/panorama-types/types/api.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,8 @@ interface CScriptBindingPR_Abilities {
11591159

11601160
GetCurrentCharges(nEntityIndex: AbilityEntityIndex): number;
11611161

1162+
GetCurrentAbilityCharges(nEntityIndex: AbilityEntityIndex): number;
1163+
11621164
GetEffectiveLevel(nEntityIndex: AbilityEntityIndex): number;
11631165

11641166
GetHeroLevelRequiredToUpgrade(nEntityIndex: AbilityEntityIndex): number;
@@ -1225,6 +1227,8 @@ interface CScriptBindingPR_Abilities {
12251227

12261228
IsToggle(nEntityIndex: AbilityEntityIndex): boolean;
12271229

1230+
UsesAbilityCharges(nEntityIndex: AbilityEntityIndex): boolean;
1231+
12281232
GetAOERadius(nEntityIndex: AbilityEntityIndex): number;
12291233

12301234
GetBackswingTime(nEntityIndex: AbilityEntityIndex): number;
@@ -1247,6 +1251,8 @@ interface CScriptBindingPR_Abilities {
12471251

12481252
GetUpgradeBlend(nEntityIndex: AbilityEntityIndex): number;
12491253

1254+
GetAbilityChargeRestoreTimeRemaining(nEntityIndex: AbilityEntityIndex): number;
1255+
12501256
/**
12511257
* Get the local player's current active ability. (Pre-cast targetting state.)
12521258
*/

0 commit comments

Comments
 (0)