Public feed
#889900
-- IterateModules will iterate through all modules in the order they will be (or were) loaded
do
local function Iterator(_, StateKey)
StateKey = StateKey + 1;
local ModuleName = LoadOrder[StateKey];
if(not ModuleName) then return nil; end
return StateKey, ModuleName, ModuleList[ModuleName];
end
function FlexBar3:IterateModules()
FlexBar3:Print("Expected amount of loops: ", #LoadOrder);
return Iterator, nil, 0;
end
end