TPStashEvent.GetBonus
TPStashEvent.GetBonus(
userId,
character_uuid,
bonus_slug,
is_automated,
bonus_category_slug --[[Optional--]]
)
Description
GetBonus collects the data of the character’s acquisition of a bonus in the game.
A bonus denotes an effortless reward that a player or character obtains regardless of whether they play in-game content or not. For example, players or characters can be given either a reward or an opportunity to get a reward by logging in to the game with some restrictions like "Every N minutes" or "Only N times a day". They can also get rewards by using a coupon or any free giveaway. |
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 |
||
bonus_slug |
Unique identifier of the bonus |
Required |
||
bonus_category_slug |
Category of the bonus |
Optional |
||
is_automated |
Whether the bonus is acquired automatically or manually
|
Required |