GE Lua Documentation

Press F to search!

disableSerialization

Definition


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

local function disableSerialization(...)

  -- Try to make this table only hold unique entries, no duplicates
  for _,entry in ipairs({...}) do
    if type(entry) == 'string' then
      table.insert(doNotSerializeModules, entry)
    else
      for _, v in ipairs(entry) do
        if type(v) == 'string' then
          table.insert(doNotSerializeModules, v)
        else
          log('W', logTag, "Disabling extension from serialization entry is not valid. It should be a string. entry = " .. dumps(v))
        end
      end
    end
  end
end

Callers

@/lua/ge/extensions/career/career.lua
    extensions.load(careerModules)
    extensions.disableSerialization(careerModules)