public void BotStart(StringStatutTransfertEventHandler st, BotHelper BotHelper) { this.sendtext += st; InjectToWoW(); Name = localPlayer.Name; hp = localPlayer.HealthPoints; Guid = localPlayer.GUID; this.BotHelper = BotHelper; //move.Jump(); if (!passif) { Objectlist.HookEndScene(); Objectlist.DoString("DEFAULT_CHAT_FRAME:AddMessage(\"Bot Injected ! \")"); Objectlist.DoString("DEFAULT_CHAT_FRAME:AddMessage(\"Running XBot By Um3w Version " + SomeSettings.ProductVersion + "\")"); } waitTimePreCombat = BotHelper.maxCombatTimeTick - this.PreCombatTick; BreakCurActionB = false; }
public void DoString(string str) { Objectlist.DoString(str); }