Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Output device for replacing GError, and catching specific asserts so they don't crash the game.
| Name | FAssertHookDevice |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtil.h |
| Include Path | #include "NUTUtil.h" |
Syntax
class FAssertHookDevice : public FHookOutputDevice
Inheritance Hierarchy
- FOutputDevice → FOutputDeviceError → FHookOutputDevice → FAssertHookDevice
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssertHookDevice() |
NUTUtil.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DisabledAsserts | TArray< FString > | List of disabled asserts | NUTUtil.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsAssertDisabled
(
const TCHAR* V |
NUTUtil.h |
Overridden from FHookOutputDevice
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
const TCHAR* V, |
NUTUtil.h | ||
virtual void Serialize
(
const TCHAR* V, |
NUTUtil.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddAssertHook
(
FString Assert |
Adds a string to the list of disabled asserts - does a partial match when watching for the disabled assert | NUTUtil.h |