주요 콘텐츠로 건너뛰기

Non-repeating lootbox rewards

What's new

A new RewardMode enum (repeating or non_repeating) is exposed as reward_mode on lootbox nested items, defaulting to repeating. Read models additionally return is_won, which is true once the player has already won a non_repeating item.

Impact

Lootbox payloads now say whether an entry can drop more than once, and whether the player has already claimed it — so clients can mark one-time rewards as collected instead of tracking that state themselves. Both fields are additive and default to the previous behavior.

Changes

ResourceChange
get_itemsAdded reward_mode and is_won to lootbox nested items
get_all_store_items, get_store_items, create_store_item, update_store_item, bulk_update_store_itemsAdded reward_mode and is_won to lootbox nested items
get_daily_rewards, get_daily_reward, create_daily_reward, update_daily_reward, copy_daily_rewardAdded reward_mode and is_won to lootbox nested items
ComponentsAdded the RewardMode schema

Upgrade

  • No action required. Read reward_mode and is_won only if you want to surface one-time rewards differently in your UI.

도움이 필요하세요?
통합팀에 문의하십시오 integration@aghanim.com