Navigation
API > API/Developer > API/Developer/UnsavedAssetsTracker
Inheritance Hierarchy
- IModuleInterface
- FUnsavedAssetsTrackerModule
References
| Module | UnsavedAssetsTracker |
| Header | /Engine/Source/Developer/UnsavedAssetsTracker/Source/Public/UnsavedAssetsTrackerModule.h |
| Include | #include "UnsavedAssetsTrackerModule.h" |
Syntax
class FUnsavedAssetsTrackerModule : public IModuleInterface
Remarks
Tracks assets that has in-memory modification not saved to disk yet and checks the source control states of those assets when a source control provider is available.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnUnsavedAssetAdded | OnUnsavedAssetAdded | Invoked when a file is added to the unsaved list. | |
| FOnUnsavedAssetRemoved | OnUnsavedAssetRemoved | Invoked when a file is removed from the unsaved list. | |
| FPostUnsavedAssetAutoCheckout | PostUnsavedAssetAutoCheckout | Invoked after an asset has been checked out of source control | |
| FPostUnsavedAssetAutoCheckout | PostUnsavedAssetAutoCheckoutCancel | Invoked after an asset has been cancelled for automatic check out | |
| FPostUnsavedAssetAutoCheckout | PostUnsavedAssetAutoCheckoutFailure | Invoked after an asset failed to be checked out of source control | |
| FPreUnsavedAssetAutoCheckout | PreUnsavedAssetAutoCheckout | Invoked before an asset is potentially automatically checked out of source control Every notified File/Operation combination is followed by one of the Cancel/Success/Failure notifications below |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FUnsavedAssetsTrackerModule & | Get () |
Retrieve the module instance. | |
| int32 | Returns the number of unsaved assets currently tracked. | ||
| TArray< FString > | Returns the list of unsaved assets. | ||
| bool | IsAssetUnsaved
(
const FString& FileAbsPathname |
Check if the input asset is unsaved. | |
| TSharedRef< SWidget > | Construct the widget for the Editor status bar. | ||
| bool | Displays a dialog prompting the user to save unsaved packages. |
Overridden from IModuleInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Called before the module is unloaded, right before the module object is destroyed. | ||
| void | IModuleInterface implementation |