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

Typedefs

typedef TSharedRef< TJsonWriter<> > FJsonWriterRef
 

Functions

template<typename ValueType >
void WriteValue (FJsonWriterRef Writer, const FString &Key, const ValueType &Value)
 
void WriteNull (FJsonWriterRef Writer, const FString &Key)
 
void WriteArrayStart (FJsonWriterRef Writer, const FString &Key)
 
void WriteObjectStart (FJsonWriterRef Writer, const FString &Key)
 
void WriteRaw (FJsonWriterRef Writer, const FString &Key, const FString &Value)
 
template<typename ValueType >
void WriteValue (FJsonWriterRef Writer, const int, const ValueType &Value)
 
void WriteNull (FJsonWriterRef Writer, int)
 
void WriteArrayStart (FJsonWriterRef Writer, int)
 
void WriteObjectStart (FJsonWriterRef Writer, int)
 
void WriteRaw (FJsonWriterRef Writer, int, const FString &Value)
 
template<typename KeyType >
bool WriteJsParam (FNativeJSScriptingRef Scripting, FJsonWriterRef Writer, const KeyType &Key, FWebJSParam &Param)
 
template<typename FPropertyType , typename PropertyType >
bool SetPropertyValue (FProperty *Property, FProperty *Outer, void *Data, int32 ArrayIndex, const PropertyType &Value)
 

Variables

const FString ExecuteMethodCommand = TEXT("ExecuteUObjectMethod")
 

Typedef Documentation

◆ FJsonWriterRef

Function Documentation

◆ SetPropertyValue()

template<typename FPropertyType , typename PropertyType >
bool NativeFuncs::SetPropertyValue ( FProperty Property,
FProperty Outer,
void Data,
int32  ArrayIndex,
const PropertyType &  Value 
)

Sets the value of the given property.

Parameters
PropertyThe property to set.
OuterThe property that contains the property to be set, if any.
DataA pointer to the memory holding the property's data.
ArrayIndexThe index of the element to set (if the property is an array).
Returns
true on success, false otherwise.
See also
ClearPropertyValue

◆ WriteArrayStart() [1/2]

void NativeFuncs::WriteArrayStart ( FJsonWriterRef  Writer,
const FString &  Key 
)

◆ WriteArrayStart() [2/2]

void NativeFuncs::WriteArrayStart ( FJsonWriterRef  Writer,
int   
)

◆ WriteJsParam()

template<typename KeyType >
bool NativeFuncs::WriteJsParam ( FNativeJSScriptingRef  Scripting,
FJsonWriterRef  Writer,
const KeyType &  Key,
FWebJSParam Param 
)

◆ WriteNull() [1/2]

void NativeFuncs::WriteNull ( FJsonWriterRef  Writer,
const FString &  Key 
)

◆ WriteNull() [2/2]

void NativeFuncs::WriteNull ( FJsonWriterRef  Writer,
int   
)

◆ WriteObjectStart() [1/2]

void NativeFuncs::WriteObjectStart ( FJsonWriterRef  Writer,
const FString &  Key 
)

◆ WriteObjectStart() [2/2]

void NativeFuncs::WriteObjectStart ( FJsonWriterRef  Writer,
int   
)

◆ WriteRaw() [1/2]

void NativeFuncs::WriteRaw ( FJsonWriterRef  Writer,
const FString &  Key,
const FString &  Value 
)

◆ WriteRaw() [2/2]

void NativeFuncs::WriteRaw ( FJsonWriterRef  Writer,
int  ,
const FString &  Value 
)

◆ WriteValue() [1/2]

template<typename ValueType >
void NativeFuncs::WriteValue ( FJsonWriterRef  Writer,
const FString &  Key,
const ValueType &  Value 
)

◆ WriteValue() [2/2]

template<typename ValueType >
void NativeFuncs::WriteValue ( FJsonWriterRef  Writer,
const int  ,
const ValueType &  Value 
)

Variable Documentation

◆ ExecuteMethodCommand

const FString NativeFuncs::ExecuteMethodCommand = TEXT("ExecuteUObjectMethod")