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 |
return rewards
end
end )
end
-- if the next level is also the next milestone then we need the nextLevelContainer display
-- as a milestone like nextMilestoneContainer. This avoids having to reanchor both containers
-- and complicating the keyboard dynamic layout function.
if isNextRewardLevelMilestone then
self . nextLevelContainer . titleControl : SetText ( zo_strformat ( SI_LEVEL_UP_REWARDS_NEXT_MILESTONE_REWARD_HEADER , nextRewardLevel ) )
else
self . nextLevelContainer . titleControl : SetText ( GetString ( SI_LEVEL_UP_REWARDS_NEXT_LEVEL_REWARD_HEADER ) )
end
if nextMilestoneRewardLevel then
self . nextMilestoneContainer . titleControl : SetText ( zo_strformat ( SI_LEVEL_UP_REWARDS_NEXT_MILESTONE_REWARD_HEADER , nextMilestoneRewardLevel ) )
self : LayoutRewardsForLevel ( nextMilestoneRewardLevel , nextMilestoneRewards , self . nextMilestoneContainer )
else
end
end
end
end
end |