TPStashEvent.WithdrawCurrency
TPStashEvent.WithdrawCurrency(
userId,
character_uuid,
currency_slug,
currency_quantity,
storage_type,
storage_slug,
storage_category_slug
)
Description
WithdrawCurrency collects the events that occur when a character withdraws a currency from its storage.
Parameters
Name | Description | Required | ||
---|---|---|---|---|
player_uuid |
Player’s unique ID (not a character’s ID) such as Steam user ID and Google Play user ID |
Required |
||
character_uuid |
Player’s character’s unique lD
|
Required |
||
currency_slug |
Unique identifier of currency such as "gold", "diamond", and "crystal" |
Required |
||
currency_quantity |
The number or amount of currency withdrawn |
Required |
||
storage_type |
Type of the player’s storage (for example, "personal_storage" and "guild_storage")
|
Optional |
||
storage_slug |
Unique identifier of player’s personal storage |
Optional |
||
storage_category_slug |
Unique identifier of the category that the player’s personal storage belongs to |
Optional |