C# Class FelixDev.StardewMods.FeTK.Framework.UI.LetterViewerMenuWrapper

This class is a wrapper around the LetterViewerMenu class to provide an extended API such as: - A MenuClosed event - Programmatically settable attached items - A text coloring API - see StringColorParser It also fixes an in-game bug (up to 1.3.36 at least) which only displays the last attached item in a collection of attached items.
Show file Open project: Felix-Dev/StardewMods

Public Methods

Method Description
LetterViewerMenuWrapper ( Mail mail ) : FelixDev.StardewMods.FeTK.Framework.Data.Parsers

Create a new instance of the LetterViewerMenuWrapper class.

Show ( ) : void

Display the menu.

Private Methods

Method Description
OnExit ( ) : void

Called when the letter viewer menu is closed. Raises the MenuClosed event./>

Method Details

LetterViewerMenuWrapper() public method

Create a new instance of the LetterViewerMenuWrapper class.
The specified is null.
public LetterViewerMenuWrapper ( Mail mail ) : FelixDev.StardewMods.FeTK.Framework.Data.Parsers
mail Mail The mail to create the menu for.
return FelixDev.StardewMods.FeTK.Framework.Data.Parsers

Show() public method

Display the menu.
public Show ( ) : void
return void