getGameContext
Definition
-- @/lua/ge/extensions/gameplay/markerInteraction.lua:149
local function getGameContext(fromMissionMenu)
return gameplay_missions_missionScreen.getMissionScreenData()
end
Callers
@/lua/ge/extensions/core/gameContext.lua
local function getGameContext(...)
if not gameplay_markerInteraction then
if gameplay_markerInteraction then
return gameplay_markerInteraction.getGameContext(...)
end
@/ui/modules/menu/menu.js
// bngApi.engineLua(`{
// gameContext = core_gameContext and core_gameContext.getGameContext(),
// isCareerActive = career_career.isActive()
@/ui/modules/gameContext/gameContext.js
if(toState && toState.name == "menu.careermission") {
bngApi.engineLua('core_gameContext.getGameContext(true)', function(res) {
$scope.$evalAsync(() =>$scope.parseData(res))