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 |
--This data will determine how the screens are laid out and presented to the player. It lets you control what goes into the dropdown and what goes into the list (keyboard)
--Or what goes into root list and what gets drilled down into a sub list (gamepad). Should be initialized with any number of LFG activity types.
return manager
end
self . activityTypes = { ... }
self . areSpecificsInSubmenu = false
self : SetVisibleEntryTypes ( ZO_ACTIVITY_FINDER_LOCATION_ENTRY_TYPE . SPECIFIC , ZO_ACTIVITY_FINDER_LOCATION_ENTRY_TYPE . SET )
end
return self . activityTypes
end
function ZO_ActivityFinderFilterModeData : SetSubmenuFilterNames ( specificFilterName , randomFilterName )
self . specificFilterName = specificFilterName
self . randomFilterName = randomFilterName
end
return self . specificFilterName
end
return self . randomFilterName
end
self . visibleEntryTypes = { ... }
end
return self . visibleEntryTypes
end
if entryType == entryTypeToCheck then
return true
end
end
return false
end
------------------
--Initialization--
------------------
return manager
end
self . filterModeData = filterModeData
self . keyboardObject = ZO_ActivityFinderTemplate_Keyboard : New ( self , categoryData . keyboardData , categoryData . priority )
end
self . gamepadObject = ZO_ActivityFinderTemplate_Gamepad : New ( self , categoryData . gamepadData , categoryData . priority )
self . lockingCooldownTypes = { }
end
end
return self . filterModeData
end
return self . keyboardObject
end
return self . gamepadObject
end
end
self . lockingCooldownTypes = { ... }
end
return true
end
end
return false
end
do
local VERBOSE_COOLDOWN_TEXT = true
--if the text is a function, that means theres a timer involved that we want to refresh on update
return function ( ) return ZO_ACTIVITY_FINDER_ROOT_MANAGER : GetLFGCooldownLockText ( cooldownType , VERBOSE_COOLDOWN_TEXT ) end
end
end
return nil
end
end
local isManagerLocked = false
local managerLockReasons =
{
}
if reason == true then
isManagerLocked = true
break
end
end
return isManagerLocked , managerLockReasons
end
local lockReasonText
if isManagerLocked then
if managerLockReasons . isLockedByCooldown then
end
end
return lockReasonText
end |