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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback