Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FObjectPropertyBase
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyBaseObject.cpp |
static bool ParseObjectPropertyValue
(
const FProperty * Property,
UObject * OwnerObject,
UClass * RequiredMetaClass,
uint32 PortFlags,
const TCHAR *& Buffer,
TObjectPtr < UObject > & out_ResolvedValue,
FUObjectSerializeContext * InSerializeContext,
bool bAllowAnyPackage
)
Remarks
Parses a text buffer into an object reference.
Parses a text buffer into an object reference. true if the text is successfully resolved into a valid object reference of the correct type, false otherwise.
Parameters
| Name | Description |
|---|---|
| Property | the property that the value is being importing to |
| OwnerObject | the object that is importing the value; used for determining search scope. |
| RequiredMetaClass | the meta-class for the object to find; if the object that is resolved is not of this class type, the result is NULL. |
| PortFlags | bitmask of EPropertyPortFlags that can modify the behavior of the search |
| Buffer | the text to parse; should point to a textual representation of an object reference. Can be just the object name (either fully fully qualified or not), or can be formatted as a const object reference (i.e. SomeClass'SomePackage.TheObject') When the function returns, Buffer will be pointing to the first character after the object value text in the input stream. |
| ResolvedValue | receives the object that is resolved from the input text. |
| InSerializeContext | Additional context when called during serialization |
| bAllowAnyPackage | allows ignoring package name to find any object that happens to be loaded with the same name |
| Property | the property that the value is being importing to |
| OwnerObject | the object that is importing the value; used for determining search scope. |
| RequiredMetaClass | the meta-class for the object to find; if the object that is resolved is not of this class type, the result is nullptr. |
| PortFlags | bitmask of EPropertyPortFlags that can modify the behavior of the search |
| Buffer | the text to parse; should point to a textual representation of an object reference. Can be just the object name (either fully fully qualified or not), or can be formatted as a const object reference (i.e. SomeClass'SomePackage.TheObject') When the function returns, Buffer will be pointing to the first character after the object value text in the input stream. |
| ResolvedValue | receives the object that is resolved from the input text. |