Snowflake/RPG.Services.Gameserver/Program.cs

20 lines
504 B
C#
Raw Normal View History

2024-01-18 22:13:40 +00:00
using Microsoft.Extensions.Hosting;
using RPG.Services.Core.Extensions;
using RPG.Services.Gameserver.Network.Command;
2024-01-18 16:18:25 +00:00
2024-01-18 22:13:40 +00:00
namespace RPG.Services.Gameserver;
internal static class Program
2024-01-18 16:18:25 +00:00
{
2024-01-18 22:13:40 +00:00
private static async Task Main(string[] args)
2024-01-18 16:18:25 +00:00
{
2024-01-18 22:13:40 +00:00
Console.Title = "Snowflake | Gameserver";
HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
builder.SetupRPGService<RPGGameserver, GameserverCommandHandler>();
await builder.Build().RunAsync();
2024-01-18 16:18:25 +00:00
}
}