29 lines
801 B
C++
29 lines
801 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Commandlets/Commandlet.h"
|
||
|
|
#include "SetupFrameworkAssetsCommandlet.generated.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Generates deterministic Phase-0 baseline assets:
|
||
|
|
* 1. /Game/Maps/L_Bootstrap
|
||
|
|
* 2. /Game/UI/Textures/T_MiniSettingsIcon (128x128 UTexture2D)
|
||
|
|
* 3. /Game/UI/WBP_MiniSettings (UWidgetBlueprint with ImgIcon, TxtStatus, BtnToggle, TxtToggleLabel, BtnClose)
|
||
|
|
*/
|
||
|
|
UCLASS()
|
||
|
|
class UNREALLUADEMOEDITOR_API USetupFrameworkAssetsCommandlet : public UCommandlet
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
|
||
|
|
public:
|
||
|
|
USetupFrameworkAssetsCommandlet();
|
||
|
|
|
||
|
|
virtual int32 Main(const FString& Params) override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
bool CreateBootstrapMap() const;
|
||
|
|
bool CreateMiniSettingsTexture() const;
|
||
|
|
bool CreateMiniSettingsWidgetBlueprint() const;
|
||
|
|
};
|