Call the methods below if your game is a narrative game that offers a visual novel where users can choose how the story would proceed throughout the story.
Get Character
Call GetCharacter method when a user chooses a certain character in the plot or a story path that he wishes to proceed with.
GetCharacter (choose a character or story path)
player_uuid*
{ player_uuid }
character_uuid*
{ character_uuid }
characterarchetype_slug*
{ Justin path}
from_entity
entity.PlayStage
from_category_slug
{ Justin path }
from_slug
{ Justin path }
Start & End Stage
Call the methods below when a user decides to engage with the character or story plot he chose.
Call UseCurrency method when currency is required to start a stage for the chosen character or story path.
UseCurrency
player_uuid*
{ player_uuid }
character_uuid*
{ character_uuid }
currency_slug*
TICKET
currency_quantity*
1
currency_total_quantity
3
where_to_entity
entity.PlayStages
where_to_category_slug
{ Justin path }
where_to_slug
{1-1}
Call PlayStage method when a stage for the chosen character or story path begins.
PlayStage
player_uuid*
{ player_uuid }
character_uuid*
[TentuPlayKeyword._DUMMY_CHARACTER_ID_, 곽찬]
stage_type*
stageType.PvE
stage_slug*
{1-1}
stage_category_slug
{ Justin route}
stage_level
{1-1}
stage_score
null
stage_status
stageStatus.Start
stage_playtime
null
Call PlayStage method when a stage for the character or story path ends. The result of the stage must be recorded accordingly at stage_status for the PlayStage method.
PlayStage (when user wins or completes a stage)
player_uuid*
{ player_uuid }
character_uuid*
[TentuPlayKeyword._DUMMY_CHARACTER_ID_, 곽찬 ]
stage_type*
stageType.PvE
stage_slug*
{ Justin path }
stage_level
{1-1}
stage_score
null
stage_status
stageStatus.Win
stage_playtime
30
PlayStage (when user leaves or surrenders a stage)