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
UseCurrency
if a currency is used to begin a stage.Put
entity.PlayStage
in thewhere_to_entity
parameter.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_
currency_slug
string
Required
stamina
currency_quantity
float
Required
8
currency_total_quantity
float
Optional
99999
where_to_entity
Optional
entity.PlayStage
where_to_category_slug
string
Optional
adventure
(stage type)where_to_slug
string
Optional
1-1-1
(stage name) -
Call
PlayStage
when a stage begins.-
Put all the characters needed to play a stage in a list format in the
character_uuids
parameter including ID for dummy character. -
Put
stageStatus.Start
in thestage_status
parameter.
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.PvE
stage_slug
string
Required
1-1-1
stage_category_slug
string
Optional
adventure
stage_level
string
Optional
1
stage_score
int
Optional
null
stage_status
Optional
stageStatus.Start
stage_playtime
int
Optional
null
-
-
Call
PlayStageWithEquipment
for 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 Armor
Level 2 Long Sword
stage_slug
string
Optional
1-1-1
stage_type
Optional
stageType.PvE
stage_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
GetCurrency
if 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
gold
currency_quantity
float
Required
4947
currency_total_quantity
float
Optional
999999
from_entity
Optional
entity.PlayStage
from_category_slug
string
Optional
adventure
from_slug
string
Optional
1-1-1
-
Call
GetConsumable
if 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 experience
item_quantity
float
Required
29
from_entity
Optional
entity.PlayStage
from_category_slug
string
Optional
adventure
from_slug
string
Optional
1-1-1
-
Call
GetEquipment
if 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 dagger
1 star soldiers sword
item_quantity
float
Required
1
from_entity
Optional
entity.PlayStage
from_category_slug
string
Optional
adventure
from_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
UseConsumable
if 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 ticket
item_quantity
float
Required
1
where_to_entity
Optional
entity.PlayStage
where_to_category_slug
string
Optional
adventure
where_to_slug
string
Optional
1-4-10
-
Call
UseCurrency
if 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
stamina
currency_quantity
float
Required
8
currency_total_quantity
float
Optional
99999
where_to_entity
Optional
entity.PlayStage
where_to_category_slug
string
Optional
adventure
where_to_slug
string
Optional
1-4-10
-
Call
PlayStage
when 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.PvE
stage_slug
string
Required
1-4-10
stage_category_slug
string
Optional
adventure
stage_level
string
Optional
44
stage_score
int
Optional
null
stage_status
Optional
stageStatus.Win
stage_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 |
|