Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNetworkPredictionPhysicsComponent
- UMockPhysicsGrenadeComponent
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockPhysicsGrenade.h |
| Include | #include "MockPhysicsGrenade.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UMockPhysicsGrenadeComponent : public UNetworkPredictionPhysicsComponent
Remarks
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | FuseTimeSeconds | ||
| float | Magnitude | ||
| FMockGrenadeOnExplode | OnExplode | ||
| float | Radius |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FinalizeFrame
(
const void* SyncState, |
||
| UPrimitiveComponent * | |||
| void | HandleCue
(
const FMockGrenadeExplodeCue& ExplodeCue, |
||
| void | InitializeSimulationState
(
void* Sync, |
||
| void | SimulationTick
(
const FNetSimTimeStep& TimeStep, |
Overridden from UNetworkPredictionPhysicsComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Classes must initialize the NetworkPredictionProxy (register with the NetworkPredictionSystem) here. EndPlay will unregister. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMockGrenadeOnExplode |