UPlayer

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Player.h

Include

#include "Engine/Player.h"

Syntax

class UPlayer :
    public UObject,
    public FExec

Variables

Name Description

Public variable

int32

 

ConfiguredInternetSpeed

Public variable

int32

 

ConfiguredLanSpeed

Public variable

int32

 

CurrentNetSpeed

Net variables.

Public variable

APlayerControll...

 

PlayerController

The actor this player controls.

Constructors

Name Description

Public function

UPlayer

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

FString

 

ConsoleCommand

(
    const FString& Cmd,
    bool bWriteToLog
)

Executes the Exec() command

Public function Const

APlayerContr...

 

GetPlayerController

(
    const UWorld*const InWorld
)

Gets the player controller in the given world for this player.

Public function Virtual

void

 

SwitchController

(
    APlayerController* PC
)

Dynamically assign Controller to Player and set viewport.

Overridden from FExec

Name Description

Public function Virtual

bool

 

Exec

(
    UWorld* InWorld,
    const TCHAR* Cmd,
    FOutputDevice& Ar
)

Exec handler

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss