Skip to content

LocalPlayer

Class in Engine · Engine.LocalPlayer · config, native, transient

Object › Player › LocalPlayer

Within: Engine

Using it from Lua
h7.find_all("LocalPlayer")            -- live instances
h7.find_class("Engine.LocalPlayer")   -- the class
h7.hook("Engine.LocalPlayer.Cleanup", fn)

Structs

CurrentPostProcessVolumeInfo

FieldType
LastSettingsPostProcessSettings
LastVolumeUsedPostProcessVolume
BlendStartTimefloat
LastBlendTimefloat

PostProcessSettingsOverride

FieldType
SettingsPostProcessSettings
bBlendingInbool
bBlendingOutbool
CurrentBlendInTimefloat
CurrentBlendOutTimefloat
BlendInDurationfloat
BlendOutDurationfloat
BlendStartTimefloat
TimeAlphaCurveInterpCurveFloat

SynchronizedActorVisibilityHistory

FieldType
Statepointer
CriticalSectionpointer

Properties

NameTypeNotes
ActivePPOverridesarray<PostProcessSettingsOverride>transient, protected
ActorVisibilityHistorySynchronizedActorVisibilityHistoryconst, transient, native, private
AspectRatioAxisConstraintEAspectRatioAxisConstraintconfig
bForceDefaultPostProcessChainbooltransient
bPendingServerAuthbool
bSentSplitJoinboolconst, transient, editconst
bWantToResetToMapDefaultPPbool
CachedAuthIntOnlineAuthInterface
ControllerIdint
CurrentPPInfoCurrentPostProcessVolumeInfoconst, transient
LastMapstring
LastViewLocationvectortransient
LevelPPInfoCurrentPostProcessVolumeInfoconst, transient
MaxServerAuthRetryCountint
Originvector2d
PlayerPostProcessPostProcessChainconst, transient
PlayerPostProcessChainsarray<PostProcessChain>const, transient
ServerAuthRetryCountint
ServerAuthTimeoutint
ServerAuthTimestampfloat
ServerAuthUIDUniqueNetId
Sizevector2d
TagContextTranslationContext
ViewportClientGameViewportClient
ViewStatepointerconst, native, private
ViewState2pointerconst, native, private

Functions

NameDeclaration
Cleanupfunction Cleanup(optional bool bExit)
ClearPostProcessSettingsOverridenative simulated function ClearPostProcessSettingsOverride(optional float BlendOutTime)
DeProjectfinal native function DeProject(vector2D RelativeScreenPos, out vector WorldOrigin, out vector WorldDirection)
Exitevent Exit()
FastDeProjectfinal native function FastDeProject(vector2D RelativeScreenPos, out vector WorldOrigin, out vector WorldDirection)
FastProjectfinal native function vector2d FastProject(vector WorldLoc)
GetActorVisibilityfinal native function bool GetActorVisibility(Actor TestActor)
GetNicknameevent string GetNickname()
GetPostProcessChainnative function PostProcessChain GetPostProcessChain(int InIndex)
GetTranslationContextfinal native function TranslationContext GetTranslationContext()
GetUniqueNetIdfinal event UniqueNetId GetUniqueNetId()
InsertPostProcessingChainnative function bool InsertPostProcessingChain(PostProcessChain InChain, int InIndex, bool bInClone)
NotifyServerConnectionCloseevent NotifyServerConnectionClose()
NotifyServerConnectionOpenevent NotifyServerConnectionOpen()
OnServerAuthCompletefunction OnServerAuthComplete(bool bSuccess, UniqueNetId ServerUID, Player ServerConnection, string ExtraInfo)
OnServerConnectionClosefunction OnServerConnectionClose(Player ServerConnection)
OverridePostProcessSettingsnative simulated function OverridePostProcessSettings(PostProcessSettings OverrideSettings, optional float BlendInTime)
OverridePostProcessSettingsCurvenative simulated function OverridePostProcessSettingsCurve(PostProcessSettings OverrideSettings, const out InterpCurveFloat Curve)
ProcessClientAuthEndSessionRequestfunction ProcessClientAuthEndSessionRequest(Player ServerConnection)
ProcessClientAuthRequestfunction ProcessClientAuthRequest(UniqueNetId ServerUID, int ServerIP, int ServerPort, bool bSecure)
ProcessServerAuthResponsefunction ProcessServerAuthResponse(UniqueNetId ServerUID, int ServerIP, int AuthTicketUID)
Projectfinal native function vector2d Project(vector WorldLoc)
RemoveAllPostProcessingChainsnative function bool RemoveAllPostProcessingChains()
RemovePostProcessingChainnative function bool RemovePostProcessingChain(int InIndex)
SendSplitJoinfinal native function SendSplitJoin()
ServerAuthFailurefunction ServerAuthFailure()
ServerAuthTimedOutevent ServerAuthTimedOut()
SetControllerIdfinal function SetControllerId(int NewControllerId)
SpawnPlayActorfinal native function bool SpawnPlayActor(string URL, out string OutError)
StaticOnServerConnectionClosestatic final function StaticOnServerConnectionClose(Player ServerConnection)
TouchPlayerPostProcessChainnative function TouchPlayerPostProcessChain()
ViewportClosedevent ViewportClosed()

Default values

bWantToResetToMapDefaultPP=true
bForceDefaultPostProcessChain=false
ServerAuthTimeout=10
MaxServerAuthRetryCount=3

Inherited

FromMembers
Player8 properties, 1 functions
Object13 properties, 308 functions