FBuildInfoManifest
A package's BuildInfo.json, applied before the engine exists: crash attribution and the game's crash settings, the per-product data root, the build id, the crash reporter path and analytics. Every packaged host reads it — the player through FGameHostBootstrap, the dedicated server directly — so a server's crash reports go to the game's DSN too.
- Module
- MowoEngine
- Header
#include "Core/BuildInfoManifest.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Apply | Looks in the game root, the working directory and the executable dir, then inside the engine pak. |
bool | WasApplied | True once a BuildInfo.json was applied this run; the project's own Config/Engine.ini then no longer speaks for the crash settings. |
bool | ApplyProjectCrashReportClient | An unpackaged run of a game: the project's Config/Engine.ini [CrashReportClient] section (else the legacy .mproject crashReporter.dsn) becomes the crash settings every report carries; a project that names nothing keeps its reports on disk. |
Function details
Apply
static bool Apply()Looks in the game root, the working directory and the executable dir, then inside the engine pak. A manifest (or an unwritable game root) marks the run as packaged. True when it named the product.
WasApplied
static bool WasApplied()True once a BuildInfo.json was applied this run; the project's own Config/Engine.ini then no longer speaks for the crash settings.
ApplyProjectCrashReportClient
static bool ApplyProjectCrashReportClient(const std::string& projectPath)An unpackaged run of a game: the project's Config/Engine.ini [CrashReportClient] section (else the legacy .mproject crashReporter.dsn) becomes the crash settings every report carries; a project that names nothing keeps its reports on disk. No-op once a BuildInfo.json was applied. True when the project configured anything.