GlobalInfo
Overview
The GlobalInfo namespace provides a set of constants for displaying error, warning, and log messages with specific durations and colors. It also includes a utility function to convert thread exit codes into human-readable strings.
Properties
Type | Name | Access | Description |
|---|---|---|---|
float | ErrorDisplayTime | constexpr static | Duration in seconds for displaying error messages. |
FColor & | ErrorTextColor | constexpr static | Color of the text for error messages. |
float | WarningDisplayTime | constexpr static | Duration in seconds for displaying warning messages. |
FColor & | WarningTextColor | constexpr static | Color of the text for warning messages. |
float | LogDisplayTime | constexpr static | Duration in seconds for displaying log messages. |
FColor & | LogTextColor | constexpr static | Color of the text for log messages. |
Functions
Return Type | Signature | Description |
|---|---|---|
FString | ConvertExitCodeToString(const FRunnableThread* Thread, const uint8 ExitCode) | Converts a thread exit code into a human-readable string. |
Usage & Implementation Notes
The
ConvertExitCodeToStringfunction is used to provide detailed error messages when a thread terminates with an exit code.The constants for display times and text colors are used in various parts of the application to ensure consistent message presentation.