Пример #1
0
        static void Main()
        {
            Console.Title = $"Pangya Fresh UP ! LoginServer";

            Server = new LoginServer();

            Server.ServerStart();

            Server.OnPacketReceived += Server_OnPacketReceived;
            //Escuta contínuamente entradas no console (Criar comandos para o Console)
            for (;;)
            {
                var comando = Console.ReadLine().Split(new char[] { ' ' }, 2);
                Server.RunCommand(comando);
            }
        }