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