TPStashEvent.PlayStage
TPStashEvent.PlayStage(
userId,
character_uuids,
stage_type,
stage_slug,
stage_category_slug,
stage_level --[[Optional--]],
stage_score --[[Optional--]],
stage_status --[[Optional--]],
stage_playtime --[[Optional--]]
)
Description
PlayStage collects the data of various stages that the character plays in the game. It needs to be called when an stage begins or ends. It can be used for the analysis of personas about stage playing.
|
Parameters
Name | Description | Required | ||
---|---|---|---|---|
UserId |
Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId |
Required |
||
character_uuids |
A list of unique IDs for played characters
|
Required |
||
stage_type |
Stage type
|
Required |
||
stage_slug |
Unique identifier of the stage |
Required |
||
stage_category_slug |
Category of the stage type |
Optional |
||
stage_level |
String of the stage level |
Optional |
||
stage_score |
Stage score when the stage ends |
Optional |
||
stage_status |
Stage status
|
Optional |
||
stage_playtime |
Stage play time until the stage ends |
Optional |