Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UDiffCookCommandlet
Description
If the give PackageData was found during LoadDepotPackageLists to have the given extension, return a pointer to a string for the cookpath to package's file for that extension. Returns &Buffer if the, file exists, otherwise returns nullptr.
| Name | GetFileNameForExtension |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffCookCommandlet.h |
| Include Path | #include "Commandlets/DiffCookCommandlet.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/DiffCookCommandlet.cpp |
static FString * GetFileNameForExtension
(
UDiffCookCommandlet::FPackageData & PackageData,
FString & Buffer,
EPackageExtension Extension
)