Exemplo n.º 1
0
 /// <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);
     }
 }
Exemplo n.º 2
0
 public void AntiAfk(GameNotifyAwayEventArgs e)
 {
     e.IgnoreDialog = true;
     Orbwalker.Implementation.Move(ObjectManager.GetLocalPlayer().ServerPosition);
 }
Exemplo n.º 3
0
 private static void Game_OnNotifyAway(GameNotifyAwayEventArgs e)
 {
     e.IgnoreDialog = true;
     Orbwalker.Implementation.Move(ObjectManager.GetLocalPlayer().ServerPosition);
 }