ANetworkPredictionExtrasCharacter_MockAbility

Example subclass of [ANetworkPredictionExtrasCharacter](API\Plugins\NetworkPredictionExtras\ANetworkPredictionExtrasCharacte-) that uses the MockAbility simulation.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/NetworkPredictionExtrasCharacter.h

Include

#include "NetworkPredictionExtrasCharacter.h"

Syntax

UCLASS()
class ANetworkPredictionExtrasCharacter_MockAbility : public ANetworkPredictionExtrasCharacter

Remarks

Example subclass of ANetworkPredictionExtrasCharacter that uses the MockAbility simulation.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

ENetworkPredict...

 

AbilityInputPreset

Protected variable

bool

 

bBlinkPressed

Protected variable

bool

 

bDashPressed

Protected variable

bool

 

bJumpPressed

Protected variable

bool

 

bPrimaryPressed

Protected variable

bool

 

bSecondaryPressed

Protected variable

bool

 

bSprintPressed

Constructors

Name Description

Public function

ANetworkPredictionExtrasCharacter_MockAbility

(
    const FObjectInitializer& ObjectIn...
)

Functions

Overridden from APawn

Name Description

Public function Virtual

void

 

SetupPlayerInputComponent

(
    UInputComponent* PlayerInputCo...
)

Allows a Pawn to set up custom input bindings.

Overridden from AActor

Name Description

Public function Virtual

void

 

BeginPlay()

Overridable native event for when play begins for this actor.