Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| 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,
FUObjectCppClassStaticFunctions && InCppClassStaticFunctions,
UClass::StaticClassFunctionType InSuperClassFn,
UClass::StaticClassFunctionType InWithinClassFn
)
Remarks
Helper template allocate and construct a UClass
Parameters
| Name | 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 |
| InCppClassStaticFunctions | Function pointers for the class's version of Unreal's reflected static functions |
| InSuperClassFn | Super class function pointer |
| WithinClass | Within class |