Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SpendGold: 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) |
||
(One intermediate revision 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 '' | ''' 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 | ||
| | | Use one of the [[Dota_2_Workshop_Tools/Scripting/Constants#Gold_Modifiers|gold modifier constants]] | ||
|} | |} |
Latest revision as of 00:54, 20 August 2014

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 |