UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UECodeGen_Private Namespace Reference

Functions

void ConstructFProperties (UObject *Outer, const FPropertyParamsBase *const *PropertyArray, int32 NumProperties)
 
template<typename UClassClass , typename PostNewFn >
void ConstructUClassNoInitHelper (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, PostNewFn &&InPostNewFn)
 
template<typename UEnumClass , typename EnumParams , typename PostNewFn >
void ConstructUEnumHelper (UEnum *&OutEnum, const EnumParams &Params, PostNewFn &&InPostNewFn)
 
template<typename UScriptStructClass , typename StructParams , typename PostNewFn >
void ConstructUScriptStructHelper (UScriptStruct *&OutStruct, const StructParams &Params, PostNewFn &&InPostNewFn)
 
template<typename UClassClass , typename ClassParams , typename PostNewFn >
void ConstructUClassHelper (UClass *&OutClass, const ClassParams &Params, PostNewFn &&InPostNewFn)
 
template<typename UFunctionClass , typename FunctionParams , typename NewFn >
void ConstructUFunctionHelper (UFunction *&InOutFunction, const FunctionParams &Params, UFunction **InSingletonPtr, NewFn &&InNewFn)
 

Function Documentation

◆ ConstructFProperties()

void UECodeGen_Private::ConstructFProperties ( UObject Outer,
const FPropertyParamsBase *const *  PropertyArray,
int32  NumProperties 
)

◆ ConstructUClassHelper()

void UECodeGen_Private::ConstructUClassHelper ( UClass *&  OutClass,
const ClassParams Params,
PostNewFn &&  InPostNewFn 
)

◆ ConstructUClassNoInitHelper()

void UECodeGen_Private::ConstructUClassNoInitHelper ( 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,
PostNewFn &&  InPostNewFn 
)

Construct but do not initialize a UClass

Parameters
PackageNamename of the package this class will be inside
Nameof the class
ReturnClassreference to pointer to result. This must be PrivateStaticClass.
RegisterNativeFuncNative function registration function pointer.
InSizeSize of the class
InAlignmentAlignment of the class
InClassFlagsClass flags
InClassCastFlagsClass cast flags
InConfigNameClass config name
InClassConstructorClass constructor function pointer
InClassVTableHelperCtorCallerClass constructor function for vtable pointer
InCppClassStaticFunctionsFunction pointers for the class's version of Unreal's reflected static functions
InSuperClassFnSuper class function pointer
InWithinClassFnWithin class function pointer *param InPostNewFn Invoked after the a new instance is created

◆ ConstructUEnumHelper()

void UECodeGen_Private::ConstructUEnumHelper ( UEnum *&  OutEnum,
const EnumParams Params,
PostNewFn &&  InPostNewFn 
)

◆ ConstructUFunctionHelper()

void UECodeGen_Private::ConstructUFunctionHelper ( UFunction *&  InOutFunction,
const FunctionParams Params,
UFunction **  InSingletonPtr,
NewFn &&  InNewFn 
)

◆ ConstructUScriptStructHelper()

void UECodeGen_Private::ConstructUScriptStructHelper ( UScriptStruct *&  OutStruct,
const StructParams Params,
PostNewFn &&  InPostNewFn 
)