RealtimeStyleTransferRuntime/Plugins/CommonGame/Source/Public/CommonPlayerController.h

29 lines
713 B
C
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModularPlayerController.h"
2022-09-13 07:18:28 +00:00
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "CommonPlayerController.generated.h"
2022-09-13 07:18:28 +00:00
class APawn;
class UObject;
2022-05-23 18:41:30 +00:00
UCLASS(config=Game)
class COMMONGAME_API ACommonPlayerController : public AModularPlayerController
{
GENERATED_BODY()
public:
ACommonPlayerController(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
virtual void ReceivedPlayer() override;
virtual void SetPawn(APawn* InPawn) override;
virtual void OnPossess(class APawn* APawn) override;
virtual void OnUnPossess() override;
protected:
virtual void OnRep_PlayerState() override;
};