Files
UnrealEngine/Engine/Source/Editor/UnrealEd/Classes/Commandlets/LoadPackageCommandlet.h
2025-05-18 13:04:45 +08:00

30 lines
782 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Commandlets/Commandlet.h"
#include "LoadPackageCommandlet.generated.h"
UCLASS()
class ULoadPackageCommandlet : public UCommandlet
{
GENERATED_UCLASS_BODY()
/**
* Parse the given load list file, placing the entries in the given Tokens array.
*
* @param LoadListFilename The name of the load list file
* @param Tokens The array to place the entries into.
*
* @return bool true if successful and non-empty, false otherwise
*/
bool ParseLoadListFile(FString& LoadListFilename, TArray<FString>& Tokens);
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
};