Beispiel #1
0
        public static void LoadProfile(string path)
        {
            DateTime currentDateTime = DateTime.Now;
            String   dateStr         = currentDateTime.ToString("dd.MM HH:mm:ss");

            ProfileSwitcher.Logger("" + dateStr + " loading profile: " + path);
            ProfileSwitcher.startRunTimer();
            ProfileSwitcher.deathRetries = 0;
            ProfileSwitcher.Log("Loading profile: " + path);
            ProfileManager.Load(path);
        }
Beispiel #2
0
 public static void ReloadProfile()
 {
     ProfileSwitcher.startRunTimer();
     ProfileSwitcher.Log("Loading profile: " + GlobalSettings.Instance.LastProfile);
     ProfileManager.Load(GlobalSettings.Instance.LastProfile);
 }