|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Attempts to "purchase" something that costs the given price .
Items will be taken from all of the player inventories and banks combined.
If customCurrency is provided, the price will be in terms of the custom currency instead of coins.
If the player has enough currency, the currency will be taken from the inventories.
| price | |
| customCurrency |
Definition at line 34127 of file Player.cs.
References Terraria.Player.CanAfford(), and Terraria.Player.PayCurrency().
Here is the call graph for this function: