class
FScreenMessages
- Module
- Core
- Header
#include "Core/FScreenMessages.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr int64_t | kAlwaysAdd | Default -1. |
static constexpr size_t | kMaxEntries | Default 64. |
static constexpr float | kFadeSeconds | Default 0.5f. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Add | key kAlwaysAdd appends a line, collapsing into an existing unkeyed line of the same text and colour (count + timer refresh). |
void | Tick | |
std::vector<FEntry> | Snapshot | Oldest first. |
void | Clear | |
void | SetEnabled | |
bool | IsEnabled | |
bool | AreOverlaysHidden | ui.DebugOverlays.Hide: the capture switch - hides messages and the stat block without clearing or disabling anything. |
void | SetOverlaysHidden | |
int32_t | GetMaxLines | |
int32_t | GetMessageLogSeverity | ui.ScreenMessages.MessageLogSeverity: 0 off, 1 errors, 2 errors and warnings. |
void | SetMessageLogSeverity | |
bool | IsMessageLogPageMirrored | ui.ScreenMessages.MessageLogPages is a comma list of page ids. |
int64_t | HashKey | A 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