#pragma once #include "CoreMinimal.h" #include "GameFramework/PlayerController.h" #include "OnlineSamplePlayerController.generated.h" /** * */ UCLASS() class ONLINESAMPLE_API AOnlineSamplePlayerController : public APlayerController { GENERATED_BODY() public: AOnlineSamplePlayerController(); protected: /** Called once play begins */ virtual void BeginPlay(); /** Called once play ends */ virtual void EndPlay(EEndPlayReason::Type EndReason); };