Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
Sample pawn that uses UFlyingMovementComponent. The main thing this provides is actually producing user input for the component/simulation to consume.
| Name | ANetworkPredictionExtrasFlyingPawn |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/NetworkPredictionExtrasFlyingPawn.h |
| Include Path | #include "NetworkPredictionExtrasFlyingPawn.h" |
Syntax
UCLASS ()
class ANetworkPredictionExtrasFlyingPawn : public APawn
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → APawn → ANetworkPredictionExtrasFlyingPawn
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ANetworkPredictionExtrasFlyingPawn
(
const FObjectInitializer& ObjectInitializer |
NetworkPredictionExtrasFlyingPawn.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFakeAutonomousProxy | bool | Actor will behave like autonomous proxy even though not posessed by an APlayercontroller. | NetworkPredictionExtrasFlyingPawn.h |
|
| InputPreset | ENetworkPredictionExtrasFlyingInputPreset | NetworkPredictionExtrasFlyingPawn.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedLookInput | FVector2D | NetworkPredictionExtrasFlyingPawn.h | ||
| CachedMoveInput | FVector3f | NetworkPredictionExtrasFlyingPawn.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMaxMoveSpeed
(
float AdditiveMaxMoveSpeed |
NetworkPredictionExtrasFlyingPawn.h |
|
|
float GetMaxMoveSpeed() |
NetworkPredictionExtrasFlyingPawn.h |
|
|
void PrintDebug() |
NetworkPredictionExtrasFlyingPawn.h |
|
|
void SetMaxMoveSpeed
(
float NewMaxMoveSpeed |
NetworkPredictionExtrasFlyingPawn.h |
|
Overridden from APawn
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetupPlayerInputComponent
(
UInputComponent* PlayerInputComponent |
NetworkPredictionExtrasFlyingPawn.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
NetworkPredictionExtrasFlyingPawn.h | ||
virtual UNetConnection * GetNetConnection() |
NetworkPredictionExtrasFlyingPawn.h | ||
virtual void Tick
(
float DeltaSeconds |
NetworkPredictionExtrasFlyingPawn.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ProduceInput
(
const int32 DeltaMS, |
NetworkPredictionExtrasFlyingPawn.h |