2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-09-13 07:18:28 +00:00
|
|
|
#include "GameSettingFilterState.h"
|
|
|
|
#include "Templates/SharedPointer.h"
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
class ULocalPlayer;
|
|
|
|
|
|
|
|
|
|
|
|
class GAMESETTINGS_API FWhenPlayingAsPrimaryPlayer : public FGameSettingEditCondition
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static TSharedRef<FWhenPlayingAsPrimaryPlayer> Get();
|
|
|
|
|
|
|
|
virtual void GatherEditState(const ULocalPlayer* InLocalPlayer, FGameSettingEditableState& InOutEditState) const override;
|
|
|
|
};
|