UE2:PlayerController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Controller >> LicenseeController >> PlayerController
Package:
Engine
Known classes within PlayerController:
AdminManager, CheatManager, PlayerInput
Direct subclasses:
Admin, Camera, MessagingSpectator, U2PlayerController
This class in other games:

PlayerController

PlayerControllers are used by human players to control pawns.

This is a built-in Unreal class and it shouldn't be modified. CHANGENOTE: All Changes since v739 in this class are related to the Weapon code update, except for the change in Possess(). NEW (mdf) support Licensee extensions

Constants

BaseSpectatingState

Value: 'BaseSpectating'


SpectatingState

Value: 'Spectating'


PlayerClimbingState

Value: 'PlayerClimbing'


PlayerFlyingState

Value: 'PlayerFlying'


PlayerHelicopteringState

Value: 'PlayerHelicoptering'


PlayerSpideringState

Value: 'PlayerSpidering'


PlayerSwimmingState

Value: 'PlayerSwimming'


PlayerWaitingState

Value: 'PlayerWaiting'


PlayerWalkingState

Value: 'PlayerWalking'


WaitingForPawnState

Value: 'WaitingForPawn'


Properties

See PlayerController properties.

Functions

Exec functions

See PlayerController exec functions.

Native functions

ClientHearSound

native event ClientHearSound (Actor Actor, int Id, Sound S, Object.Vector SoundLocation, Object.Vector Parameters, bool Attenuate)


ClientTravel

native event ClientTravel (string URL, Actor.ETravelType TravelType, bool bItems)


ConsoleCommand

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


CopyToClipboard

native function CopyToClipboard (string Text)


FindStairRotation

native(524) final function int FindStairRotation (float DeltaTime)


GetDefaultURL

native final function string GetDefaultURL (string Option)


GetEntryLevel

native final function LevelInfo GetEntryLevel ()


GetPlayerNetworkAddress

native final function string GetPlayerNetworkAddress ()


PasteFromClipboard

native function string PasteFromClipboard ()


ResetKeyboard

native(544) final function ResetKeyboard ()


SendEvent

native final function SendEvent (string Event)


SetViewTarget

native function SetViewTarget (Actor NewViewTarget)


UpdateURL

native(546) final function UpdateURL (string NewOption, string NewValue, bool bSaveDefault)


Events

ClientMessage

event ClientMessage (coerce string S, optional name Type)


Destroyed

simulated event Destroyed ()

Overrides: Controller.Destroyed


InitInputSystem

event InitInputSystem ()


NotifyLanded

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


PlayerCalcView

event PlayerCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)


PlayerTick

event PlayerTick (float DeltaTime)


PostBeginPlay

event PostBeginPlay ()

Overrides: LicenseeController.PostBeginPlay


PreClientTravel

event PreClientTravel ()


ReceiveLocalizedMessage

event ReceiveLocalizedMessage (class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)


Replication

event Replication ()

Overrides: Controller.Replication


TeamMessage

event TeamMessage (PlayerReplicationInfo PRI, coerce string S, name Type)


TravelPostAccept

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


Other instance functions

See PlayerController instance functions.

States

See PlayerController states.