showApp
Definition
-- @/lua/ge/extensions/ui/gameplayAppContainers.lua:82
local function showApp(containerId, appId)
setAppVisibility(containerId, appId, true)
end
Callers
@/lua/ge/extensions/ui/gameplayAppContainers.lua
hideAllApps(containerId)
showApp(containerId, context)
end
if data and #data > 0 then
showApp('gameplayApps', 'flashMessage')
end
if isCountdown then
showApp('gameplayApps', 'countdown')
if goTtl then
-- Show flash message app and send data to UI
showApp('gameplayApps', 'flashMessage')
guihooks.trigger('GameplayAppsFlashMessage', currentMessage.data)
for appId, _ in pairs(container.apps) do
showApp(containerId, appId)
end
-- Simulate drift app visible and send test message
showApp(containerId, 'drift')
onGameplayFlashMessage({
-- Simulate drag app visible and send test message
showApp(containerId, 'drag')
onGameplayFlashMessage({
if im.Button("Quick Message (1s)##" .. containerId) then
showApp(containerId, 'drift')
onGameplayFlashMessage({
if im.Button("Long Message (8s)##" .. containerId) then
showApp(containerId, 'drift')
onGameplayFlashMessage({
@/ui/modules/apps/DamageAppVehicleSimple/app.js
function showApp(arr) {
damageQueue = []
showApp()
}
appDisplayed = 1
showApp(damageQueue)
}
damageQueue.push(data)
showApp()
})
@/lua/ge/extensions/gameplay/drag/general.lua
if ui_gameplayAppContainers then
ui_gameplayAppContainers.showApp('gameplayApps', 'drag')
end
@/lua/ge/extensions/flowgraph/nodes/ui/setUILayout.lua
if self.pinIn.appContainerContext.value then
ui_gameplayAppContainers.showApp('gameplayApps', self.pinIn.appContainerContext.value)
end
if self.pinIn.appContainerContext.value then
ui_gameplayAppContainers.showApp('gameplayApps', self.pinIn.appContainerContext.value)
end
@/lua/ge/extensions/gameplay/drift/display.lua
if value then
ui_gameplayAppContainers.showApp('gameplayApps', 'drift')
else
@/lua/ge/extensions/ui/messagesTasksAppContainers.lua
local function showApp(containerId, appId)
setAppVisibility(containerId, appId, true)
for appId, _ in pairs(container.apps) do
showApp(containerId, appId)
end