server-master/srcs/_plugins/WingsEmu.Plugins.BasicImplementation/DbServer/DbServerModuleExtensions.cs
2026-02-10 18:21:30 +01:00

14 lines
No EOL
400 B
C#

using Microsoft.Extensions.DependencyInjection;
using WingsEmu.Communication.gRPC.Extensions;
namespace WingsEmu.Plugins.BasicImplementations.DbServer;
public static class DbServerModuleExtensions
{
public static void AddDbServerModule(this IServiceCollection services)
{
services.AddGrpcDbServerServiceClient();
services.AddHostedService<CharacterSaveSystem>();
}
}