UPlayer

Inheritance Hierarchy

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

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/Player.h