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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
----------------------------------
-- Tribute Rewards Data Manager --
----------------------------------
end
-- TODO Tribute: Implement
end
end
end
end
if typeTable then
if typeTable . isSeasonType then
for tierIndex = TRIBUTE_TIER_ITERATION_BEGIN , TRIBUTE_TIER_ITERATION_END do
end
else
for tierIndex = TRIBUTE_LEADERBOARD_TIER_ITERATION_BEGIN , TRIBUTE_LEADERBOARD_TIER_ITERATION_END do
end
end
end
end
end
end
end
return nil
end
end
end
function ZO_TributeRewardsDataManager : InternalGetOrCreateTributeRewardsData ( rewardsTypeId , rewardsTierId )
if rewardsTypeId and rewardsTypeId > 0 then
if not tributeRewardsData then
tributeRewardsData = ZO_TributeRewardsData : New ( self : GetTributeRewardsTypeData ( rewardsTypeId ) , rewardsTierId )
end
end
return tributeRewardsData
end
end
if rewardsTypeId and rewardsTypeId > 0 then
if not tributeRewardsTypeData then
end
return tributeRewardsTypeData
end
end
-- Global singleton
-- The global singleton moniker is assigned by the Data Manager's constructor in order to
-- allow data objects to reference the singleton during their construction.
|