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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
local ICON_SIZE = 60
local HOME_TAB = {
queryType = BGQUERY_ASSIGNED_CAMPAIGN ,
icon = zo_iconFormat ( "EsoUI/Art/Campaign/Gamepad/gp_overview_menuIcon_home.dds" , ICON_SIZE , ICON_SIZE ) ,
}
local LOCAL_TAB = {
queryType = BGQUERY_LOCAL ,
icon = zo_iconFormat ( "EsoUI/Art/Campaign/Gamepad/gp_overview_menuIcon_guest.dds" , ICON_SIZE , ICON_SIZE ) ,
}
-----------------
-- Leaderboard Campaign Selector Gamepad
-----------------
return selector
end
self . dataRegistration = ZO_CampaignDataRegistration : New ( "CampaignLeaderboardSelectorData_Gamepad" , function ( ) return self : NeedsData ( ) end )
end
{
}
end
return ( GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT : IsShowing ( ) and self . selectedQueryType == BGQUERY_ASSIGNED_CAMPAIGN )
end
else
end
else
end
end
end
end
GAMEPAD_LEADERBOARDS : SetActiveCampaign ( GetCampaignName ( self : GetCampaignId ( ) ) , self . selectedTabData . icon )
else
local NO_NAME , NO_ICON
end
end
-----------------
-- Campaign Leaderboards Gamepad
-----------------
ZO_CampaignLeaderboardsManager_Shared . Initialize ( self , control , GAMEPAD_LEADERBOARDS , GAMEPAD_LEADERBOARDS_SCENE , GAMEPAD_CAMPAIGN_LEADERBOARD_FRAGMENT )
if newState == SCENE_FRAGMENT_SHOWING then
elseif newState == SCENE_FRAGMENT_HIDDEN then
end
end )
end
end
end
local rankingTypeText = GetString ( "SI_LEADERBOARDTYPE" , LEADERBOARD_LIST_MANAGER . leaderboardRankType )
headerData . data2HeaderText = zo_strformat ( SI_GAMEPAD_LEADERBOARDS_CURRENT_RANK_LABEL , rankingTypeText )
end
else
end
else
headerData . data3HeaderText = ""
end
--Raid/Endless Archive uses 4 for its timer, and might have set it, so campaign will clear it just in case
headerData . data4HeaderText = ""
end
end
{
else
end
end ,
visible = function ( ) return self . selector : IsHomeSelectable ( ) and self . selector : IsLocalSelectable ( ) end ,
}
end
end |