GE Lua Documentation

Press F to search!

doSteamScreenshot

Definition


-- @/lua/ge/screenshot.lua:97

local function doSteamScreenshot()
  if settings.getValue('onlineFeatures') ~= 'enable' then
    log('E', 'screenshot.publish', 'screenshot publishing disabled because online features are disabled')
    return
  end
  OnlineServiceProvider.triggerScreenshot()
end

Callers

@/ui/modules/photomode/photomode.js
    //     bngApi.engineScript('hideCursor();', () => {
    //       bngApi.engineLua('screenshot.doSteamScreenshot()', () => {
    //         bngApi.engineLua("extensions.ui_visibility.set(true)")
    timedCall(next => {
      bngApi.engineLua('screenshot.doSteamScreenshot()', next)
    })