Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/FLayeredMoveInstance
Description
This function populates the MoveLogic reference of ActiveMoves that don't have any logic classes. This is necessary as active move data received from NetSerialize doesn't necessarily have the Logic class it was activated with. Note: Currently we are NetSerializing the MoveLogic class so that we can then populate Logic from using the registered move array on the MoverComponent but eventually we should use a ID mapping or something better to avoid serializing the MoveLogic class.
| Name | PopulateMissingActiveMoveLogic |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/LayeredMoveBase.h |
| Include Path | #include "LayeredMoveBase.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/LayeredMoveBase.cpp |
bool PopulateMissingActiveMoveLogic
(
const TArray < TObjectPtr < ULayeredMoveLogic > > & RegisteredMoves
)