/// <summary> /// Local script initialization. Not much to do here at the moment /// </summary> void IScript.Init() { Console.WriteLine("Init() -- Begin"); // Initialize all the lists Bindings = new BindingList(); Actions = new PlayerActionList(); HealingSpells = new SpellList(); SConsumable.Instance.Init(player); Consumable = SConsumable.Instance; Console.WriteLine("Init() -- End"); }
/// <summary> /// Local script initialization. Not much to do here at the moment /// </summary> void IScript.Init() { Console.WriteLine("Init() -- Begin"); // Initialize all the lists Bindings = new BindingList(); Actions = new PlayerActionList(); HealingSpells = new SpellList(); SConsumable.Instance.Init(player); Consumable = SConsumable.Instance; Console.WriteLine("Init() -- End"); }
protected override void DoEnter(WowPlayer Entity) { Console.WriteLine("DoEnter() -- Begin"); // Initialize all the lists Bindings = new BindingList(); Actions = new PlayerActionList(); HealingSpells = new SpellList(); //Init SConsumable SConsumable.Instance.Init(Entity); Console.WriteLine("DoEnter() -- End"); }
protected override void DoEnter(WowPlayer Entity) { Output.Instance.Script("GlobalBaseBotState.DoEnter() -- Begin", this); // Initialize all the lists Bindings = new BindingList(); Actions = new PlayerActionList(); HealingSpells = new SpellList(); //Init SConsumable SConsumable.Instance.Init(Entity); inCombatState = new InCombatState(); roamingState = new RoamingState(); preCombatState = new PreCombatState(); postCombatState = new PostCombatState(); restState = new RestState(); Output.Instance.Script("GlobalBaseBotState.DoEnter() -- End", this); }