Navigation
API > API/Editor > API/Editor/PackagesDialog
Inheritance Hierarchy
- IModuleInterface
- FPackagesDialogModule
References
| Module | PackagesDialog |
| Header | /Engine/Source/Editor/PackagesDialog/Public/PackagesDialog.h |
| Include | #include "PackagesDialog.h" |
Syntax
class FPackagesDialogModule : public IModuleInterface
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddButton
(
EDialogReturnType Type, |
Adds a new button to the package dialog windowAdds a new button to the package dialog window | |
| void | AddButton
(
EDialogReturnType Type, |
Adds a new button to the package dialog window | |
| void | AddPackageItem
(
UPackage* InPackage, |
Adds a new item to the checkbox that represents a package | |
| void | CreatePackagesDialog
(
const FText& Title, |
Used to create the package dialog window | |
| void | GetResults
(
TArray< UPackage* >& OutPackages, |
Populates the passed in array with the desired packages | |
| bool | Checks to see if the package dialog window is currently initialized | ||
| void | OnModulesChanged
(
FName ModuleThatChanged, |
Called when a module has been changed (unloaded, loaded, etc) | |
| void | Removes all package items from the dialog | ||
| void | Removes the package dialog window | ||
| void | SetMessage
(
const FText& InMessage |
Sets the message displayed in the package dialog | |
| void | SetWarning
(
const FText& InMessage |
Sets the warning message displayed in the package dialog | |
| EDialogReturnType | Shows the package dialog window as a modal window | ||
| EDialogReturnType | ShowPackagesDialog
(
TSet< FString >& InOutIgnoredPackages |
Shows the package dialog window as a modal window |
Overridden from IModuleInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Called before the module is unloaded, right before the module object is destroyed. | ||
| void | Called right after the module DLL has been loaded and the module object has been created | ||
| bool | Override this to set whether your module is allowed to be unloaded on the fly |
Constants
| Name | Description |
|---|---|
| DEFAULT_WINDOW_SIZE | A default window size for the package dialog |
| EXTRA_WINDOW_WIDTH | Extra window width if source control connection is allowed |