Navigation
API > API/Runtime > API/Runtime/CoreUObject
Interface implemented by UObjects that want to store diagnostic data for comparison when a package is found to contain indeterminism by a -diffonly cook or is found to have a FalsePositiveIncrementalSkip by a -incrementalvalidate cook.
DeterminismHelper objects are registered via FObjectPreSaveContext.RegisterDeterminismHelper in the PreSave of a UObject.
| Name | IDeterminismHelper |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookDeterminismHelper.h |
| Include Path | #include "Cooker/CookDeterminismHelper.h" |
Syntax
class IDeterminismHelper : public FRefCountBase
Inheritance Hierarchy
- TTransactionalAtomicRefCount → FRefCountBase → IDeterminismHelper
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConstructDiagnostics
(
IDeterminismConstructDiagnosticsContext& Context |
Override this function to add diagnostics to the package containing data about the UObject that registered the DeterminismHelper. | Cooker/CookDeterminismHelper.h | |
virtual void OnPackageModified
(
IDeterminismModifiedExportContext& ExportContext |
Override this function to get a callback with the old and new values of the diagnostics when a package is found to be modified by indeterminism or FalsePositiveIncrementalSkip. | Cooker/CookDeterminismHelper.h |