Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
void GetPrivateStaticClassBody
(
const TCHAR * PackageName,
const TCHAR * Name,
UClass *& ReturnClass,
void() RegisterNativeFunc,
uint32 InSize,
uint32 InAlignment,
EClassFlags InClassFlags,
EClassCastFlags InClassCastFlags,
const TCHAR * InConfigName,
UClass::ClassConstructorType InClassConstructor,
UClass::ClassVTableHelperCtorCallerType InClassVTableHelperCtorCaller,
UClass::ClassAddReferencedObjectsType InClassAddReferencedObjects,
UClass::StaticClassFunctionType InSuperClassFn,
UClass::StaticClassFunctionType InWithinClassFn
)
Helper template allocate and construct a UClass
Parameter |
Description |
---|---|
PackageName |
name of the package this class will be inside |
Name |
of the class |
ReturnClass |
reference to pointer to result. This must be PrivateStaticClass. |
RegisterNativeFunc |
Native function registration function pointer. |
InSize |
Size of the class |
InAlignment |
Alignment of the class |
InClassFlags |
Class flags |
InClassCastFlags |
Class cast flags |
InConfigName |
Class config name |
InClassConstructor |
Class constructor function pointer |
InClassVTableHelperCtorCaller |
Class constructor function for vtable pointer |
InClassAddReferencedObjects |
Class AddReferencedObjects function pointer |
InSuperClassFn |
Super class function pointer |
WithinClass |
Within class |