Navigation
API > API/Plugins > API/Plugins/StormSyncDrives > API/Plugins/StormSyncDrives/FStormSyncDrivesUtils
Description
Report whether a given name is the proper format for a PackageName, without checking whether it is in one of the registered mount points.
Notable difference from FPackageName::IsValidTextForLongPackageName is that we don't check for minimal path length requirement, we are only interested in testing the front path (eg. /Foo vs /Foo/Dummy)
| Name | IsValidTextForLongPackageName |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/StormSync/Source/StormSyncDrives/Public/StormSyncDrivesUtils.h |
| Include Path | #include "StormSyncDrivesUtils.h" |
| Source | /Engine/Plugins/VirtualProduction/StormSync/Source/StormSyncDrives/Private/StormSyncDrivesUtils.cpp |
static bool IsValidTextForLongPackageName
(
FStringView InLongPackageName,
FPackageName::EErrorCode * OutReason
)
true if valid text for a long package name
Parameters
| Name | Remarks |
|---|---|
| InLongPackageName | The package name to test |
| OutReason | When returning false, this will provide a description of what was wrong with the name. |