LEAP Documentation 40220
Documentation for the LEAP project
FSavedMove_PXMovement Class Reference

#include <ProjectXCharacterMovement.h>

Inheritance diagram for FSavedMove_PXMovement:

Public Types

typedef FSavedMove_Character Super
 

Public Member Functions

virtual void SetMoveFor (ACharacter *Character, float InDeltaTime, FVector const &NewAccel, class FNetworkPredictionData_Client_Character &ClientData) override
 Sets up the move before sending it to the server. More...
 
virtual uint8 GetCompressedFlags () const override
 Store input commands in the compressed flags. More...
 
virtual void Clear () override
 Resets all saved variables. More...
 
virtual bool CanCombineWith (const FSavedMovePtr &NewMove, ACharacter *Character, float MaxDelta) const override
 This is used to check whether or not two moves can be combined into one. Basically you just check to make sure that the saved variables are the same. More...
 
virtual void PrepMoveFor (class ACharacter *Character) override
 Sets variables on character movement component before making a predictive correction. More...
 

Public Attributes

uint8 bSavedWantsToDash: 1
 
uint8 bSavedWantsToOmniDash: 1
 
uint8 bSavedWantsToJetPack: 1
 
uint8 bSavedWantsToHookshot: 1
 
uint8 bSavedWantsToAutoClamber: 1
 

Member Typedef Documentation

◆ Super

typedef FSavedMove_Character FSavedMove_PXMovement::Super

Member Function Documentation

◆ CanCombineWith()

bool FSavedMove_PXMovement::CanCombineWith ( const FSavedMovePtr &  NewMove,
ACharacter *  Character,
float  MaxDelta 
) const
overridevirtual

This is used to check whether or not two moves can be combined into one. Basically you just check to make sure that the saved variables are the same.

◆ Clear()

void FSavedMove_PXMovement::Clear ( )
overridevirtual

Resets all saved variables.

◆ GetCompressedFlags()

uint8 FSavedMove_PXMovement::GetCompressedFlags ( ) const
overridevirtual

Store input commands in the compressed flags.

◆ PrepMoveFor()

void FSavedMove_PXMovement::PrepMoveFor ( class ACharacter *  Character)
overridevirtual

Sets variables on character movement component before making a predictive correction.

This is used to copy state from the saved move to the character movement component. This is ONLY used for predictive corrections, the actual data must be sent through RPC.

◆ SetMoveFor()

void FSavedMove_PXMovement::SetMoveFor ( ACharacter *  Character,
float  InDeltaTime,
FVector const &  NewAccel,
class FNetworkPredictionData_Client_Character &  ClientData 
)
overridevirtual

Sets up the move before sending it to the server.

Member Data Documentation

◆ bSavedWantsToAutoClamber

uint8 FSavedMove_PXMovement::bSavedWantsToAutoClamber

◆ bSavedWantsToDash

uint8 FSavedMove_PXMovement::bSavedWantsToDash

◆ bSavedWantsToHookshot

uint8 FSavedMove_PXMovement::bSavedWantsToHookshot

◆ bSavedWantsToJetPack

uint8 FSavedMove_PXMovement::bSavedWantsToJetPack

◆ bSavedWantsToOmniDash

uint8 FSavedMove_PXMovement::bSavedWantsToOmniDash

The documentation for this class was generated from the following files: