mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
23 lines
540 B
C#
23 lines
540 B
C#
|
using ReactiveUI;
|
||
|
using Wabbajack.DTOs;
|
||
|
using Wabbajack.Paths;
|
||
|
|
||
|
namespace Wabbajack.Messages;
|
||
|
|
||
|
public class LoadModlistForInstalling
|
||
|
{
|
||
|
public AbsolutePath Path { get; }
|
||
|
|
||
|
public ModlistMetadata Metadata { get; }
|
||
|
|
||
|
public LoadModlistForInstalling(AbsolutePath path, ModlistMetadata metadata)
|
||
|
{
|
||
|
Path = path;
|
||
|
Metadata = metadata;
|
||
|
}
|
||
|
|
||
|
public static void Send(AbsolutePath path, ModlistMetadata metadata)
|
||
|
{
|
||
|
MessageBus.Current.SendMessage(new LoadModlistForInstalling(path, metadata));
|
||
|
}
|
||
|
}
|