Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FMRUList
- FMainMRUFavoritesList
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/MRUList.h |
| Include | #include "MRUList.h" |
Syntax
class FMRUList
Remarks
An MRU list of files.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | INISection | The INI section we read/write the filenames to. | |
| TArray< FString > | Items | The filenames. | |
| const int32 | MaxItems | Maximum MRU items |
Constructors
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FMRUList () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMRUItem
(
const FString& Item |
Adds an item to the MRU list, moving it to the top. | |
| void | Clears the list of MRU items. | ||
| int32 | FindMRUItemIdx
(
const FString& Item |
Returns the index of the specified item, or INDEX_NONE if not found. | |
| int32 | GetMaxItems () |
||
| const FString & | GetMRUItem
(
int32 ItemIndex |
Accessor. | |
| int32 | GetNumItems () |
Returns the number of MRU items | |
| void | Internal helper function to populate a provided array with data from the provided ini section using the provided ini key as a base, searching for the number of provided elements at a maximum | ||
| void | InternalWriteINI
(
const TArray< FString >& InItems, |
Internal helper function to write out the provided array of data to the provided INI section, using the provided key base as a prefix for each item written to the INI file | |
| void | ReadFromINI () |
||
| void | RemoveMRUItem
(
const FString& Item |
Removes the specified item from the list if it exists. | |
| void | RemoveMRUItem
(
int32 ItemIndex |
Removes the item at the specified index. | |
| bool | VerifyMRUFile
(
int32 ItemIndex, |
Checks to make sure the file specified still exists. | |
| void | WriteToINI () |