UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StateStreamHandle.h File Reference
#include "StateStreamHandle.generated.h"

Go to the source code of this file.

Classes

struct  FStateStreamHandle
 
class  IStateStreamHandleOwner
 
struct  FStateStreamCopyContext
 

Macros

#define UE_API   STATESTREAM_API
 
#define DECLARE_STATESTREAM_HANDLE(Type)
 

Macro Definition Documentation

◆ DECLARE_STATESTREAM_HANDLE

#define DECLARE_STATESTREAM_HANDLE (   Type)
Value:
F##Type##Handle() = default; \
F##Type##Handle(const F##Type##Handle& Other) : FStateStreamHandle(Other) {} \
F##Type##Handle(F##Type##Handle&& Other) : FStateStreamHandle(std::move(Other)) {} \
F##Type##Handle& operator=(F##Type##Handle&& Other) { FStateStreamHandle::operator=(std::move(Other)); return *this; } \
F##Type##Handle& operator=(const F##Type##Handle& Other) { FStateStreamHandle::operator=(Other); return *this; } \
~F##Type##Handle() = default; \
void Update(const F##Type##DynamicState& Ds, double TimeFactor = 0) { if (Owner) Owner->Game_Update(Id, &Ds, TimeFactor, 0); } \
F##Type##DynamicState& Edit(double TimeFactor = 0) { return *static_cast<F##Type##DynamicState*>(Owner->Game_Edit(Id, TimeFactor, 0)); } \
F##Type##Handle(FStateStreamCopyContext& C, const F##Type##Handle& O) : FStateStreamHandle(C, O) {} \
bool operator==(const F##Type##Handle& Other) const { return FStateStreamHandle::operator==(Other); } \
static inline constexpr const TCHAR* DebugName = TEXT(#Type); \
friend F##Type##DynamicState; \
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition StateStreamHandle.h:57
@ Edit
Definition GenericPlatformProcess.h:72
@ Apply
Definition NavigationModifier.h:49
Type
Definition PawnAction_Move.h:11
bool operator==(const FCachedAssetKey &A, const FCachedAssetKey &B)
Definition AssetDataMap.h:501
Definition StateStreamHandle.h:71
Definition StateStreamHandle.h:25
UE_API bool operator==(const FStateStreamHandle &Other) const
Definition StateStreamHandle.cpp:105
UE_API void Apply(FStateStreamCopyContext &Context, const FStateStreamHandle &Other)
Definition StateStreamHandle.cpp:86
UE_API FStateStreamHandle & operator=(FStateStreamHandle &&Other)
Definition StateStreamHandle.cpp:29

◆ UE_API

#define UE_API   STATESTREAM_API