Method GetItemDefinitionAsync
GetItemDefinitionAsync()
Gets the configuration definition associated with this player's inventory item.
Declaration
[Obsolete("This has been replaced with GetItemDefinition which is not asynchronous and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<InventoryItemDefinition> GetItemDefinitionAsync()
Returns
Type | Description |
---|---|
Task<InventoryItemDefinition> | The InventoryItemDefinition associated with this player's inventory item |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |