HISP/HorseIsleServer/HISP/Program.cs
2022-03-08 10:59:30 -05:00

22 lines
525 B
C#

using HISP.Server;
using System;
namespace HISP
{
public static class Program
{
public static bool ShuttingDown = false;
public static void OnShutdown()
{
ShuttingDown = true;
}
public static void Main(string[] args)
{
Logger.SetCallback(Console.WriteLine);
Entry.SetShutdownCallback(OnShutdown);
Entry.Start();
while (!ShuttingDown) { /* Allow asyncronous operations to happen. */ };
}
}
}