GE Lua Documentation

Press F to search!

hookExcept

Definition


-- @/lua/common/extensions.lua:863

local function hookExcept(exceptionList, func, ...)
  local exceptionDict = {}
  for _,value in ipairs(exceptionList) do
    exceptionDict[value] = true
  end

  for _, m in ipairs(resolvedModules) do
    if not exceptionDict[m.__extensionsModulePath__] then
      if m[func] and type(m[func]) == 'function' then
        m[func](...)
      end
    end
  end
end

Callers