@@ -343,6 +343,33 @@ interface CDOTA_PanoramaScript_GameUI {
343343 * Creates a localized version of the number
344344 */
345345 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 ;
346373}
347374
348375/**
@@ -693,6 +720,11 @@ interface CScriptBindingPR_Players {
693720 */
694721 GetTeam ( iPlayerID : PlayerID ) : DOTATeam_t ;
695722
723+ /**
724+ * Get the player's selected hero id.
725+ */
726+ GetSelectedHeroID ( iPlayerID : PlayerID ) : HeroID ;
727+
696728 /**
697729 * Average gold earned per minute for this player.
698730 */
@@ -720,6 +752,8 @@ interface CScriptBindingPR_Players {
720752
721753 PlayerPortraitClicked ( nClickedPlayerID : PlayerID , bHoldingCtrl : boolean , bHoldingAlt : boolean ) : void ;
722754
755+ PlayerPortraitDoubleClicked ( nClickedPlayerID : PlayerID , bHoldingCtrl : boolean , bHoldingAlt : boolean ) : void ;
756+
723757 BuffClicked ( nEntity : EntityIndex , nBuffSerial : number , bAlert : boolean ) : void ;
724758
725759 /**
@@ -1116,6 +1150,11 @@ interface CScriptBindingPR_Entities {
11161150 * Get the item contained in this physical item container.
11171151 */
11181152 GetContainedItem ( nEntityIndex : EntityIndex ) : ItemEntityIndex ;
1153+
1154+ /**
1155+ * Set the minimap icon on this client.
1156+ */
1157+ SetMinimapIcon ( nEntityIndex : number , pszMinimapIcon : string ) : void ;
11191158}
11201159
11211160interface CScriptBindingPR_Abilities {
@@ -1287,6 +1326,9 @@ interface CScriptBindingPR_Abilities {
12871326 * Returns the keybind (as a string) for the specified ability.
12881327 */
12891328 GetKeybind ( nAbilityEntIndex : AbilityEntityIndex ) : string ;
1329+
1330+ /** Get the max ability charge count. */
1331+ GetMaxAbilityCharges ( nAbilityEntIndex : number ) : number ;
12901332}
12911333
12921334interface CScriptBindingPR_Items {
@@ -1697,6 +1739,54 @@ interface CScriptBindingPR_Game {
16971739 * Registers a keybind that can be listened to with Game.AddCommand
16981740 */
16991741 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 ;
17001790}
17011791
17021792interface CPanoramaScript_SteamUGC {
@@ -1921,6 +2011,11 @@ interface DollarStatic {
19212011 * Convert a string to HTML-safe
19222012 */
19232013 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 ;
19242019}
19252020
19262021interface AsyncWebRequestResponse {
0 commit comments