FNativeFunctionRegistrar

A struct that maps a string name to a native function

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/CoreNative.h

Include

#include "UObject/CoreNative.h"

Syntax

struct FNativeFunctionRegistrar

Remarks

A struct that maps a string name to a native function

Constructors

Name Description

Public function

FNativeFunctionRegistrar

(
    UClass* Class,
    const ANSICHAR* InName,
    FNativeFuncPtr InPointer
)

Functions

Name Description

Public function Static

void

 

RegisterFunction

(
    UClass* Class,
    const ANSICHAR* InName,
    FNativeFuncPtr InPointer
)

Public function Static

void

 

RegisterFunction

(
    UClass* Class,
    const WIDECHAR* InName,
    FNativeFuncPtr InPointer
)

Overload for types generated from blueprints, which can have unicode names:

Public function Static

void

 

RegisterFunctions

(
    UClass* Class,
    const FNameNativePtrPair* InAr...,
    int32 NumFunctions
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss