Пример #1
0
        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();
        }
Пример #2
0
 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);
         }
     }
 }
Пример #3
0
 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;
 }
Пример #4
0
 public FormGrangerNewInfo(Aldurcraft.Utility.PersistentObject<GrangerSettings> Settings)
 {
     this.Settings = Settings;
     InitializeComponent();
 }
Пример #5
0
        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();
        }