/Engine/Source/Runtime/CoreUObject/Public/UObject/ICookInfo.h
The different ways a package can be discovered by the cooker.
namespace UE { namespace Cook { enum EInstigator { EINSTIGATOR_VALUE_CALLBACK, InvalidCategory, NotYetRequested, Unspecified, StartupPackage, AlwaysCookMap, IniMapSection, IniAllMaps, CommandLinePackage, CommandLineDirectory, DirectoryToAlwaysCook, FullDepotSearch, GameDefaultObject, InputSettingsIni, StartupSoftObjectPath, PackagingSettingsMapToCook, CookModificationDelegate, ModifyCookDelegate, AssetManagerModifyCook, AssetManagerModifyDLCCook, TargetPlatformExtraPackagesToCook, ConsoleCommand, CookOnTheFly, IterativeCook, PreviousAssetRegistry, RequestPackageFunction, Dependency, HardDependency, SoftDependency, Unsolicited, EditorOnlyLoad, SaveTimeHardDependency, SaveTimeSoftDependency, ForceExplorableSaveTimeSoftDependency, GeneratedPackage, Count, } } }