public override void Initialize(PlayerTimersGroup parentGroup, string player, string timerId, Aldurcraft.WurmOnline.WurmState.WurmServer.ServerInfo.ServerGroup serverGroup, string compactId) { base.Initialize(parentGroup, player, timerId, serverGroup, compactId); //MoreOptionsAvailable = true; TimerDisplay.SetCooldown(Options.Duration); PerformAsyncInits(); }
void OnNewLogEvents(object sender, Aldurcraft.WurmOnline.WurmLogsManager.NewLogEntriesEventArgs e) { if (UI != null) { try { foreach (var entry in e.Entries.AllEntries) foreach (var line in entry.Entries) UI.ShowEvent(line); } catch (Exception _e) { Logger.LogError("issue", this, _e); } } }
public override void Initialize(PlayerTimersGroup parentGroup, string player, string timerId, Aldurcraft.WurmOnline.WurmState.WurmServer.ServerInfo.ServerGroup serverGroup, string compactId) { base.Initialize(parentGroup, player, timerId, serverGroup, compactId); TimerDisplay.SetCooldown(CD_duration); this.InitCompleted = true; }
public FormGrangerNewInfo(Aldurcraft.Utility.PersistentObject<GrangerSettings> Settings) { this.Settings = Settings; InitializeComponent(); }
public override void Initialize(PlayerTimersGroup parentGroup, string player, string timerId, Aldurcraft.WurmOnline.WurmState.WurmServer.ServerInfo.ServerGroup serverGroup, string compactId) { base.Initialize(parentGroup, player, timerId, serverGroup, compactId); TimerDisplay.SetCooldown(TimeSpan.FromDays(1)); Settings = new PersistentObject<MeditPathSettings>(new MeditPathSettings()); Settings.SetFilePathAndLoad(SettingsSavePath); MoreOptionsAvailable = true; PerformAsyncInits(); }