TPStashEvent.GetToken
TPStashEvent.GetToken(
userId,
character_uuid,
item_slug,
item_quantity,
from_entity--[[Optional--]],
from_category_slug--[[Optional--]],
from_slug--[[Optional--]]
)
Description
GetToken collects the data of the character’s acquisition of a token.
|
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 token acquired |
Required |
||
from_entity |
The action that causes the player to gain the token Entities
|
Optional |
||
from_category_slug |
The category of place, source, or situation from which the player gets the token |
Optional |
||
from_slug |
The name of place, source, or situation from which the player gets the token |
Optional |