1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
DAILY_REWARDS_TILE_DIMENSIONS_X = 315
DAILY_REWARDS_TILE_DIMENSIONS_Y = 210
-- To only be used with daily login reward-based tiles.
-- Only add functions that access data and pass it back to the caller
end
end
local timeRemaining
else
end
local countDownText = ZO_FormatTime ( timeRemaining , TIME_FORMAT_STYLE_COLONS , TIME_FORMAT_PRECISION_TWELVE_HOUR_NO_SECONDS )
if isSelected then
else
end
end
local title
local background
if dailyRewardIndex and not ( GetDailyLoginClaimableRewardIndex ( ) == nil and GetTimeUntilNextDailyLoginMonthS ( ) <= ZO_ONE_DAY_IN_SECONDS ) then
if rewardData then
if entryType == REWARD_ENTRY_TYPE_ADD_CURRENCY then
else
-- Item/crown crate name formatting colorizes quantity, so we need to format the raw name ourselves here to preserve gamepad selection indicator behavior.
title = zo_strformat ( SI_REWARDS_FORMAT_REWARD_WITH_AMOUNT , rewardData : GetRawName ( ) , rewardData : GetQuantity ( ) )
end
else
end
else
end
return title , background
end
end
-- if we didn't find the reward, it means we are at the end of the month
return title , background
end |