UMockFlyingAbilityComponent

ActorComponent for running Mock Ability Simulation

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

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

Include

#include "MockAbilitySimulation.h"

Syntax

UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UMockFlyingAbilityComponent : public UFlyingMovementComponent

Remarks

ActorComponent for running Mock Ability Simulation

Variables

Constructors

Functions

Name Description

Public function Virtual

void

 

FinalizeFrame

(
    const FMockAbilitySyncState* S...,
    const FMockAbilityAuxState* Au...
)

Public function Const UFunction BlueprintCallable, Category

float

 

GetBlinkWarmupTimeSeconds()

Public function Const UFunction BlueprintCallable, Category

float

 

GetMaxStamina()

Public function Const UFunction BlueprintCallable, Category

float

 

GetStamina()

Public function

void

 

HandleCue

(
    const FMockAbilityBlinkActivateCue ...,
    const FNetSimCueSystemParamemters&...
)

NetSimCues.

Public function

void

 

HandleCue

(
    const FMockAbilityBlinkCue& BlinkC...,
    const FNetSimCueSystemParamemters&...
)

NetSimCues.

Public function

void

 

HandleCue

(
    const FMockAbilityPhysicsGunFireCue...,
    const FNetSimCueSystemParamemters&...
)

NetSimCues.

Public function Virtual

void

 

InitializeSimulationState

(
    FMockAbilitySyncState* SyncSta...,
    FMockAbilityAuxState* AuxState
)

Protected function

void

 

InitMockAbilitySimulation

(
    FMockAbilitySimulation* Simula...
)

Public function Const UFunction BlueprintCallable, Category

bool

 

IsBlinking()

Are we currently in the blinking (startup) state.

Public function Const UFunction BlueprintCallable, Category

bool

 

IsDashing()

Are we currently in the dashing state.

Public function Const UFunction BlueprintCallable, Category

bool

 

IsSprinting()

Are we currently in the sprinting state.

Public function Virtual

void

 

ProduceInput

(
    const int32 SimTimeMS,
    FMockAbilityInputCmd* Cmd
)

Overridden from UNetworkPredictionComponent

Name Description

Protected function Virtual

void

 

InitializeNetworkPredictionProxy()

Network Prediction.

Classes

Name

Description

Public class

FMockAbilityBlinkCueEvent

Blueprint assignable events for blinking. THis allows the user/blueprint to implement rollback-able events.

Public class

FMockAbilityBlinkCueRollback

Public class

FMockAbilityNotifyStateChange

Ability State and Notifications -This allows user code/blueprints to respond to state changes.

Public class

FMockAbilityPhysicsGunFireEvent

Typedefs

Name

Description

FProduceMockAbilityInput