private void OnInnerGaugeChange(object source, LongswordEventArgs args) { Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render, new Action(() => { GaugeWidth = args.InnerGauge * 85; })); }
private void OnChargeLevelChange(object source, LongswordEventArgs args) { Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render, new Action(() => { OuterGaugePercentage = args.OuterGauge; OuterGaugeColor = OuterGaugeColors.ElementAtOrDefault(args.ChargeLevel); })); }
private void OnSpiritGaugeBlinkDurationUpdate(object source, LongswordEventArgs args) { Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render, new Action(() => { GaugeIsBlinking = args.SpiritGaugeBlinkDuration > 0; GaugeBlinkDuration = TimeSpan.FromSeconds(args.SpiritGaugeBlinkDuration).ToString(args.SpiritGaugeBlinkDuration > 60 ? "m\\:ss" : "ss"); })); }
private void UpdateInformation() { LongswordEventArgs dummyArgs = new LongswordEventArgs(Context); OnChargeLevelChange(this, dummyArgs); OnInnerGaugeChange(this, dummyArgs); OnOuterGaugeChange(this, dummyArgs); OnSafijiivaCounterUpdate(this, new JobEventArgs(Context)); }
private void OnChargeLevelChange(object source, LongswordEventArgs args) { throw new NotImplementedException(); }
private void OnInnerGaugeChange(object source, LongswordEventArgs args) { throw new NotImplementedException(); }