@@ -343,6 +343,33 @@ interface CDOTA_PanoramaScript_GameUI {
343
343
* Creates a localized version of the number
344
344
*/
345
345
ConstructNumberString ( n : number ) : string ;
346
+
347
+ /**
348
+ * Query to check if Tips are available for the local player
349
+ */
350
+ AreTipsAvailable ( ) : boolean ;
351
+
352
+ /**
353
+ * Query to see if the local player can tip a specific player
354
+ */
355
+ IsPlayerTippable ( iPlayerID : number ) : boolean ;
356
+
357
+ /**
358
+ * Tip a player
359
+ */
360
+ TipPlayer ( iPlayerID : number ) : void ;
361
+
362
+ DisplayCustomContextualTip ( ...args : unknown [ ] ) : void ;
363
+
364
+ /**
365
+ * Set the text of a passed label for a DOTA Talent using ability values.
366
+ */
367
+ SetupDOTATalentNameLabel ( ...args : unknown [ ] ) : void ;
368
+
369
+ /**
370
+ * Returns true if the passed ability is a talent.
371
+ */
372
+ IsAbilityDOTATalent ( pszAbilityName : string ) : boolean ;
346
373
}
347
374
348
375
/**
@@ -693,6 +720,11 @@ interface CScriptBindingPR_Players {
693
720
*/
694
721
GetTeam ( iPlayerID : PlayerID ) : DOTATeam_t ;
695
722
723
+ /**
724
+ * Get the player's selected hero id.
725
+ */
726
+ GetSelectedHeroID ( iPlayerID : PlayerID ) : HeroID ;
727
+
696
728
/**
697
729
* Average gold earned per minute for this player.
698
730
*/
@@ -720,6 +752,8 @@ interface CScriptBindingPR_Players {
720
752
721
753
PlayerPortraitClicked ( nClickedPlayerID : PlayerID , bHoldingCtrl : boolean , bHoldingAlt : boolean ) : void ;
722
754
755
+ PlayerPortraitDoubleClicked ( nClickedPlayerID : PlayerID , bHoldingCtrl : boolean , bHoldingAlt : boolean ) : void ;
756
+
723
757
BuffClicked ( nEntity : EntityIndex , nBuffSerial : number , bAlert : boolean ) : void ;
724
758
725
759
/**
@@ -1116,6 +1150,11 @@ interface CScriptBindingPR_Entities {
1116
1150
* Get the item contained in this physical item container.
1117
1151
*/
1118
1152
GetContainedItem ( nEntityIndex : EntityIndex ) : ItemEntityIndex ;
1153
+
1154
+ /**
1155
+ * Set the minimap icon on this client.
1156
+ */
1157
+ SetMinimapIcon ( nEntityIndex : number , pszMinimapIcon : string ) : void ;
1119
1158
}
1120
1159
1121
1160
interface CScriptBindingPR_Abilities {
@@ -1287,6 +1326,9 @@ interface CScriptBindingPR_Abilities {
1287
1326
* Returns the keybind (as a string) for the specified ability.
1288
1327
*/
1289
1328
GetKeybind ( nAbilityEntIndex : AbilityEntityIndex ) : string ;
1329
+
1330
+ /** Get the max ability charge count. */
1331
+ GetMaxAbilityCharges ( nAbilityEntIndex : number ) : number ;
1290
1332
}
1291
1333
1292
1334
interface CScriptBindingPR_Items {
@@ -1697,6 +1739,54 @@ interface CScriptBindingPR_Game {
1697
1739
* Registers a keybind that can be listened to with Game.AddCommand
1698
1740
*/
1699
1741
CreateCustomKeyBind ( keyName : string , commandName : string ) : void ;
1742
+
1743
+ NemesticeGetGameplayTipNumber ( ) : number ;
1744
+
1745
+ NemesticeSetGameplayTipNumber ( nGameplayTipNumber : number ) : void ;
1746
+
1747
+ NemesticeShouldShowGameInfo ( ) : boolean ;
1748
+
1749
+ NemesticeSetShowGameInfo ( bShowGameInfo : boolean ) : void ;
1750
+
1751
+ Winter2022ShouldShowGameInfo ( ) : boolean ;
1752
+
1753
+ Winter2022SetShowGameInfo ( bShowGameInfo : boolean ) : void ;
1754
+
1755
+ Winter2022GetGameplayTipNumber ( ) : number ;
1756
+
1757
+ Winter2022SetGameplayTipNumber ( nGameplayTipNumber : number ) : void ;
1758
+
1759
+ ForceCustomUILoad ( ) : void ;
1760
+
1761
+ CutToDefaultCamera ( ) : void ;
1762
+
1763
+ PlayDataDrivenCamera ( pszCameraName : string ) : number ;
1764
+
1765
+ SetJoyFocusPanel ( ...pPanelArg : unknown [ ] ) : void ;
1766
+
1767
+ PushJoyFocusPanel ( ...pPanelArg : unknown [ ] ) : void ;
1768
+
1769
+ PopJoyFocusPanel ( ) : void ;
1770
+
1771
+ /**
1772
+ *Whether the local player has muted voice chat for the specified player id
1773
+ */
1774
+ IsPlayerMutedVoice ( nPlayerID : number ) : boolean ;
1775
+
1776
+ /**
1777
+ * Set whether the local player has muted voice chat for the specified player id
1778
+ */
1779
+ SetPlayerMutedVoice ( nPlayerID : number , bMutedVoice : boolean ) : void ;
1780
+
1781
+ /**
1782
+ * Whether the local player has muted text chat for the specified player id
1783
+ */
1784
+ IsPlayerMutedText ( nPlayerID : number ) : boolean ;
1785
+
1786
+ /**
1787
+ * Set whether the local player has muted text chat for the specified player id
1788
+ */
1789
+ SetPlayerMutedText ( nPlayerID : number , bMutedText : boolean ) : void ;
1700
1790
}
1701
1791
1702
1792
interface CPanoramaScript_SteamUGC {
@@ -1921,6 +2011,11 @@ interface DollarStatic {
1921
2011
* Convert a string to HTML-safe
1922
2012
*/
1923
2013
HTMLEscape ( string : string ) : string ;
2014
+
2015
+ /**
2016
+ * Return true if a file exists. Path will usually start with 'file://{images}'
2017
+ */
2018
+ BImageFileExists ( path : string ) : void ;
1924
2019
}
1925
2020
1926
2021
interface AsyncWebRequestResponse {
0 commit comments