GE Lua Documentation

Press F to search!

sendGUIState

Definition


-- @/lua/ge/extensions/gameplay/statistic.lua:618

local function sendGUIState()
  local data = {general= fileData.entries}
  if fileDataCareer then
    data.career = fileDataCareer.entries
  end
  guihooks.trigger('StatisticData', data )

end

Callers

@/lua/ge/extensions/core/modmanager.lua

local function sendGUIState()
  --local list = {}
  -- send new state to gui: as a list
  sendGUIState()
  extensions.hook('onModManagerStateChanged')
@/ui/modules/stat/statControllers.js

  bngApi.engineLua(`if gameplay_statistic then gameplay_statistic.sendGUIState() end`)