GE Lua Documentation

Press F to search!

dumpsz

Definition


-- @/lua/common/utils.lua:134

function dumpsz(o, depth)
  return inspect(o, {depth = depth or math.huge})
end

Callers

@/lua/common/jbeam/tableSchema.lua
    if not omitWarnings then
      log('W', "", "*** Invalid table header: " .. dumpsz(header, 2))
    end
@/lua/ge/ge_utils.lua
  if found then
    log('I','','loaded prefab asset: '..dumpsz(found, 1))
  end
@/lua/vehicle/ve_utils.lua
  if type(header) ~= "table" then
    log("W", "tableFromHeaderTable", "*** Invalid table header: " .. dumpsz(entry, 2) .. " - " .. debug.tracesimple())
@/lua/common/utils.lua
function dumpz(o, depth)
  log('A', "lua.utils", dumpsz(o, depth))
end
@/lua/ge/extensions/flowgraph/groupHelper.lua

  --print("internalLinks: " .. dumpsz(internalLinks, 1))
  --print("inputLinks: " .. dumpsz(inputLinks, 1))
  --print("internalLinks: " .. dumpsz(internalLinks, 1))
  --print("inputLinks: " .. dumpsz(inputLinks, 1))
  --print("outputLinks: " .. dumpsz(outputLinks, 1))
  --print("inputLinks: " .. dumpsz(inputLinks, 1))
  --print("outputLinks: " .. dumpsz(outputLinks, 1))
@/lua/ge/extensions/flowgraph/states.lua
  log("D","","State has been started: " ..name)
  self.mgr:logEvent("State started: " ..state.name,"S","The state "..name.. " has been started.\n - Transition Stack data added: " .. dumps(transData).."\n - Stack: " .. dumpsz(state.transitionStack,2),{type = 'graph',graph = state.graph})
end
    if not sourceState then
      log("E","","Could not find source state for transition: " .. dumpsz(t,3))
    else
      local port = sourceState.ports[t.transitionName] or { targets = {}}
      if #port.targets == 0 then log("W","","Empty Port for transition: " .. dumpsz(t,3)) end
      for _, targetId in ipairs(port.targets) do
        end
        log("D","",dumpsz(self.states[id].transitionStack, 2))
      end
@/lua/ge/extensions/editor/forestView.lua
local function onEditorEditModeActivated(newEditMode)
  -- log('I','','onEditorEditModeActivated called: '..dumpsz(newEditMode, 2))
  if newEditMode.displayName == 'Edit Forest' or newEditMode.actionMap == 'forestTools' then
local function onEditorEditModeDeactivated(oldEditMode)
  -- log('I','','onEditorEditModeDeactivated called: '..dumpsz(oldEditMode, 2))
  if oldEditMode.displayName == 'Edit Forest' or oldEditMode.actionMap == 'forestTools' then
@/lua/ge/extensions/gameplay/rally.lua
M.onRallyRegisterRace = function(raceData)
  if debugLogging then log('D', logTag, 'onRallyRegisterRace raceData='..dumpsz(raceData,1)) end
  theRace = raceData
@/lua/ge/extensions/flowgraph/graph.lua
  if not node or type(node.id) ~= 'number' then
    log('E', self.mgr.logTag, 'Graph.deleteNode. Invalid node: ' .. dumpsz(node, 2))
    return
  if not link or type(link.id) ~= 'number' then
    log('E', self.mgr.logTag, 'Graph.deleteLink. Invalid link: ' .. dumpsz(link, 2))
    return
@/lua/common/jbeam/io.lua
    if newListSize < 0 then
      log('E', "", "Slots section in file " .. tostring(sourceFilename) .. " invalid. Unable to recover: " .. dumpsz(part.slots, 2))
    else
    else
      log('W', "", "Slots section in file " .. tostring(sourceFilename) .. " invalid. Please fix. Partly reconstructed: " .. dumpsz(part.slots, 2))
    end
local function processSlotsDestructive(part, sourceFilename)
  --log('I', "", "Processing slots in file " .. tostring(sourceFilename) .. " ..." .. dumpsz(part, 2))
  if type(part.slots) ~= 'table' and type(part.slots2) ~= 'table' then return nil end
    if newListSize < 0 then
      log('E', "", "Slots section in file " .. tostring(sourceFilename) .. " invalid. Unable to recover: " .. dumpsz(part.slots2, 2))
    end
    end
    --log('I', "", "Slots section in file " .. tostring(sourceFilename) .. " processed: " .. dumpsz(newSlots2, 2))
    part.slots2 = newSlots2
      if type(part.slotType) ~= 'string' and type(part.slotType) ~= 'table' then
        log('E', "jbeam.loadJBeamFile", "part does not have a slot type. Ignoring: "..tostring(filename) .. ' - ' .. dumpsz(part, 2))
        parts[partName].slotTypes = {}
