Пример #1
0
        public static void Welcome(Packet packet)
        {
            MainServerComms.EstablishedConnection = true;
            Thread updateThread = new Thread(new ThreadStart(MainServerComms.Update));

            updateThread.Start();
            MainServerCommsSend.WelcomeReceived(MainServerComms.ServerName);
            Console.WriteLine("\n\t\tGameServer recieved welcome packet from MainServer");
        }
Пример #2
0
        public static void Welcome(Packet _)
        {
            Output.WriteLine("\t\tGameServer reading welcome packet from MainServer");
            MainServerComms.EstablishedConnection = true;

            //Thread updateThread = new Thread(new ThreadStart(MainServerComms.Update));
            //updateThread.Start();
            MainServerComms.StartSendingServerData();

            MainServerCommsSend.WelcomeReceived(MainServerComms.ServerName);
            Output.WriteLine("\t\tGameServer recieved welcome packet from MainServer");
        }