Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC Hero.SpendGold

From Valve Developer Community
Jump to: navigation, search
Note.png Note:  This page is automatically generated. Any changes may be overwritten

Function Description

void SpendGold(int amount, int reason)

Args: int nGold, int nReason


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