Method GetVirtualPurchase
GetVirtualPurchase(string)
Gets a specific virtual purchase from the cached config.
Declaration
VirtualPurchaseDefinition GetVirtualPurchase(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The ID of the virtual purchase to fetch. |
Returns
Type | Description |
---|---|
VirtualPurchaseDefinition | A VirtualPurchaseDefinition or null if the currency doesn't exist. |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |