UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMPackageName.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "VerseVM/VVMNames.h"
7
8#define UE_API COREUOBJECT_API
9
10class UObject;
11
12enum class EVersePackageScope : uint8;
13enum class EVersePackageType : uint8;
14
15namespace Verse
16{
17
19{
20public:
21 // The following methods are being deprecated and should use Verse::Names methods found in VVMNames.h
22 static UE_API FString GetVersePackageNameForVni(const TCHAR* MountPointName, const TCHAR* CppModuleName);
23 static UE_API FString GetVersePackageNameForContent(const TCHAR* MountPointName);
24 static UE_API FString GetVersePackageNameForPublishedContent(const TCHAR* MountPointName);
25 static UE_API FString GetVersePackageNameForAssets(const TCHAR* MountPointName);
26 static UE_API FString GetVersePackageDirForContent(const TCHAR* MountPointName);
27 static UE_API FString GetVersePackageDirForAssets(const TCHAR* MountPointName);
28
29 // The following methods don't have a Verse::Names version yet
31 static UE_API FString GetMountPointName(const TCHAR* VersePackageName);
32 static UE_API FName GetCppModuleName(const TCHAR* VersePackageName);
33 static UE_API EVersePackageType GetPackageType(const TCHAR* VersePackageName);
34 static UE_API EVersePackageType GetPackageType(const UTF8CHAR* VersePackageName);
35
38
39 static UE_API bool PackageRequiresInternalAPI(const char* Name, const EVersePackageScope VerseScope);
40
41 // Class name substitute for root module classes of a package
42 static constexpr char const* const RootModuleClassName = "_Root"; // Keep in sync with RootModuleClassName in NativeInterfaceWriter.cpp
43
44 // Prefix Constants
45 static constexpr TCHAR const* const TaskUClassPrefix = TEXT("task_");
46};
47
48} // namespace Verse
49
50#undef UE_API
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::UTF8CHAR UTF8CHAR
An 8-bit character containing a UTF8 (Unicode, 8-bit, variable-width) code unit.
Definition Platform.h:1137
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition SColorGradingComponentViewer.h:12
EVersePackageScope
Definition VVMPackageTypes.h:13
EVersePackageType
Definition VVMPackageTypes.h:22
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition NameTypes.h:617
Definition Object.h:95
Definition VVMPackageName.h:19
static UE_API FString GetVersePackageNameForContent(const TCHAR *MountPointName)
Definition VVMPackageName.cpp:15
static UE_API FString GetVersePackageNameForVni(const TCHAR *MountPointName, const TCHAR *CppModuleName)
Definition VVMPackageName.cpp:10
static UE_API FName GetVersePackageNameFromUPackagePath(FName UPackagePath, EVersePackageType *OutPackageType=nullptr)
Definition VVMPackageName.cpp:40
static UE_API FString GetTaskUClassName(const TCHAR *OwnerScopeName, const TCHAR *DecoratedAndMangledFunctionName)
Definition VVMPackageName.cpp:154
static constexpr char const *const RootModuleClassName
Definition VVMPackageName.h:42
static constexpr TCHAR const *const TaskUClassPrefix
Definition VVMPackageName.h:45
static UE_API FString GetVersePackageNameForPublishedContent(const TCHAR *MountPointName)
Definition VVMPackageName.cpp:20
static UE_API bool PackageRequiresInternalAPI(const char *Name, const EVersePackageScope VerseScope)
Definition VVMPackageName.cpp:165
static UE_API EVersePackageType GetPackageType(const TCHAR *VersePackageName)
Definition VVMPackageName.cpp:144
static UE_API FString GetVersePackageNameForAssets(const TCHAR *MountPointName)
Definition VVMPackageName.cpp:25
static UE_API FString GetVersePackageDirForContent(const TCHAR *MountPointName)
Definition VVMPackageName.cpp:30
static UE_API FString GetMountPointName(const TCHAR *VersePackageName)
Definition VVMPackageName.cpp:102
static UE_API FName GetCppModuleName(const TCHAR *VersePackageName)
Definition VVMPackageName.cpp:108
static UE_API FString GetVersePackageDirForAssets(const TCHAR *MountPointName)
Definition VVMPackageName.cpp:35
Definition Archive.h:36