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 quest_status, such as questStatus.Accept or questStatus.Clear depending on the quest progress.

Method Parameter Type Required Notes

PlayQuest

player_uuid

string

Required

character_uuid

string

Required

TentuPlayKeyword._DUMMY_CHARACTER_ID_

quest_slug

string

Required

Who wants to be a millionaire?

quest_status

string

Required

questStatus.Clear

quest_category_slug

string

Optional

Challenge Quest

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

    GetCurrency

    player_uuid

    string

    Required

    character_uuid

    string

    Required

    TentuPlayKeyword._DUMMY_CHARACTER_ID_

    currency_slug

    string

    Required

    gold

    currency_quantity

    float

    Required

    100000

    currency_total_quantity

    float

    Optional

    99999999

    from_entity

    Optional

    entity.PlayQuest

    from_category_slug

    string

    Optional

    Challenge Quest

    from_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, and Get{ 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

    GetRandomBox

    player_uuid

    string

    Required

    character_uuid

    string

    Required

    TentuPlayKeyword._DUMMY_CHARACTER_ID_

    item_slug

    string

    Required

    Random Box

    item_quantity

    float

    Required

    1

    from_entity

    Optional

    entity.PlayQuest

    from_category_slug

    string

    Optional

    Challenge Quest

    from_slug

    string

    Optional

    Who wants to be a millionaire?

    Method Parameter Type Required Notes

    OpenRandomBox

    player_uuid

    string

    Required

    character_uuid

    string

    Required

    TentuPlayKeyword._DUMMY_CHARACTER_ID_

    item_slug

    string

    Required

    Random Box

    item_quantity

    float

    Required

    1

    Method Parameter Type Required Notes

    GetEquipment

    player_uuid

    string

    Required

    character_uuid

    string

    Required

    TentuPlayKeyword._DUMMY_CHARACTER_ID_

    item_slug

    string

    Required

    1 Star Robe of Piece

    item_quantity

    float

    Required

    1

    from_entity

    Optional

    entity.OpenRandomBox

    from_category_slug

    string

    Optional

    Random Box

    from_slug

    string

    Optional

    Random Box