Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
const TCHAR * ImportText
(
const TCHAR * Buffer,
void * Value,
UObject * OwnerObject,
int32 PortFlags,
FOutputDevice * ErrorText,
const TFunctionRef< FString()> & StructNameGetter,
bool bAllowNativeOverride
)
Sets value of script struct based on imported string
Buffer after parsing has succeeded, or NULL on failure
Parameter |
Description |
---|---|
Buffer |
String to read text data out of |
Value |
Struct that will be modified |
OwnerObject |
UObject that contains this struct |
PortFlags |
EPropertyPortFlags controlling import behavior |
ErrorText |
What to print import errors to |
StructNameGetter |
Function to return the struct name to avoid doing work if no error message is forthcoming |
bAllowNativeOverride |
If true, will try to run native version of export text on the struct |