Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SpendGold
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Note: 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 |