示例#1
0
 private void OnInnerGaugeChange(object source, LongswordEventArgs args)
 {
     Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render, new Action(() =>
     {
         GaugeWidth = args.InnerGauge * 85;
     }));
 }
示例#2
0
 private void OnChargeLevelChange(object source, LongswordEventArgs args)
 {
     Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render, new Action(() =>
     {
         OuterGaugePercentage = args.OuterGauge;
         OuterGaugeColor      = OuterGaugeColors.ElementAtOrDefault(args.ChargeLevel);
     }));
 }
示例#3
0
 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");
     }));
 }
示例#4
0
        private void UpdateInformation()
        {
            LongswordEventArgs dummyArgs = new LongswordEventArgs(Context);

            OnChargeLevelChange(this, dummyArgs);
            OnInnerGaugeChange(this, dummyArgs);
            OnOuterGaugeChange(this, dummyArgs);
            OnSafijiivaCounterUpdate(this, new JobEventArgs(Context));
        }
示例#5
0
 private void OnChargeLevelChange(object source, LongswordEventArgs args)
 {
     throw new NotImplementedException();
 }
示例#6
0
 private void OnInnerGaugeChange(object source, LongswordEventArgs args)
 {
     throw new NotImplementedException();
 }