Card-collecting RPG
Call the following methods if your game is a role-playing game that contains collecting either characters or cards to use in a battle, such as Summoners War and Marvel Future Fight.
A user can either complete missions through basic gameplay or skip them by using a certain item without gameplay.
When a user plays a stage
Call the following methods if users play the stage themselves.
Start stage
-
Call
UseCurrencyif a currency is used to begin a stage.Put
entity.PlayStagein thewhere_to_entityparameter.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_currency_slug
string
Required
staminacurrency_quantity
float
Required
8currency_total_quantity
float
Optional
99999where_to_entity
Optional
entity.PlayStagewhere_to_category_slug
string
Optional
adventure(stage type)where_to_slug
string
Optional
1-1-1(stage name) -
Call
PlayStagewhen a stage begins.-
Put all the characters needed to play a stage in a list format in the
character_uuidsparameter including ID for dummy character. -
Put
stageStatus.Startin thestage_statusparameter.
Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_, {Nike uuid}, {Zeus uuid}, {Peach uuid}, {Baek uuid}, {Kiwi uuid}stage_type
Required
stageType.PvEstage_slug
string
Required
1-1-1stage_category_slug
string
Optional
adventurestage_level
string
Optional
1stage_score
int
Optional
null
stage_status
Optional
stageStatus.Startstage_playtime
int
Optional
null
-
-
Call
PlayStageWithEquipmentfor every equipment when each character is equipped with equipments during stage play.Method
Parameter
Type
Required
Notes
Equipment A
Equipment B
player_uuid
string
Required
character_uuid
string
Required
{Baek uuid}
item_slug
string
Required
Level 1 ArmorLevel 2 Long Swordstage_slug
string
Optional
1-1-1stage_type
Optional
stageType.PvEstage_category_slug
string
Optional
adventure
End Stage
Call PlayStage when the stage ends.
|
Put Win, Lose, or Quit in the |
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuids |
string |
Required |
|
|
stage_type |
Required |
|
||
stage_slug |
string |
Required |
|
|
stage_category_slug |
string |
Optional |
|
|
stage_level |
string |
Optional |
|
|
stage_score |
int |
Optional |
|
|
stage_status |
Optional |
|
||
stage_playtime |
int |
Optional |
|
Level up character
Call LevelUpCharacter if a certain character levels up during or after stage play.
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
{Kylie uuid} |
|
level_to |
int |
Required |
|
|
level_from |
int |
Optional |
|
Get item
Call Get{ Object } to record each object acquired through stage play.
-
Call
GetCurrencyif a user earns a currency from playing stage.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_currency_slug
string
Required
goldcurrency_quantity
float
Required
4947currency_total_quantity
float
Optional
999999from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
adventurefrom_slug
string
Optional
1-1-1 -
Call
GetConsumableif a user earns a consumable from playing stage.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
large potion of experienceitem_quantity
float
Required
29from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
adventurefrom_slug
string
Optional
1-1-1 -
Call
GetEquipmentif a user earns equipments from playing stage.Method
Parameter
Type
Required
Notes
Equipment A
Equipment B
player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
1 star dagger1 star soldiers sworditem_quantity
float
Required
1from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
adventurefrom_slug
string
Optional
1-1-1
Get bonus
Call GetBonus and Get{ Object } if additional bonus is earned after playing the stage.
|
In the following example, GetConsumable and GetCurrency are used as well as GetBonus becasue some currency and consumable are additionally earned as bonuses
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
bonus_slug |
string |
Required |
|
|
bonus_category_slug |
string |
Required |
|
|
is_automated |
boolean |
Optional |
|
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
item_slug |
string |
Required |
|
|
item_quantity |
float |
Required |
|
|
from_entity |
Optional |
|
||
from_category_slug |
string |
Optional |
|
|
from_slug |
string |
Optional |
|
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
currency_slug |
string |
Required |
|
|
currency_quantity |
float |
Required |
|
|
currency_total_quantity |
float |
Optional |
|
|
from_entity |
Optional |
|
||
from_category_slug |
string |
Optional |
|
|
from_slug |
string |
Optional |
|
When a user skips a stage
Call the following methods if users do not play the stage themselves, but instead use a clear ticket to automatically complete the stage. In this case, you will be able to collect the result data only.
Start and end stage
-
Call
UseConsumableif a clear ticket is used.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
clear ticketitem_quantity
float
Required
1where_to_entity
Optional
entity.PlayStagewhere_to_category_slug
string
Optional
adventurewhere_to_slug
string
Optional
1-4-10 -
Call
UseCurrencyif a currency is paid to start stage.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_currency_slug
string
Required
staminacurrency_quantity
float
Required
8currency_total_quantity
float
Optional
99999where_to_entity
Optional
entity.PlayStagewhere_to_category_slug
string
Optional
adventurewhere_to_slug
string
Optional
1-4-10 -
Call
PlayStagewhen the stage ends with a clear ticket being used.Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_stage_type
Required
stageType.PvEstage_slug
string
Required
1-4-10stage_category_slug
string
Optional
adventurestage_level
string
Optional
44stage_score
int
Optional
null
stage_status
Optional
stageStatus.Winstage_playtime
int
Optional
0
Level up character
Call LevelUpCharacter if a certain character levels up at the end of stage.
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
level_to |
int |
Required |
|
|
level_from |
int |
Optional |
|
Get item
Call Get{ Object } to record each object acquired at the end of stage.
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
currency_slug |
string |
Required |
|
|
currency_quantity |
float |
Required |
|
|
currency_total_quantity |
float |
Optional |
|
|
from_entity |
Optional |
|
||
from_category_slug |
string |
Optional |
|
|
from_slug |
string |
Optional |
|
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
item_slug |
string |
Required |
|
|
item_quantity |
float |
Required |
|
|
from_entity |
Optional |
|
||
from_category_slug |
string |
Optional |
|
|
from_slug |
string |
Optional |
|
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
item_slug |
string |
Required |
|
|
item_quantity |
float |
Required |
|
|
from_entity |
Optional |
|
||
from_category_slug |
string |
Optional |
|
|
from_slug |
string |
Optional |
|