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 |
local categoryData =
{
keyboardData =
{
priority = ZO_ACTIVITY_FINDER_SORT_PRIORITY . TRIBUTE ,
normalIcon = ZO_TRIBUTE_ICONS_KEYBOARD . up ,
pressedIcon = ZO_TRIBUTE_ICONS_KEYBOARD . down ,
mouseoverIcon = ZO_TRIBUTE_ICONS_KEYBOARD . over ,
disabledIcon = ZO_TRIBUTE_ICONS_KEYBOARD . disabled ,
isTribute = true ,
} ,
gamepadData =
{
priority = ZO_ACTIVITY_FINDER_SORT_PRIORITY . TRIBUTE ,
menuIcon = ZO_TRIBUTE_ICONS_GAMEPAD . normal ,
disabledMenuIcon = ZO_TRIBUTE_ICONS_GAMEPAD . disabled ,
sceneName = "gamepadTributeFinder" ,
hideGroupRoles = true ,
isTribute = true ,
}
}
end
local filterModeData = ZO_ActivityFinderFilterModeData : New ( LFG_ACTIVITY_TRIBUTE_COMPETITIVE , LFG_ACTIVITY_TRIBUTE_CASUAL )
-- Tribute will always use random so we only need the "Tales of Tribute" header
filterModeData : SetSubmenuFilterNames ( GetString ( SI_ACTIVITY_FINDER_CATEGORY_TRIBUTE ) , GetString ( SI_ACTIVITY_FINDER_CATEGORY_TRIBUTE ) )
ZO_ActivityFinderTemplate_Manager . Initialize ( self , "ZO_TributeFinder" , categoryData , filterModeData )
end
return categoryData
end
|