Navigation
API > API/Plugins > API/Plugins/Mover
Wrapper to encapsulate the split implementation of a move between a stateless ULayeredMoveLogic* object and an instance of FLayeredMoveInstancedData Those two pieces, in tandem, represent a "whole" functional Layered Move.
| Name | FLayeredMoveInstance |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/LayeredMoveBase.h |
| Include Path | #include "LayeredMoveBase.h" |
Syntax
USTRUCT ()
struct FLayeredMoveInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLayeredMoveInstance
(
const TSharedRef< FLayeredMoveInstancedData >& InMoveData, |
LayeredMoveBase.h | ||
FLayeredMoveInstance
(
const FLayeredMoveInstance& OtherLayeredMoveInstance |
LayeredMoveBase.h | ||
| LayeredMoveBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InstanceMoveData | TSharedPtr< FLayeredMoveInstancedData > | LayeredMoveBase.h | ||
| MoveLogic | TObjectPtr< ULayeredMoveLogic > | LayeredMoveBase.h |
|
|
| MoveLogicClassType | TSubclassOf< ULayeredMoveLogic > | Is used in PopulateMissingActiveMoveLogic to help populate logic classes in active moves that were NetSerialized since MoveLogic isn't NetSerialized TODO: Eventually replace this with some ID/Mapping system so we can NetSerialize that instead of a full UClass | LayeredMoveBase.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
LayeredMoveBase.h | ||
FLayeredMoveInstance Clone() |
LayeredMoveBase.h | ||
void EndMove
(
const FMoverTimeStep& TimeStep, |
LayeredMoveBase.h | ||
bool GenerateMove
(
const FMoverTickStartData& StartState, |
LayeredMoveBase.h | ||
UScriptStruct * GetDataStructType() |
LayeredMoveBase.h | ||
const FLayeredMoveFinishVelocitySettings & GetFinishVelocitySettings() |
LayeredMoveBase.h | ||
const UClass * GetLogicClass() |
LayeredMoveBase.h | ||
EMoveMixMode GetMixMode() |
LayeredMoveBase.h | ||
uint8 GetPriority() |
LayeredMoveBase.h | ||
const UClass * GetSerializedMoveLogicClass() |
LayeredMoveBase.h | ||
double GetStartingTimeMs() |
LayeredMoveBase.h | ||
bool HasGameplayTag
(
FGameplayTag TagToFind, |
LayeredMoveBase.h | ||
bool HasLogic() |
LayeredMoveBase.h | ||
bool IsFinished
(
const FMoverTimeStep& TimeStep, |
LayeredMoveBase.h | ||
void NetSerialize
(
FArchive& Ar |
LayeredMoveBase.h | ||
bool PopulateMissingActiveMoveLogic
(
const TArray< TObjectPtr< ULayeredMoveLogic > >& RegisteredMoves |
This function populates the MoveLogic reference of ActiveMoves that don't have any logic classes. | LayeredMoveBase.h | |
void StartMove
(
const FMoverTimeStep& TimeStep, |
LayeredMoveBase.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const TSubclassOf< ULayeredMoveLogic >& LogicClass |
TArray::FindByKey() enablers | LayeredMoveBase.h | |
bool operator==
(
const UScriptStruct* MoveDataType |
LayeredMoveBase.h |