ANetworkPredictionExtrasFlyingPawn_MockAbility

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

AActor

APawn

ANetworkPredictionExtrasFlyingPawn

ANetworkPredictionExtrasFlyingPawn_MockAbility

References

Module

NetworkPredictionExtras

Header

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

Include

#include "NetworkPredictionExtrasFlyingPawn.h"

Syntax

UCLASS()
class ANetworkPredictionExtrasFlyingPawn_MockAbility : public ANetworkPredictionExtrasFlyingPawn

Remarks

Example subclass of ANetworkPredictionExtrasFlyingPawn 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

 

bPrimaryPressed

Protected variable

bool

 

bSecondaryPressed

Protected variable

bool

 

bSprintPressed

Constructors

Name Description

Public function

ANetworkPredictionExtrasFlyingPawn_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.