|
UnrealModFramework
Mod framework API
|
One World payload with owned struct storage or a weak object identity. More...
#include <ModExtensionPayload.h>
Public Member Functions | |
| FPayload ()=default | |
| Creates an empty payload. | |
| TConstArrayView< uint8 > | GetNativeCall () const |
| Reads the bytes of a C++ Hook value. | |
| const FInstancedStruct & | GetStruct () const |
| Reads a copied struct while this payload remains alive. | |
| TModResult< API::FObjectBinding > | GetObjectView () const |
| Projects an object to a revocable, read-only binding for this callback. | |
Static Public Member Functions | |
| static FPayload | FromStruct (const UScriptStruct &Type, const void *Value) |
| Copies a value of the supplied struct type into owned storage. | |
| template<class T> | |
| static FPayload | FromStruct (const T &Value) |
| Copies a reflected native struct into owned storage. | |
| static FPayload | FromObject (const UObject *Value) |
| Captures an object weakly for the duration of the World operation. | |
| static FPayload | FromNativeCall (TArray< uint8 > Value) |
| Owns the packed inputs and result of a C++ Hook. | |
One World payload with owned struct storage or a weak object identity.