feat: update Godot integration and coordinated package dependencies
This commit is contained in:
5 files changed
+49
-24
No files matched your search
@@ -5,6 +5,7 @@ using System.Linq;
|
||||
using ShrinkCommand.Integration.App;
|
||||
using ShrinkCommand.Integration;
|
||||
using ShrinkContext.AppAdapter;
|
||||
using ShrinkDataSaver;
|
||||
using ShrinkDataSaver.Integration.App;
|
||||
using ShrinkDataSaver.Integration;
|
||||
using ShrinkNetwork.Integration.App;
|
||||
@@ -39,13 +40,20 @@ namespace ShrinkApp.Starter.Basic
|
||||
}
|
||||
|
||||
public static void Configure(ShrinkAppLoaderHost host)
|
||||
{
|
||||
Configure(host, null);
|
||||
}
|
||||
|
||||
public static void Configure(ShrinkAppLoaderHost host,
|
||||
ShrinkDataSaverRuntimeConfig? dataSaverRuntimeConfig)
|
||||
{
|
||||
if (host == null)
|
||||
throw new System.ArgumentNullException(nameof(host));
|
||||
|
||||
RegisterOrReplace(host, "shrink.network", static () => new ShrinkNetworkAppComponent());
|
||||
RegisterOrReplace(host, "shrink.command", static () => new ShrinkCommandAppComponent());
|
||||
RegisterOrReplace(host, "shrink.datasaver", static () => new ShrinkDataSaverAppComponent());
|
||||
RegisterOrReplace(host, "shrink.datasaver",
|
||||
() => new ShrinkDataSaverAppComponent(dataSaverRuntimeConfig));
|
||||
host.AddModuleComponent("shrink.integration.command-network",
|
||||
static () => new ShrinkCommandNetworkIntegrationComponent());
|
||||
host.AddModuleComponent("shrink.integration.command-eventbus",
|
||||
|
||||
Reference in new issue
Block a user