Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UScriptStruct
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TCHAR * ImportText
(
const TCHAR* Buffer, |
Sets value of script struct based on imported string | UObject/Class.h | |
const TCHAR * ImportText
(
const TCHAR* Buffer, |
Sets value of script struct based on imported string | UObject/Class.h |
ImportText(const TCHAR , void , UObject , int32, FOutputDevice , const FString &, bool)
Description
Sets value of script struct based on imported string
| Name | ImportText |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #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
Buffer after parsing has succeeded, or NULL on failure
Parameters
| Name | Remarks |
|---|---|
| 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 |
ImportText(const TCHAR , void , UObject , int32, FOutputDevice , const TFunctionRef< FString()> &, bool)
Description
Sets value of script struct based on imported string
| Name | ImportText |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #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
) const
Buffer after parsing has succeeded, or NULL on failure
Parameters
| Name | Remarks |
|---|---|
| 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 |