Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCustomBuybackCost: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
		
		
		
		Jump to navigation
		Jump to search
		RoyAwesome (talk | contribs)  (Dota_Lebot push: Updated Page)  | 
				RoyAwesome (talk | contribs)   (Dota_Lebot push: Updated Page)  | 
				||
| Line 6: | Line 6: | ||
''' void SetCustomBuybackCost(int ''  | ''' void SetCustomBuybackCost(int ''iPlayerID'', int ''iGoldCost'') '''  | ||
''Set the buyback cost for this player.''  | ''Set the buyback cost for this player.''  | ||
| Line 19: | Line 19: | ||
|-  | |-  | ||
| int  | | int  | ||
|   | | iPlayerID  | ||
| No Description Set  | | No Description Set  | ||
|-  | |-  | ||
| int  | | int  | ||
|   | | iGoldCost  | ||
| No Description Set  | | No Description Set  | ||
|}  | |}  | ||
Revision as of 09:36, 20 June 2015
Function Description
void SetCustomBuybackCost(int iPlayerID, int iGoldCost)
Set the buyback cost for this player.
Parameters
| Type | Name | Description | 
|---|---|---|
| int | iPlayerID | No Description Set | 
| int | iGoldCost | No Description Set |