#include <VehicleMovementComponent.h>
|
typedef FSavedMove_Character | Super |
|
|
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...
|
|
◆ Super
◆ CanCombineWith()
bool FSavedMove_PXVehicleMovement::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_PXVehicleMovement::Clear |
( |
| ) |
|
|
overridevirtual |
Resets all saved variables.
◆ GetCompressedFlags()
uint8 FSavedMove_PXVehicleMovement::GetCompressedFlags |
( |
| ) |
const |
|
overridevirtual |
Store input commands in the compressed flags.
◆ PrepMoveFor()
void FSavedMove_PXVehicleMovement::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_PXVehicleMovement::SetMoveFor |
( |
ACharacter * |
Character, |
|
|
float |
InDeltaTime, |
|
|
FVector const & |
NewAccel, |
|
|
class FNetworkPredictionData_Client_Character & |
ClientData |
|
) |
| |
|
overridevirtual |
Sets up the move before sending it to the server.
◆ bSavedWantsSteerLeft
uint8 FSavedMove_PXVehicleMovement::bSavedWantsSteerLeft |
◆ bSavedWantsSteerRight
uint8 FSavedMove_PXVehicleMovement::bSavedWantsSteerRight |
◆ bSavedWantsToBoost
uint8 FSavedMove_PXVehicleMovement::bSavedWantsToBoost |
◆ bSavedWantsToBoostUpwards
uint8 FSavedMove_PXVehicleMovement::bSavedWantsToBoostUpwards |
The documentation for this class was generated from the following files: