Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UScriptStruct > ImportText
References
Module | CoreUObject |
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 FString & StructName,
bool bAllowNativeOverride
) const
Remarks
Sets value of script struct based on imported string Buffer after parsing has succeeded, or NULL on failure
Parameters
Name | 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 |
StructName | Name of struct, used in error display |
bAllowNativeOverride | If true, will try to run native version of export text on the struct |