Class PlayerBot [-] [+]

Inherits all methods from: Object, WorldObject, Unit, Player

Methods

GetAssistTankIndex Returns the assist tank index of the Player in its group, or -1.
GetBotAI Returns the [PlayerbotAI] driving the Player, or nil when it is not a bot.
GetGroupMainTankGUID Returns the GUID of the main tank of the Players group, or nil when ungrouped.
GetGroupTankCount Returns the amount of tanks in the Players group.
GetMixedGearScore Returns the gear score of the Player as computed by the playerbot AI.
IsAddclassBot Returns true if the Player is a bot summoned through the addclass command.
IsAltBot Returns true if the Player is an alt bot summoned by a real player.
IsAssistTank Returns true if the Player is an assist tank of its group.
IsCaster Returns true if the Player is considered a caster by the playerbot AI.
IsCombo Returns true if the Player uses combo points.
IsDps Returns true if the Player is considered a dps by the playerbot AI.
IsExplicitMainTank Returns true if the Player is explicitly flagged as main tank of its group.
IsHealer Returns true if the Player is considered a healer by the playerbot AI.
IsMainTank Returns true if the Player is the main tank of its group.
IsMelee Returns true if the Player is considered a melee by the playerbot AI.
IsPlayerbot Returns true if the Player is driven by a playerbot AI, false otherwise.
IsRandomBot Returns true if the Player is a random bot handled by the RandomPlayerbotMgr.
IsRanged Returns true if the Player is considered a ranged by the playerbot AI.
IsRangedDps Returns true if the Player is considered a ranged dps by the playerbot AI.
IsRealPlayer Returns true if the Player is a real (human controlled) player, false otherwise.
IsSelfBot Returns true if the Player is a self bot, a bot logged in on its owner's own account.
IsTank Returns true if the Player is considered a tank by the playerbot AI.