Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SpendGold

From Valve Developer Community
Jump to: navigation, search
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