Navigation
API > API/Runtime > API/Runtime/Core
Description
Load names and precalculated hashes from an archive using multiple workers
May load synchronously in some cases, like small batches.
Names are rehashed if hash algorithm version doesn't match.
| Name | LoadNameBatchAsync |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameBatchSerialization.h |
| Include Path | #include "UObject/NameBatchSerialization.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
TFunction < TArray < FDisplayNameEntryId >> LoadNameBatchAsync
(
FArchive & Ar,
uint32 MaxWorkers,
ENameBatchLoadingFlags Flags
)
function that waits before returning result, like a simple future.
Parameters
| Name | Remarks |
|---|---|
| Ar | is drained synchronously |
| MaxWorkers | > 0 |