You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902 #ROBOMERGE-BOT: (v613-10869866) [CL 10870584 by ryan durand in Main branch]
39 lines
960 B
C++
39 lines
960 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Launcher/LauncherTask.h"
|
|
|
|
/**
|
|
* Implements a launcher task for verifying the profile settings.
|
|
*/
|
|
class FLauncherVerifyProfileTask
|
|
: public FLauncherTask
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Creates and initializes a new instance.
|
|
*
|
|
* @param InProfile - The launcher profile containing the cook settings.
|
|
* @param InSessionId - The session identifier.
|
|
* @param InPlatformName - The name of the platform to cook.
|
|
*/
|
|
FLauncherVerifyProfileTask( )
|
|
: FLauncherTask(NSLOCTEXT("FLauncherTask", "LauncherVerifyProfileName", "Verify").ToString(), NSLOCTEXT("FLauncherTask", "LauncherVerifyProfileDesc", "Verify profile settings").ToString(), NULL, NULL)
|
|
{ }
|
|
|
|
protected:
|
|
|
|
virtual bool PerformTask( FLauncherTaskChainState& ChainState ) override
|
|
{
|
|
if (ChainState.Profile.IsValid())
|
|
{
|
|
return ChainState.Profile->IsValidForLaunch();
|
|
}
|
|
|
|
return false;
|
|
}
|
|
};
|