You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
19 lines
464 B
C++
19 lines
464 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AssetRegistryPCH.h"
|
|
|
|
FName FPackageDependencyData::GetImportPackageName(int32 ImportIndex)
|
|
{
|
|
FName Result;
|
|
for (FPackageIndex LinkerIndex = FPackageIndex::FromImport(ImportIndex); !LinkerIndex.IsNull();)
|
|
{
|
|
FObjectResource* Resource = &ImpExp(LinkerIndex);
|
|
LinkerIndex = Resource->OuterIndex;
|
|
if ( LinkerIndex.IsNull() )
|
|
{
|
|
Result = Resource->ObjectName;
|
|
}
|
|
}
|
|
|
|
return Result;
|
|
} |