Example #1
0
        private static ArrayList LoadDirectories()
        {
            ArrayList arrayLists = new ArrayList();
            string    exePath    = Client.GetExePath("Ultima Online");
            string    str        = Client.GetExePath("Ultima Online Third Dawn");

            if (exePath != null)
            {
                arrayLists.Add(exePath);
            }
            if (str != null)
            {
                arrayLists.Add(str);
            }
            return(arrayLists);
        }
Example #2
0
        private static ArrayList LoadDirectories()
        {
            ArrayList arrayList = new ArrayList();
            string    exePath1  = Client.GetExePath("Ultima Online");
            string    exePath2  = Client.GetExePath("Ultima Online Third Dawn");

            if (exePath1 != null)
            {
                arrayList.Add((object)exePath1);
            }
            if (exePath2 != null)
            {
                arrayList.Add((object)exePath2);
            }
            return(arrayList);
        }