GE Lua Documentation

Press F to search!

openSession

Definition


-- @/=[C]:-1
function openSession(...)

Callers

@/lua/ge/main.lua

  core_online.openSession() -- try to connect to online services
@/lua/ge/extensions/core/online.lua
-- connects to the online services
local function openSession()
  -- opening the session is only supposed to work once at game start
  -- ask the c++ side to do that for us
  Engine.Online.openSession()
end
    enabled = true
    openSession()
  elseif enabled and not sValue then