Navigation
API > API/Runtime > API/Runtime/Engine
A specialized player controller used by server connections that are created using NMT_JoinNoPawn and NMT_JoinNoPawnSplit.
| Name | ANoPawnPlayerController |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
Syntax
UCLASS (MinimalAPI)
class ANoPawnPlayerController : public APlayerController
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AController → APlayerController → ANoPawnPlayerController
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ANoPawnPlayerController
(
const FObjectInitializer& ObjectInitializer |
GameFramework/PlayerController.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableReplicationToConnection | bool | GameFramework/PlayerController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsEnableReplicationToConnection() |
GameFramework/PlayerController.h | ||
void ServerEnableReplicationToConnection
(
bool bEnable |
When disabled, any connection using this player controller won't replicate actors down to it's client. | GameFramework/PlayerController.h |
|
void ServerSetViewTargetPosition
(
FVector ViewTargetPos |
Set a view target position for use in replication relevancy. | GameFramework/PlayerController.h |
|
Overridden from AController
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual AActor * GetViewTarget() |
Get the actor the controller is looking at | GameFramework/PlayerController.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UNetConnection * GetNetConnection() |
Get the owning connection used for communicating between client/server | GameFramework/PlayerController.h | |
virtual void PostInitializeComponents() |
Overridden to create the player replication info and perform other mundane initialization tasks. | GameFramework/PlayerController.h |