Beispiel #1
0
 private void ComboKey_ValueChanged(Divine.Menu.Items.MenuHoldKey holdKey, Divine.Menu.EventArgs.HoldKeyEventArgs e)
 {
     if (e.Value)
     {
         UpdateManager.IngameUpdate += UpdateManager_IngameUpdate;
     }
     else
     {
         UpdateManager.IngameUpdate -= UpdateManager_IngameUpdate;
     }
 }
Beispiel #2
0
 private void ComboKey_ValueChanged(Divine.Menu.Items.MenuHoldKey holdKey, Divine.Menu.EventArgs.HoldKeyEventArgs e)
 {
     if (e.Value)
     {
         UpdateManager.CreateIngameUpdate(100, TargetUpdater);
     }
     else
     {
         UpdateManager.DestroyIngameUpdate(TargetUpdater);
     }
 }
Beispiel #3
0
 private void ComboKey_ValueChanged(Divine.Menu.Items.MenuHoldKey holdKey, Divine.Menu.EventArgs.HoldKeyEventArgs e)
 {
     if (e.Value)
     {
         UpdateManager.CreateIngameUpdate(25, TargetUpdater);
     }
     else
     {
         CurrentTarget = null;
         ParticleManager.RemoveParticle("TargetParticle");
         UpdateManager.DestroyIngameUpdate(TargetUpdater);
     }
 }