Quest
Call the following methods when a user accomplishes a quest and gets a reward.
Quest completed
Call PlayQuest when the player receives a quest or completes a quest to collect data of players and the quests they choose to play.
|
Put a pre-defined enum value in |
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
|
|
quest_slug |
string |
Required |
|
|
quest_status |
string |
Required |
|
|
quest_category_slug |
string |
Optional |
|
Quest rewarded
Call the following methods when a player is given a reward for completing a quest depending on the reward type.
-
If the player receives a currency as a reward, call
GetCurrency.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
100000currency_total_quantity
float
Optional
99999999from_entity
Optional
entity.PlayQuestfrom_category_slug
string
Optional
Challenge Questfrom_slug
string
Optional
Who wants to be a millionaire? -
If a player receives an object as a reward by a certain probability, call
GetRandomBox,OpenRandomBox, andGet{ Object }depending on the object type.The following example assumes that a user has acquired an equipment as a reward for completing a quest.
Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
Random Boxitem_quantity
float
Required
1from_entity
Optional
entity.PlayQuestfrom_category_slug
string
Optional
Challenge Questfrom_slug
string
Optional
Who wants to be a millionaire?Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
Random Boxitem_quantity
float
Required
1Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
TentuPlayKeyword._DUMMY_CHARACTER_ID_item_slug
string
Required
1 Star Robe of Pieceitem_quantity
float
Required
1from_entity
Optional
entity.OpenRandomBoxfrom_category_slug
string
Optional
Random Boxfrom_slug
string
Optional
Random Box