Language:
Discover
By Skill Level
By Category

FMainMRUFavoritesList

Choose your OS:

Inheritance Hierarchy

FMRUList

FMainMRUFavoritesList

Syntax

class FMainMRUFavoritesList : public FMRUList

Remarks

============================================================================= MRUFavoritesList : Helper class for handling MRU and favorited maps Simple class to represent a combined MRU and favorite map list

Constructors

Name Description

Public function

FMainMRUFavoritesList()

Constructor

Public function

FMainMRUFavoritesList

(
    const FString & IniSectionOverride,
    const int32 InitMaxItems
)

Destructors

Name Description

Public function

~FMainMRUFavoritesList()

Destructor

Functions

Name Description

Public function

void

 

AddFavoritesItem

(
    const FString & Item
)

Add a new file item to the favorites list

Add a new item to the favorites list

Public function

bool

 

ContainsFavoritesItem

(
    const FString & Item
)

Returns whether a filename is favorited or not

Public function

FString

 

GetFavoritesItem

(
    int32 ItemIndex
)

Return the favorites item specified by the provided index

Public function

int32

 

GetNumFavorites()

Returns the number of favorites items

Number of favorites

Public function

void

 

MoveFavoritesItemToHead

(
    const FString & Item
)

Moves the specified favorites item to the head of the list

Public function

void

 

RemoveFavoritesItem

(
    const FString & Item
)

Remove a file from the favorites list

Remove an item from the favorites list

Public function

bool

 

VerifyFavoritesFile

(
    int32 ItemIndex
)

Verifies that the favorites item specified by the provided index still exists.

Overridden from FMRUList

Name Description

Public function Virtual

void

 

ReadFromINI()

Populate MRU/Favorites list by reading saved values from the relevant INI file

Public function Virtual

void

 

WriteToINI()

Save off the state of the MRU and favorites lists to the relevant INI file

Constants

Name

Description

FAVORITES_INI_SECTION

INI section to read/write favorite items to

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/MRUFavoritesList.h