mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-23 03:02:51 +01:00
25 lines
523 B
C#
25 lines
523 B
C#
using System;
|
|
using System.Threading;
|
|
using Model;
|
|
|
|
namespace Supervisor
|
|
{
|
|
class Program
|
|
{
|
|
public static readonly State State = new State();
|
|
|
|
public static void Main()
|
|
{
|
|
NBloodServerListener.StartListening();
|
|
WebApiListener.StartListening();
|
|
PublicServerManager.Start();
|
|
PrivateServerManager.Start();
|
|
|
|
while (true)
|
|
{
|
|
Thread.Sleep(TimeSpan.FromSeconds(1));
|
|
}
|
|
}
|
|
}
|
|
}
|