TPStashEvent.DepositConsumable
TPStashEvent.DepositConsumable(
userId,
character_uuid,
item_slug,
item_quantity,
storage_type,
storage_slug,
storage_category_slug
)
Description
DepositConsumable collects the events that occur when a character deposits a consumable item to its storage.
|
Parameters
Name | Description | Required | ||
---|---|---|---|---|
UserId |
Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId |
Required |
||
character_uuid |
Player’s character’s unique lD
|
Required |
||
item_slug |
Unique identifier of the item (for example, "weapon_sword_dagger" and "shield_kite_rare") |
Required |
||
item_quantity |
The number or amount of consumable item deposited |
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 |