using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using Styx;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.AreaManagement;
using Styx.Logic.BehaviorTree;
using Styx.Logic.Combat;
using Styx.Logic.Inventory.Frames.Gossip;
using Styx.Logic.Inventory.Frames.LootFrame;
using Styx.Logic.Pathing;
using Styx.Logic.Profiles;
using Styx.Plugins;
using Styx.Plugins.PluginClass;
using Styx.WoWInternals;
using Styx.WoWInternals.World;
using Styx.WoWInternals.WoWObjects;
using System.Collections.Specialized;
using System.Runtime.InteropServices;
using TreeSharp;
using Action = TreeSharp.Action;
namespace KeyBindBotBase
{
class KeyBindBotBase : BotBase
{
public override string Name { get { return "KeyBindBotBase"; } }
public static KeyBindBotBase Instance { get; private set; }
public KeyBindBotBase() { Instance = this; }
public override PulseFlags PulseFlags { get { return Styx.PulseFlags.All; } }
LocalPlayer Me = ObjectManager.Me;
static PrioritySelector luaFunBt;
static WoWUnit CT = ObjectManager.Me.CurrentTarget;
public HelperBase HBase = null;
public override void Initialize()
{
luaFunBt = new PrioritySelector();
HBase = new HelperBase();
// 1 executes this Action
Log("Adding Actions");
AddAction(DKUnholysingleRotation, Keys.D1);
// End of example
}