Level Library
- Base:
- UBlueprintFunctionLibrary
- Type:
- UNLevelLibrary
- Header File:
- NexusCore/Public/NLevelLibrary.h
A utility class providing Blueprint-callable level/map operations. For C++ callers, prefer the equivalents in Level Utils.
UFunctions​
Get All Map Names​
Enumerates all known map package names reachable from the supplied search paths.
/**
* Enumerates all known map package names reachable from the supplied search paths.
* @param SearchPaths A list of content-root relative paths (e.g. "/Game/Maps") to scan for maps.
* @return An array of package names of all maps found underneath the search paths.
*/
UFUNCTION(BlueprintCallable, DisplayName = "Get All Map Names", Category = "NEXUS|Level")
static TArray<FString> GetAllMapNames(TArray<FString> SearchPaths);