mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
30 lines
532 B
C#
30 lines
532 B
C#
using ReactiveUI;
|
|
|
|
namespace Wabbajack.Messages;
|
|
|
|
public class NavigateToGlobal
|
|
{
|
|
public enum ScreenType
|
|
{
|
|
ModeSelectionView,
|
|
ModListGallery,
|
|
Installer,
|
|
Settings,
|
|
Compiler,
|
|
ModListContents,
|
|
WebBrowser
|
|
}
|
|
|
|
public ScreenType Screen { get; }
|
|
|
|
private NavigateToGlobal(ScreenType screen)
|
|
{
|
|
Screen = screen;
|
|
}
|
|
|
|
public static void Send(ScreenType screen)
|
|
{
|
|
MessageBus.Current.SendMessage(new NavigateToGlobal(screen));
|
|
}
|
|
|
|
} |