FMainMRUFavoritesList

Simple class to represent a combined MRU and favorite map list

Windows
MacOS
Linux

Inheritance Hierarchy

FMRUList

FMainMRUFavoritesList

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/MRUFavoritesList.h

Include

#include "MRUFavoritesList.h"

Syntax

class FMainMRUFavoritesList : public FMRUList

Remarks

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 Const

bool

 

ContainsFavoritesItem

(
    const FString& Item
)

Returns whether a filename is favorited or not

Public function Const

FString

 

GetFavoritesItem

(
    int32 ItemIndex
)

Return the favorites item specified by the provided index

Public function Const

int32

 

GetNumFavorites()

Returns the number of favorites items

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 Const

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss