26 lines
605 B
C#
26 lines
605 B
C#
using AcDream.Plugin.Abstractions;
|
|
|
|
namespace AcDream.App.Plugins;
|
|
|
|
public sealed class AppPluginHost : IPluginHost
|
|
{
|
|
public AppPluginHost(
|
|
IPluginLogger log,
|
|
IGameState state,
|
|
IEvents events,
|
|
ISelectionService selection,
|
|
IUiRegistry ui)
|
|
{
|
|
Log = log;
|
|
State = state;
|
|
Events = events;
|
|
Selection = selection;
|
|
Ui = ui;
|
|
}
|
|
|
|
public IPluginLogger Log { get; }
|
|
public IGameState State { get; }
|
|
public IEvents Events { get; }
|
|
public ISelectionService Selection { get; }
|
|
public IUiRegistry Ui { get; }
|
|
}
|