feat(plugins): complete Campaign LA5 cross-host hosting
This commit is contained in:
parent
6c4cd2bbc6
commit
95f4be94db
26 changed files with 1630 additions and 99 deletions
|
|
@ -7,6 +7,14 @@ namespace AcDream.Plugin.Abstractions;
|
|||
/// </summary>
|
||||
public interface IPluginHost
|
||||
{
|
||||
/// <summary>
|
||||
/// <see langword="true"/> when <see cref="Ui"/> registrations can be
|
||||
/// projected by this host. No-window hosts return <see langword="false"/>
|
||||
/// and expose <see cref="NoOpUiRegistry.Instance"/> so a plugin may keep
|
||||
/// one code path while deliberately omitting presentation work.
|
||||
/// </summary>
|
||||
bool HasUi { get; }
|
||||
|
||||
IPluginLogger Log { get; }
|
||||
IGameState State { get; }
|
||||
IEvents Events { get; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue