|
| UE_API | FInstancedStruct () |
| |
| UE_API | FInstancedStruct (const UScriptStruct *InScriptStruct) |
| |
| UE_API | FInstancedStruct (const FConstStructView InOther) |
| |
| | FInstancedStruct (const FInstancedStruct &InOther) |
| |
| | FInstancedStruct (FInstancedStruct &&InOther) |
| |
| | ~FInstancedStruct () |
| |
| UE_API FInstancedStruct & | operator= (const FConstStructView InOther) |
| |
| FInstancedStruct & | operator= (const FInstancedStruct &InOther) |
| |
| FInstancedStruct & | operator= (FInstancedStruct &&InOther) |
| |
| UE_API void | InitializeAs (const UScriptStruct *InScriptStruct, const uint8 *InStructMemory=nullptr) |
| |
| template<typename T , typename... TArgs> |
| T & | InitializeAs (TArgs &&... InArgs) |
| |
| UE_API bool | Serialize (FArchive &Ar, UStruct *DefaultsStruct=nullptr, const void *Defaults=nullptr) |
| |
| UE_API bool | Identical (const FInstancedStruct *Other, uint32 PortFlags) const |
| |
| UE_API void | AddStructReferencedObjects (FReferenceCollector &Collector) |
| |
| UE_API bool | ExportTextItem (FString &ValueStr, FInstancedStruct const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const |
| |
| UE_API bool | ImportTextItem (const TCHAR *&Buffer, int32 PortFlags, UObject *Parent, FOutputDevice *ErrorText, FArchive *InSerializingArchive=nullptr) |
| |
| UE_API bool | SerializeFromMismatchedTag (const FPropertyTag &Tag, FStructuredArchive::FSlot Slot) |
| |
| UE_API void | GetPreloadDependencies (TArray< UObject * > &OutDeps) |
| |
| UE_API bool | NetSerialize (FArchive &Ar, UPackageMap *Map, bool &bOutSuccess) |
| |
| UE_API bool | FindInnerPropertyInstance (FName PropertyName, const FProperty *&OutProp, const void *&OutData) const |
| |
| UE_API EPropertyVisitorControlFlow | Visit (FPropertyVisitorContext &Context, const TFunctionRef< EPropertyVisitorControlFlow(const FPropertyVisitorContext &)> InFunc) const |
| |
| UE_API void * | ResolveVisitedPathInfo (const FPropertyVisitorInfo &Info) const |
| |
| const UScriptStruct * | GetScriptStruct () const |
| |
| const uint8 * | GetMemory () const |
| |
| UE_API void | Reset () |
| |
| template<typename T > |
| const T & | Get () const |
| |
| template<typename T > |
| const T * | GetPtr () const |
| |
| uint8 * | GetMutableMemory () |
| |
| template<typename T > |
| T & | GetMutable () |
| |
| template<typename T > |
| T * | GetMutablePtr () |
| |
| bool | IsValid () const |
| |
| bool | operator== (const FInstancedStruct &Other) const |
| |
| bool | operator!= (const FInstancedStruct &Other) const |
| |
| | DECLARE_DELEGATE_RetVal_ThreeParams (bool, FNetSerializeInstancedStruct, FInstancedStruct &, FArchive &, UPackageMap *) |
| |
FInstancedStruct works similarly as instanced UObject* property but is USTRUCTs.
Example:
UPROPERTY(EditAnywhere, Category = Foo, meta = (BaseStruct = "/Script/ModuleName.TestStructBase")) FInstancedStruct Test;
UPROPERTY(EditAnywhere, Category = Foo, meta = (BaseStruct = "/Script/ModuleName.TestStructBase")) TArray<FInstancedStruct> TestArray;