Ejemplo n.º 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();
        }
Ejemplo n.º 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);
         }
     }
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 public FormGrangerNewInfo(Aldurcraft.Utility.PersistentObject<GrangerSettings> Settings)
 {
     this.Settings = Settings;
     InitializeComponent();
 }
Ejemplo n.º 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();
        }