Пример #1
0
        internal static void Main()
        {
            Constants.Port       = 17777;
            Constants.MaxPlayers = 1;

            ServerStarter.Start(new EmptyLogic());
            Server.PacketHandlers.Add((int)PacketEnum.Lol, SendAndHandel.ReceiveLol);
        }
Пример #2
0
 public UnitTest1()
 {
     _publisher = new ServerStarter(PUBLISHER_ROOT);
     _publisher.Start("publisher.appsettings.json");
 }
Пример #3
0
 private static void Main(string[] args)
 {
     ServerStarter.Start(new GameLogic());
 }