Files
UnrealEngine/Samples/Games/Lyra/Plugins/GameSettings/Source/Public/EditCondition/WhenPlayingAsPrimaryPlayer.h
2025-05-18 13:04:45 +08:00

21 lines
449 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameSettingFilterState.h"
#define UE_API GAMESETTINGS_API
class ULocalPlayer;
class FWhenPlayingAsPrimaryPlayer : public FGameSettingEditCondition
{
public:
static UE_API TSharedRef<FWhenPlayingAsPrimaryPlayer> Get();
UE_API virtual void GatherEditState(const ULocalPlayer* InLocalPlayer, FGameSettingEditableState& InOutEditState) const override;
};
#undef UE_API