2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CommonGameInstance.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
|
2022-05-23 18:41:30 +00:00
|
|
|
#include "LyraGameInstance.generated.h"
|
|
|
|
|
|
|
|
class ALyraPlayerController;
|
2022-09-13 07:18:28 +00:00
|
|
|
class UObject;
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
UCLASS(Config = Game)
|
|
|
|
class LYRAGAME_API ULyraGameInstance : public UCommonGameInstance
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
ULyraGameInstance(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
|
|
|
|
ALyraPlayerController* GetPrimaryPlayerController() const;
|
2022-09-13 07:18:28 +00:00
|
|
|
|
|
|
|
virtual bool CanJoinRequestedSession() const override;
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
virtual void Init() override;
|
|
|
|
virtual void Shutdown() override;
|
|
|
|
};
|