Daily Reward

When a user gets Objects based on daily rewards or ways besides from playing game content, utilize the GetBonus method and call the Get{ Object Type } method.

Daily Login Rewards

  • If a user gets diamonds via daily rewards, call the GetBonus and GetCurrency methods as shown below.

    GetBonus

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    bonus_slug

    { Daily Login Reward Day 1 }

    bonus_category_slug

    { Daily Login Reward }

    is_automated

    FALSE

    GetCurrency

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    currency_slug

    { Diamond }

    currency_quantity

    10

    currency_total_quantity

    999

    from_entity

    entity.GetBonus

    from_category_slug

    { Daily Login Reward }

    from_slug

    { Daily Login Reward Day 1 }

Daily Mission Rewards

  • If a user gains gold and diamonds through daily missions, call the GetBonus and GetCurrency method in the way below.

    PlayQuest

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    quest_slug

    { Clear 7 Daily Missions }

    quest_status

    questStatus.Clear

    quest_category_slug

    { Daily Missions }

    GetCurrency

    player_uuid

    { player_uuid }

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    currency_slug

    { Gold }

    { Dimension Stone }

    currency_quantity

    10000

    200

    currency_total_quantity

    99999999

    99999

    from_entity

    entity.PlayQuest

    entity.PlayQuest

    from_category_slug

    { Daily Mission }

    { Daily Mission }

    from_slug

    { Clear 7 Daily Missions }

    { Clear 7 Daily Missions }

Daily Quest Rewards

  • If a user can get Equipment following certain odds, call the GetBonus, GetRandomBox, OpenRandomBox, and GetEquipment method. You must record the data by calling the GetRandomBox and OpenRandomBox methods even if the player does not directly get and open a random box item.

    PlayQuest

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    quest_slug

    { Clear Quest A Once }

    quest_status

    questStatus.Clear

    quest_category_slug

    { Daily Quest }

    GetRandomBox

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    item_slug

    { Random Box }

    item_quantity

    1

    from_entity

    entity.PlayQuest

    from_category_slug

    { Daily Quest }

    from_slug

    { Clear Quest A Once }

    OpenRandomBox

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    item_slug

    { Random Box }

    item_quantity

    1

    GetEquipment

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    item_slug

    { 1 Star Ring }

    item_quantity

    1

    from_entity

    entity.OpenRandomBox

    from_category_slug

    { Random Box }

    from_slug

    { Random Box }

  • If the user gets a token item as a reward for clearing daily quests, call the GetBonus and GetToken methods in the following way.

    PlayQuest

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    quest_slug

    { Chat With Others Once }

    quest_status

    questStatus.Clear

    quest_category_slug

    { Daily Quest }

    GetToken

    player_uuid

    { player_uuid }

    character_uuid

    TentuPlayKeyword.DUMMY_CHARACTER_ID

    item_slug

    { Dungeon Lv.5 Entry Pass }

    item_quantity

    1

    from_entity

    entity.PlayQuest

    from_category_slug

    { Daily Quest }

    from_slug

    { Chat With Others Once }