public void Initialize() { randomizer = new Random(); timer = new Stopwatch(); chillingTimer = new Stopwatch(); isRunning = true; MeHumanBehaviorsActiv = false; nextHumanBehavior = 0; MeHumanSettings.Load(); Start(); }
public static bool Load() { try { if (File.Exists(AdviserFilePathAndName("MeHuman", ObjectManager.Me.Name + "." + Usefuls.RealmName))) { CurrentSetting = Load <MeHumanSettings>(AdviserFilePathAndName("MeHuman", ObjectManager.Me.Name + "." + Usefuls.RealmName)); return(true); } CurrentSetting = new MeHumanSettings(); } catch (Exception e) { Logging.WriteDebug("MeHumans => Load(): " + e); } return(false); }
public void Settings() { MeHumanSettings.Load(); MeHumanSettings.CurrentSetting.ToForm(); MeHumanSettings.CurrentSetting.Save(); }