Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SpendGold: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Note | This page is automatically generated.  Any changes may be overwritten}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
[[Category:Dota2Function]]
[[Category:CDOTA_PlayerResource]]


== Function Description ==
== Function Description ==




''' void SpendGold(int '''', int '''', int '''') '''
''' void SpendGold(int ''playerID'', int ''amount'', int ''reason'') '''


''No Description Set''
''No Description Set''
Line 17: Line 19:
|-
|-
| int
| int
|  
| playerID
| No Description Set
| No Description Set
|-
|-
| int
| int
|  
| amount
| No Description Set
| No Description Set
|-
|-
| int
| int
|  
| reason
| No Description Set
| Use one of the [[Dota_2_Workshop_Tools/Scripting/Constants#Gold_Modifiers|gold modifier constants]]
|}
|}

Latest revision as of 00:54, 20 August 2014

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void SpendGold(int playerID, int amount, int reason)

No Description Set


Parameters

Type Name Description
int playerID No Description Set
int amount No Description Set
int reason Use one of the gold modifier constants