Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UNetworkPredictionComponent
- UBaseMovementComponent
- UFlyingMovementComponent
- UMockFlyingAbilityComponent
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockAbilitySimulation.h |
| Include | #include "MockAbilitySimulation.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UMockFlyingAbilityComponent : public UFlyingMovementComponent
Remarks
ActorComponent for running Mock Ability Simulation
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMockAbilitySimulation * | ActiveAbilitySimulation | ||
| FMockAbilityBlinkCueEvent | OnBlinkActivateEvent | ||
| FMockAbilityBlinkCueRollback | OnBlinkActivateEventRollback | ||
| FMockAbilityNotifyStateChange | OnBlinkStateChange | Notifies when Blink Changes. | |
| FMockAbilityNotifyStateChange | OnDashStateChange | Notifies when Dash state changes. | |
| FMockAbilityPhysicsGunFireEvent | OnPhysicsGunFirEvent | ||
| FMockAbilityNotifyStateChange | OnSprintStateChange | Notifies when Sprint state changes. | |
| TPimplPtr< FMockAbilitySimulation > | OwnedAbilitySimulation | ||
| FProduceMockAbilityInput | ProduceInputDelegate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FinalizeFrame
(
const FMockAbilitySyncState* SyncState, |
||
| float | |||
| float | |||
| float | GetStamina () |
||
| void | HandleCue
(
const FMockAbilityBlinkActivateCue& BlinkCue, |
NetSimCues. | |
| void | HandleCue
(
const FMockAbilityBlinkCue& BlinkCue, |
NetSimCues. | |
| void | HandleCue
(
const FMockAbilityPhysicsGunFireCue& FireCue, |
NetSimCues. | |
| void | InitializeSimulationState
(
FMockAbilitySyncState* SyncState, |
||
| void | InitMockAbilitySimulation
(
FMockAbilitySimulation* Simulation |
||
| bool | IsBlinking () |
Are we currently in the blinking (startup) state. | |
| bool | IsDashing () |
Are we currently in the dashing state. | |
| bool | IsSprinting () |
Are we currently in the sprinting state. | |
| void | ProduceInput
(
const int32 SimTimeMS, |
Overridden from UNetworkPredictionComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Network Prediction. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMockAbilityBlinkCueEvent | Blueprint assignable events for blinking. THis allows the user/blueprint to implement rollback-able events. | ||
| FMockAbilityBlinkCueRollback | |||
| FMockAbilityNotifyStateChange | Ability State and Notifications -This allows user code/blueprints to respond to state changes. | ||
| FMockAbilityPhysicsGunFireEvent |
Typedefs
| Name | Description |
|---|---|
| FProduceMockAbilityInput |