Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UField
- UStruct
- UFunction
- UDelegateFunction
- USparseDelegateFunction
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
Syntax
class UFunction : public UStruct
Remarks
Reflection data for a replicated or Kismet callable function.
Variables
| Type | Name | Description | ||
|---|---|---|---|---|
| int32 | EventGraphCallOffset | The state offset inside of the event graph (persistent) | ||
| UFunction * | EventGraphFunction | The event graph this function calls in to (persistent) | ||
| FProperty * | FirstPropertyToInit | Pointer to first local struct property in this UFunction that contains defaults | ||
| EFunctionFlags | FunctionFlags | EFunctionFlags set defined for this function | ||
| uint8 | NumParms | Number of parameters total | ||
| uint16 | ParmsSize | Total size of parameters in memory | ||
| uint16 | ReturnValueOffset | Memory offset of return value property | ||
| uint16 | RPCId | Id of this RPC function call (must be FUNC_Net & (FUNC_NetService | FUNC_NetResponse)) | |
| uint16 | RPCResponseId | Id of the corresponding response call (must be FUNC_Net & FUNC_NetService) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UFunction
(
const FObjectInitializer& ObjectInitializer |
|||
| COREUOBJECT_API | UFunction
(
FVTableHelper& Helper |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. | |
UFunction
(
const FObjectInitializer& ObjectInitializer, |
Constructors. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | __DefaultConstructor
(
const FObjectInitializer& X |
||
| UObject * | __VTableCtorCaller
(
FVTableHelper& Helper |
||
| uint64 | Returns the flags that are ignored by default when comparing function signatures. | ||
| FNativeFuncPtr | Returns the native func pointer. | ||
| UClass * | |||
| UClass * | Returns the owning UClass* without branching | ||
| FProperty * | Returns the return value property if there is one, or null | ||
| UFunction * | Returns parent function if there is one, or null | ||
| bool | HasAllFunctionFlags
(
EFunctionFlags FlagsToCheck |
Used to safely check whether all of the passed in flags are set. | |
| bool | HasAnyFunctionFlags
(
EFunctionFlags FlagsToCheck |
Used to safely check whether the passed in flag is set. | |
| void | Initializes transient members like return value offset | ||
| void | Invokes the UFunction on a UObject. | ||
| bool | IsSignatureCompatibleWith
(
const UFunction* OtherFunction, |
Determines if two functions have an identical signature (note: currently doesn't allow matches with class parameters that differ only in how derived they are; there is no directionality to the call) | |
| bool | IsSignatureCompatibleWith
(
const UFunction* OtherFunction |
Determines if two functions have an identical signature (note: currently doesn't allow matches with class parameters that differ only in how derived they are; there is no directionality to the call) | |
| void | SetNativeFunc
(
FNativeFuncPtr InFunc |
Sets the native func pointer. | |
| UClass * | StaticClass () |
Returns a UClass object representing this class at runtime | |
| EClassCastFlags | Returns the static cast flags for this class | ||
| const TCHAR * | Returns the package this class belongs in | ||
| void |
Overridden from UStruct
| Type | Name | Description | |
|---|---|---|---|
| UStruct * | Returns the structure used for inheritance, may be changed by child types | ||
| void | Creates the field/property links and gets structure ready for use at runtime |
Overridden from UField
| Type | Name | Description | |
|---|---|---|---|
| void | Bind () |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. | |
| void * | operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | |
| void * | operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. |
Typedefs
| Name | Description |
|---|---|
| Super | Typedef for the base class (UStruct) |
| ThisClass | Typedef for UFunction. |
| WithinClass | The required type of this object's outer (class UClass) |
Constants
| Name | Description |
|---|---|
| StaticClassFlags | Bitwise union of EClassFlags pertaining to this class. |