@/lua/ge/extensions/flowgraph/modules/uiModule.lua
  log("I","","Finishing Build...")
  log("I", "", dumpsz(self.uiLayout.layout, 2))
@/lua/ge/main.lua
  if found then
    log('I','','loaded prefab asset: '..dumpsz(found, 1))
  end
@/lua/ge/extensions/gameplay/missions/missionManager.lua
  if not mission then
    log("E", logTag, "Couldn't start mission, mission id not found. " .. dumpsz(mission, 2))
    return true
  if mission._isOngoing then
    log("E", logTag, "Couldn't start mission, it's already ongoing: "..dumpsz(mission, 2))
    return true
  if taskData.active then
    log("W", logTag, "Attempting to start mission while there is an active task: " .. dumpsz(taskData, 3))
    return
  if not mission then
    log("E", logTag, "Couldn't start mission, mission id not found. " .. dumpsz(mission, 2))
    return true
  if mission._isOngoing then
    log("E", logTag, "Couldn't start mission, it's already ongoing: "..dumpsz(mission, 2))
    return true
  if taskData.active then
    log("W", logTag, "Attempting to start mission while there is an active task: " .. dumpsz(taskData, 3))
    return
  if not mission then
    log("E", logTag, "Couldn't start mission, mission id not found. " .. dumpsz(mission, 2))
    return true
  if mission._isOngoing then
    log("E", logTag, "Couldn't start mission, it's already ongoing: "..dumpsz(mission, 2))
    return true
  if taskData.active then
    log("W", logTag, "Attempting to start mission while there is an active task: " .. dumpsz(taskData, 3))
    return
  if not level then
    log("E", logTag, "Couldn't start mission, level not found. " .. dumpsz(mission, 2))
    return true
    end
    im.TextWrapped(dumpsz(taskData.data, 3))
    if not taskData.active  then im.EndDisabled() end
@/lua/ge/extensions/career/modules/delivery/generator.lua
      end
      --print(fac.name .. " -> " .. dumpsz(fac.progress.interacted))
@/lua/ge/extensions/freeroam/facilities.lua
local function getParkingSpotsForFacility(facility)
  if not facility.sitesFile then log("E","","Facility has not sites file: " .. dumpsz(facility,1)) return end
  local spots = {}
local function getZonesForFacility(facility)
  if not facility.sitesFile then log("E","","Facility has not sites file: " .. dumpsz(facility,1)) return end
  local zones = {}
@/lua/ge/extensions/flowgraph/nodes/debug/display.lua
  builder:Middle()
  im.TextUnformatted(dumpsz(self._lastVal, 2))
@/lua/ge/extensions/flowgraph/nodes/logic/edgeDetect.lua
  builder:Middle()
  im.TextUnformatted(dumpsz(self.lastSignal, 2))
end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamSpellchecker.lua
        if type(header) ~= "table" then
          log('W', "", filePath .. " *** Invalid table header: " .. dumpsz(header, 2))
          return -1
@/lua/ge/extensions/editor/perfProfiler.lua
    im.Separator()
    im.Text(dumpsz(metadataFile.meta or {}, 1))
    im.Text(dumpsz(metadataFile, 1))
    im.Text(dumpsz(metadataFile.meta or {}, 1))
    im.Text(dumpsz(metadataFile, 1))
  end
@/lua/ge/extensions/telemetry/core.lua
  if debugMode then
    log('I', 'telemetry', dumpsz({'addEvent', event}, 2))
  end
@/lua/ge/extensions/gameplay/drift/scoreboard.lua
      end
      im.Text(dumpsz(tiersAndScore, 3))
      im.SameLine()
      im.SameLine()
      im.Text(dumpsz(M.getPerformanceStats(), 3))
      im.SameLine()
      im.SameLine()
      im.Text(dumpsz(quickMessages, 3))
    end
@/lua/ge/extensions/editor/sceneTree.lua
      if node then
        log('I','',tostring(id)..' node = '..dumpsz(node, level))
      end
@/lua/ge/extensions/flowgraph/modules/threadModule.lua
function C:sendMessage(targetId, message, sourceNode)
  log("I","","Sending Message" .. dumps(targetId) .. dumpsz(message, 2))
  local name = message.name or ""
  local name = message.name or ""
  self.mgr:logEvent("Sent Message "..name.." to " .. dumps(targetId),"I", "A message has been sent to id " .. dumps(targetId)..". Contents: " .. dumpsz(message, 2), {type = "node", node = sourceNode})
  local target = core_flowgraphManager.getManagerByID(targetId)
  local name = message.name or ""
  self.mgr:logEvent("Received Message " .. name.. " from " .. dumps(sourceId),"I", "A message has been received from " .. dumps(sourceId)..". Contents: " .. dumpsz(message, 2))
end
@/lua/ge/extensions/util/stepHandler.lua
    end
    im.TextWrapped(dumpsz(taskData.data, 3))
    if not taskData.active  then im.EndDisabled() end