class

FScreenMessages

Module
Core
Header
#include "Core/FScreenMessages.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr int64_tkAlwaysAddDefault -1.
static constexpr size_tkMaxEntriesDefault 64.
static constexpr floatkFadeSecondsDefault 0.5f.

Public functions

ReturnsNameDescription
voidAddkey kAlwaysAdd appends a line, collapsing into an existing unkeyed line of the same text and colour (count + timer refresh).
voidTick
std::vector<FEntry>SnapshotOldest first.
voidClear
voidSetEnabled
boolIsEnabled
boolAreOverlaysHiddenui.DebugOverlays.Hide: the capture switch - hides messages and the stat block without clearing or disabling anything.
voidSetOverlaysHidden
int32_tGetMaxLines
int32_tGetMessageLogSeverityui.ScreenMessages.MessageLogSeverity: 0 off, 1 errors, 2 errors and warnings.
voidSetMessageLogSeverity
boolIsMessageLogPageMirroredui.ScreenMessages.MessageLogPages is a comma list of page ids.
int64_tHashKeyA stable key for a text, so a per-frame error is one line with a count.

Function details

Add

C++
static void Add(int64_t key, float seconds, const Vec4& color, std::string text, float scale = 1.0f)

key kAlwaysAdd appends a line, collapsing into an existing unkeyed line of the same text and colour (count + timer refresh). Any other key replaces the line holding that key and restarts its timer, or appends.

Tick

C++
static void Tick(float realDeltaSeconds)

Snapshot

C++
static std::vector<FEntry> Snapshot()

Oldest first. Empty while disabled or ui.DebugOverlays.Hide is on.

Clear

C++
static void Clear()

SetEnabled

C++
static void SetEnabled(bool enabled)

IsEnabled

C++
static bool IsEnabled()

AreOverlaysHidden

C++
static bool AreOverlaysHidden()

ui.DebugOverlays.Hide: the capture switch - hides messages and the stat block without clearing or disabling anything.

SetOverlaysHidden

C++
static void SetOverlaysHidden(bool hidden)

GetMaxLines

C++
static int32_t GetMaxLines()

GetMessageLogSeverity

C++
static int32_t GetMessageLogSeverity()

ui.ScreenMessages.MessageLogSeverity: 0 off, 1 errors, 2 errors and warnings.

SetMessageLogSeverity

C++
static void SetMessageLogSeverity(int32_t severity)

IsMessageLogPageMirrored

C++
static bool IsMessageLogPageMirrored(std::string_view pageId)

ui.ScreenMessages.MessageLogPages is a comma list of page ids.

HashKey

C++
static int64_t HashKey(std::string_view text)

A stable key for a text, so a per-frame error is one line with a count.

Generated from Core/FScreenMessages.h via core.json · Dec 5, 2026Version 1.1.0