UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetRegistry::Impl::FEventContext Struct Reference

#include <AssetRegistryImpl.h>

Public Types

enum class  EEvent : uint32 {
  Added , Removed , Updated , UpdatedOnDisk ,
  MAX
}
 

Public Member Functions

void Clear ()
 
bool IsEmpty () const
 
void Append (FEventContext &&Other)
 

Public Attributes

TOptional< IAssetRegistry::FFileLoadProgressUpdateDataProgressUpdateData
 
TArray< TPair< FString, EEvent > > PathEvents
 
TArray< TPair< FAssetData, EEvent > > AssetEvents
 
TArray< TPair< FName, EEvent > > VerseEvents
 
TArray< FString > RequiredLoads
 
TArray< FString > BlockedFiles
 
bool bFileLoadedEventBroadcast = false
 
bool bScanStartedEventBroadcast = false
 
bool bHasSentFileLoadedEventBroadcast = false
 
bool bKnownGathersCompleteEventBroadcast = false
 

Detailed Description

Stores events that need to be broadcasted from the AssetRegistry; these events are added to by functions within a lock, and are broadcast after the lock is dropped. The broadcast is also deferred until on the GameThread.

Member Enumeration Documentation

◆ EEvent

Enumerator
Added 
Removed 
Updated 
UpdatedOnDisk 
MAX 

Member Function Documentation

◆ Append()

void UE::AssetRegistry::Impl::FEventContext::Append ( FEventContext &&  Other)

Add all events from other onto this context's collection of events

◆ Clear()

void UE::AssetRegistry::Impl::FEventContext::Clear ( )

Remove all stored events

◆ IsEmpty()

bool UE::AssetRegistry::Impl::FEventContext::IsEmpty ( ) const

Report whether this context has any stored events

Member Data Documentation

◆ AssetEvents

TArray<TPair<FAssetData, EEvent> > UE::AssetRegistry::Impl::FEventContext::AssetEvents

◆ bFileLoadedEventBroadcast

bool UE::AssetRegistry::Impl::FEventContext::bFileLoadedEventBroadcast = false

◆ bHasSentFileLoadedEventBroadcast

bool UE::AssetRegistry::Impl::FEventContext::bHasSentFileLoadedEventBroadcast = false

◆ bKnownGathersCompleteEventBroadcast

bool UE::AssetRegistry::Impl::FEventContext::bKnownGathersCompleteEventBroadcast = false

◆ BlockedFiles

TArray<FString> UE::AssetRegistry::Impl::FEventContext::BlockedFiles

◆ bScanStartedEventBroadcast

bool UE::AssetRegistry::Impl::FEventContext::bScanStartedEventBroadcast = false

◆ PathEvents

TArray<TPair<FString, EEvent> > UE::AssetRegistry::Impl::FEventContext::PathEvents

◆ ProgressUpdateData

TOptional<IAssetRegistry::FFileLoadProgressUpdateData> UE::AssetRegistry::Impl::FEventContext::ProgressUpdateData

◆ RequiredLoads

TArray<FString> UE::AssetRegistry::Impl::FEventContext::RequiredLoads

◆ VerseEvents

TArray<TPair<FName, EEvent> > UE::AssetRegistry::Impl::FEventContext::VerseEvents

The documentation for this struct was generated from the following files: