UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LocalPlayerSubsystem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#include "LocalPlayerSubsystem.generated.h"
8
9class ULocalPlayer;
11
16UCLASS(Abstract, Within = LocalPlayer, MinimalAPI)
18{
20
21public:
23
24 template<typename LocalPlayerType = ULocalPlayer>
29
30 template<typename LocalPlayerType = ULocalPlayer>
35
37 ENGINE_API virtual void PlayerControllerChanged(APlayerController* NewPlayerController);
38};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PlayerController.h:261
Definition LocalPlayerSubsystem.h:18
LocalPlayerType * GetLocalPlayer() const
Definition LocalPlayerSubsystem.h:25
LocalPlayerType * GetLocalPlayerChecked() const
Definition LocalPlayerSubsystem.h:31
Definition LocalPlayer.h:169
FORCEINLINE UObject * GetOuter() const
Definition UObjectBase.h:223
Definition Subsystem.h:48