GE Lua Documentation

Press F to search!

getFilesParsed

Definition


-- @/lua/ge/extensions/core/vehicles.lua:440

local function getFilesParsed()
  if not filesParsedCache then filesJsonCache, filesPCCache, filesImagesCache, filesPaintsCache, filesParsedCache = computeFilesCaches() end
  return filesParsedCache
end

Callers

@/lua/ge/extensions/core/vehicles.lua
    local readData = {}
    if vehFiles.info[infoFilename] and getFilesParsed()[infoFilename] then
      readData = getFilesParsed()[infoFilename]
    if vehFiles.info[infoFilename] and getFilesParsed()[infoFilename] then
      readData = getFilesParsed()[infoFilename]
      local source = infoFilename
  local infoFilename = "/vehicles/"..key.."/info.json"
  local data = getFilesParsed()[infoFilename]
  if data then
@/lua/ge/extensions/core/vehiclePaints.lua
  for _, paintFilePath in pairs(core_vehicles.getPaintFiles()) do
    local paintFile = core_vehicles.getFilesParsed()[paintFilePath]