/// <summary>
 ///     Called on afk warning.
 /// </summary>
 /// <param name="args">The <see cref="GameNotifyAwayEventArgs" /> instance containing the event data.</param>
 private static void OnNotifyAway(GameNotifyAwayEventArgs args)
 {
     if (Menu["antiafk"].Enabled)
     {
         args.IgnoreDialog = true;
         Orbwalker.Implementation.Move(ObjectManager.GetLocalPlayer().ServerPosition);
     }
 }
Exemple #2
0
 public void AntiAfk(GameNotifyAwayEventArgs e)
 {
     e.IgnoreDialog = true;
     Orbwalker.Implementation.Move(ObjectManager.GetLocalPlayer().ServerPosition);
 }
Exemple #3
0
 private static void Game_OnNotifyAway(GameNotifyAwayEventArgs e)
 {
     e.IgnoreDialog = true;
     Orbwalker.Implementation.Move(ObjectManager.GetLocalPlayer().ServerPosition);
 }