UMockPhysicsGrenadeComponent

--------------------------------------------------------------------------------------------------------

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

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

Include

#include "MockPhysicsGrenade.h"

Syntax

UCLASS(BlueprintType, Meta=(BlueprintSpawnableComponent))
class UMockPhysicsGrenadeComponent : public UNetworkPredictionPhysicsComponent

Remarks


Variables

Name Description

Protected variable UProperty Category, EditDefaultsOnly

float

 

FuseTimeSeconds

Protected variable UProperty Category, EditDefaultsOnly

float

 

Magnitude

Public variable UProperty Category BlueprintAssignable

FMockGrenadeOnE...

 

OnExplode

Protected variable UProperty Category, EditDefaultsOnly

float

 

Radius

Functions

Name Description

Public function

void

 

FinalizeFrame

(
    const void* SyncState,
    const FMockPhysicsGrenadeAuxState&...
)

Public function Const

UPrimitiveCo...

 

GetPhysicsPrimitiveComponent()

Public function

void

 

HandleCue

(
    const FMockGrenadeExplodeCue& Expl...,
    const FNetSimCueSystemParamemters&...
)

Public function

void

 

InitializeSimulationState

(
    void* Sync,
    FMockPhysicsGrenadeAuxState* A...
)

Public function

void

 

SimulationTick

(
    const FNetSimTimeStep& TimeStep,
    const TNetSimInput< MockPhysicsGren...,
    const TNetSimOutput< MockPhysicsGre...
)

Overridden from UNetworkPredictionPhysicsComponent

Name Description

Protected function Virtual

void

 

InitializeNetworkPredictionProxy()

Classes must initialize the NetworkPredictionProxy (register with the NetworkPredictionSystem) here. EndPlay will unregister.

Classes

Name

Description

Public class

FMockGrenadeOnExplode