Class Player [-] [+]
Inherits all methods from: Object, WorldObject, Unit
Methods
| AbandonQuest | Abandons a quest from the Player's quest log. |
| AddArmorProficiency | Adds armor proficiency to the Player. |
| AddBonusTalent | Add bonus talents count to the Player |
| AddComboPoints | Adds combo points to the Player |
| AddItem | Adds the given amount of the specified item entry to the player. |
| AddLifetimeKills | Adds a specified number of lifetime honorable kills to the Player. |
| AddQuest | Tries to add the given quest entry for the Player. |
| AddWeaponProficiency | Adds weapon proficiency to the Player. |
| AdvanceAllSkills | Advances all of the Players skills to the amount specified |
| AdvanceSkill | Updates a skill for the Player and advances it by the specified step. |
| AdvanceSkillsToMax | Advances all of the Players weapon skills to the maximum amount available |
| ApplyRatingMod | |
| AreaExploredOrEventHappens | Completes the Quest if a Quest area is explored, or completes the Quest |
| CalculateReputationGain | Calculates reputation gain for the Player. |
| CanAddQuest | Returns true if the Player can add the specified quest, false otherwise. |
| CanBlock | Returns true if the Player can block incomming attacks, false otherwise. |
| CanCompleteQuest | Returns true if the Player satisfies all requirements to complete the quest entry. |
| CanCompleteRepeatableQuest | Returns true if the Player satisfies all requirements to complete the quest entry. |
| CanEquipItem | Returns true if the player can equip the given Item or item entry to the given slot, false otherwise. |
| CanFly | Returns true if the Player can fly, false otherwise. |
| CanInteractWithQuestGiver | Returns true if the Player can interact with the specified quest giver, false otherwise. |
| CanParry | Returns true if the Player can parry incomming attacks, false otherwise. |
| CanPetResurrect | Returns true if the Player can resurrect their Pet and returns false otherwise. |
| CanResummonPet | Returns true if the Player can resummon a Pet with the specified spell ID, and false otherwise. |
| CanRewardQuest | Returns true if the Player satisfies all requirements to reward the quest entry. |
| CanSeeDKPet | Returns true if the Player can see Death Knight Pets, and false otherwise. |
| CanSeeStartQuest | Returns true if the Player can see the specified quest start, false otherwise. |
| CanShareQuest | Returns true if the Player can share Quest specified by ID, false otherwise. |
| CanSpeak | Returns true if the Player can currently communicate through chat, false otherwise. |
| CanTakeQuest | Returns true if the Player can take the specified quest, false otherwise. |
| CanTameExoticPets | Returns true if the Player can tame exotic pets, and false otherwise. |
| CanTeleport | Returns true if the Player can teleport, false otherwise. |
| CanTitanGrip | Returns true if the Player can Titan Grip, false otherwise. |
| CanUninviteFromGroup | Returns true if the Player has permission to uninvite others from the current group, false otherwise. |
| CanUseItem | Returns true if the Player can use the item or item entry specified, false otherwise. |
| ClearComboPoints | Clears the Players combo points |
| CompleteQuest | Completes the given quest entry for the Player and tries to satisfy all quest requirements. |
| CreatePet | Creates a tamed Pet from a Creature or creature entry. |
| DoRandomRoll | Returns a random number between the specified minimum and maximum values. |
| DurabilityLoss | Damages specified Item |
| DurabilityLossAll | Damages all Items equipped. If inventory is true, damages Items in bags |
| DurabilityPointLossForEquipSlot | Sets durability loss for an Item in the specified slot |
| DurabilityPointsLoss | Sets durability loss for the specified Item |
| DurabilityPointsLossAll | Sets durability loss on all Items equipped |
| DurabilityRepair | Repairs Item at specified position. |
| DurabilityRepairAll | Repairs all Items. |
| EnvironmentalDamage | Applies environmental damage to the Player. |
| EquipItem | Equips the given item or item entry to the given slot. Returns the equipped item or nil. |
| FailQuest | Sets the given Quest entry failed for the Player. |
| GetAccountId | Returns the Players account ID |
| GetAccountName | Returns the Players account name |
| GetAchievementCriteriaProgress | Returns the progress of the Player for the specified achievement criteria. |
| GetAchievementPoints | Returns the Players current amount of Achievement Points |
| GetActiveSpec | Returns the Players active spec ID |
| GetAmmoDPS | Returns the Player's ammo DPS. |
| GetArenaPoints | Returns the Players current amount of Arena Points |
| GetArmorProficiency | Returns the Player's armor proficiency flags. |
| GetAverageItemLevel | Returns the average item level of the Player's equipment. |
| GetBankFreeSlots | Returns the number of free slots in the Player's bank (main bank and bank bags). |
| GetBankItem | Returns an item from the Player's bank by slot. |
| GetBarberShopCost | Returns the barber shop cost for the specified style changes. |
| GetBaseSkillValue | Returns base skill value |
| GetBattlegroundId | Returns the Players current BattleGround ID |
| GetBattlegroundTypeId | Returns the Players current BattleGround type ID |
| GetBonusTalentCount | Get bonus talents count from the Player |
| GetChampioningFaction | Returns the faction ID the Player is currently flagged as champion for |
| GetChatTag | Returns active GM chat tag |
| GetCoinage | Returns the Players amount of money in copper |
| GetComboPoints | Returns Player's combo points |
| GetComboTarget | Returns Unit target combo points are on |
| GetCompletedAchievementsCount | Returns the Players current amount of Achievements Completed |
| GetCompletedQuestsCount | Returns the Players completed quest count |
| GetCorpse | Returns the Players Corpse object |
| GetCreationTime | Returns the Player's character creation time. |
| GetDbLocaleIndex | Returns the Players database locale index |
| GetDbcLocale | Returns the Players game client locale |
| GetDifficulty | Returns raid or dungeon difficulty |
| GetDodgeFromAgility | Returns the Player's dodge chance from agility. |
| GetDrunkValue | Returns the Players current level of intoxication |
| GetEquippedItemBySlot | Returns a Players Item object by gear slot specified |
| GetFreeTalentPoints | Returns the Players free talent point amount |
| GetGMRank | Returns the Players GM Rank |
| GetGlyph | Returns the glyph ID in the specified glyph slot of the Player's current talent specialization. |
| GetGossipTextId | Returns the database textID of the WorldObject's gossip header text for the Player |
| GetGroup | Returns the Players Group object |
| GetGroupInvite | Returns Group invitation |
| GetGuild | Returns the Players Guild object |
| GetGuildId | Returns the Players current Guild ID |
| GetGuildName | Returns the name of the Players current Guild |
| GetGuildRank | Returns the Players current guild rank |
| GetHealthBonusFromStamina | Returns health bonus from amount of stamina |
| GetHomebind | Returns the Player homebind location. |
| GetHonorPoints | Returns the Players current amount of Honor Points |
| GetInGameTime | Returns the amount of time the Player has spent ingame |
| GetInventoryFreeSlots | Returns the number of free slots in the Player's inventory (backpack and equipped bags). |
| GetInventoryItem | Returns an item from the Player's inventory by slot. |
| GetItemByEntry | Returns an Item from the player by entry. |
| GetItemByGUID | Returns an Item from the player by guid. |
| GetItemByPos | Returns an item in given bag on given slot. |
| GetItemCount | Returns amount of the specified Item the Player has. |
| GetKnownTaxiNodes | Returns known taxi nodes (flight paths) that the player has unlocked. |
| GetLastPetNumber | Returns the last pet number for the Player. |
| GetLastPetSpell | Returns the spell ID of the Player's last Pet summoning spell. |
| GetLatency | Returns the Players current latency in MS |
| GetLevelPlayedTime | Returns the Players time played at current level |
| GetLifetimeKills | Returns the Players lifetime Honorable Kills |
| GetMailCount | Returns the amount of mails in the player's mailbox. |
| GetMailItem | Returns a mailed Item by guid. |
| GetManaBonusFromIntellect | Returns mana bonus from amount of intellect |
| GetMaxSkillValue | Returns max value of specified skill |
| GetMeleeCritFromAgility | Returns the Player's melee critical hit chance from agility. |
| GetMostPointsTalentTree | Returns the index of the talent tree the Player has spent the most points in for the active spec |
| GetNextRandomRaidMember | Returns a random Raid Member Player object within radius specified of Player |
| GetOriginalGroup | Returns Players original Group object |
| GetOriginalSubGroup | Returns Players original sub group |
| GetPet | Returns the Player's current Pet, if any. |
| GetPhaseMaskForSpawn | Returns the normal phase of the player instead of the actual phase possibly containing GM phase |
| GetPlayerIP | Returns the Players IP address |
| GetPlayerSettingValue | Gets a setting value for the Player |
| GetPureMaxSkillValue | Returns max value of specified skill without bonus' |
| GetPureSkillValue | Returns skill value without bonus' |
| GetQuestLevel | Returns the quest level of the Players Quest specified by object |
| GetQuestRewardStatus | Returns true if the Players Quest specified by entry ID has been rewarded, false otherwise. |
| GetQuestSlotQuestId | Returns the Quest ID for the quest in the specified quest log slot. |
| GetQuestStatus | Returns the status of the Players Quest specified by entry ID |
| GetReputation | Returns the amount of reputation the Player has with the faction specified |
| GetReputationRank | Returns the Players reputation rank of faction specified |
| GetReqKillOrCastCurrentCount | Returns Quest required Creature or GameObject count |
| GetRestBonus | Returns the Players current resting bonus |
| GetRunesState | Returns the Player's runes state for Death Knights. |
| GetSelection | Returns the Players currently selected Unit object |
| GetShield | Returns the Player's shield item. |
| GetShieldBlockValue | Returns the Players current shield block value |
| GetSightRange | Returns the sight range of the Player for the specified target. |
| GetSkillPermBonusValue | Returns skill permanent bonus value |
| GetSkillTempBonusValue | Returns skill temporary bonus value |
| GetSkillValue | Returns skill value |
| GetSpecsCount | Returns the amount of available specs the Player currently has |
| GetSpellCooldownDelay | Returns the Players cooldown delay by specified Spell ID |
| GetSpellCritFromIntellect | Returns the Player's spell critical hit chance from intellect. |
| GetSpells | Returns the Player spells list |
| GetSubGroup | Returns Players current sub group |
| GetTalentTreePoints | Returns the Players spent talent points in each talent tree for the active spec |
| GetTeam | Returns the Players [TeamId] |
| GetTemporaryUnsummonedPetNumber | Returns the temporary unsummoned pet number for the Player. |
| GetTodayHonorPoints | Returns the Players today Honor points. |
| GetTodayKills | Returns the Players today Honorable Kills |
| GetTotalPlayedTime | Returns the Players total time played |
| GetTrader | Returns the Player that is currently trading with this Player |
| GetViewpoint | Returns the Player's current viewpoint target. |
| GetWeaponProficiency | Returns the Player's weapon proficiency flags. |
| GetXP | Returns the Player's experience points |
| GetXPRestBonus | Returns rested experience bonus |
| GetYesterdayHonorPoints | Returns the Players yesterday Honor points. |
| GetYesterdayKills | Returns the Players yesterday Honorable Kills |
| GiveXP | Gives the Player experience |
| GossipAddQuests | Adds the gossip items to the Player's gossip for the quests the given WorldObject can offer to the player. |
| GossipClearMenu | Clears the Players current gossip item list. |
| GossipComplete | Closes the Players currently open Gossip Menu. |
| GossipMenuAddItem | Adds a new item to the gossip menu shown to the Player on next call to Player:GossipSendMenu. |
| GossipSendMenu | Sends the current gossip items of the player to him as a gossip menu with header text from the given textId. |
| GossipSendPOI | Sends POI to the location on your map |
| GroupCreate | Creates a new Group with the creator Player as leader. |
| GroupEventHappens | Completes a Quest if in a Group |
| GroupInvite | Makes the Player invite another player to a group. |
| HasAchieved | Returns true if the Player has completed the specified achievement, false otherwise. |
| HasAtLoginFlag | Returns true if Player has specified login flag |
| HasCasterSpec | Returns true if the Player has a Caster Specialization, false otherwise. |
| HasHealSpec | Returns true if the Player has a Heal Specialization, false otherwise. |
| HasItem | Returns true if the Player has the given amount of item entry specified, false otherwise. |
| HasKnownTaxiNode | Returns true if the Player knows the given taxi node, false otherwise. |
| HasMeleeSpec | Returns true if the Player has a Melee Specialization, false otherwise. |
| HasQuest | Returns true if the Player has an active Quest by specific ID, false otherwise. |
| HasQuestForGO | Returns true if Player has Quest for GameObject |
| HasQuestForItem | Returns true if the Player has a quest for the item entry specified, false otherwise. |
| HasSkill | Returns true if the Player has a skill by specific ID, false otherwise. |
| HasSpell | Returns true if the Player has a Spell by specific ID, false otherwise. |
| HasSpellCooldown | Returns true if the Spell specified by ID is currently on cooldown for the Player, false otherwise. |
| HasTalent | Returns true if the Player has a talent by ID in specified spec, false otherwise. |
| HasTankSpec | Returns true if the Player has a Tank Specialization, false otherwise. |
| HasTitle | Returns true if the Player has a title by specific ID, false otherwise. |
| HasTitleByIndex | Returns true if the Player has a title by bit index, false otherwise. |
| InArena | Returns true if the Player is currently in an arena, false otherwise. |
| InBattleground | Returns true if the Player is currently in a BattleGround, false otherwise. |
| InBattlegroundQueue | Returns true if the Player is currently in a BattleGround queue, false otherwise. |
| InRandomLfgDungeon | Returns true if the Player is in a random LFG dungeon, false otherwise. |
| IncompleteQuest | Sets the given quest entry incomplete for the Player. |
| InitTaxiNodesForLevel | Initializes taxi nodes for the Player's current level. |
| IsAFK | Returns true if the Player is 'Away From Keyboard' flagged, false otherwise. |
| IsAcceptingWhispers | Returns true if the Player is accepting whispers, false otherwise. |
| IsAlliance | Returns true if the Player is a part of the Alliance faction, false otherwise. |
| IsAtGroupRewardDistance | Returns true if the Player is at group reward distance from the target, false otherwise. |
| IsAtLootRewardDistance | Returns true if the Player is at loot reward distance from the target, false otherwise. |
| IsBot | Returns true if the Player is a Playerbot/RNDBot, false otherwise. |
| IsDND | Returns true if the Player is 'Do Not Disturb' flagged, false otherwise. |
| IsDailyQuestDone | Returns true if the Player has completed the daily quest, false otherwise. |
| IsExistPet | Returns true if the Player has a Pet (active or stored) and returns false otherwise. |
| IsFFAPvP | Returns true if the Player is flagged for Free-for-all PvP, false otherwise. |
| IsFalling | Returns true if the Player is currently falling, false otherwise. |
| IsFlying | Returns true if the Player is currently flying, false otherwise. |
| IsGM | Returns true if the Player is a Game Master, false otherwise. |
| IsGMChat | Returns true if the Player has GM chat enabled, false otherwise. |
| IsGMVisible | Returns true if the Player is currently visible to other players, false if hidden via GM invisibility. |
| IsGroupVisibleFor | Returns true if the Player is in the same group and visible to the specified Player, false otherwise. |
| IsHonorOrXPTarget | Returns true if the Player is eligible for Honor or XP gain by Unit specified, false otherwise. |
| IsHorde | Returns true if the Player is a part of the Horde faction, false otherwise. |
| IsImmuneToDamage | Returns true if the Player is immune to everything. |
| IsInArenaTeam | Returns true if the Player is in an arena team specified by type, false otherwise. |
| IsInGroup | Returns true if the Player is in a Group, false otherwise. |
| IsInGuild | Returns true if the Player is in a Guild, false otherwise. |
| IsInSameGroupWith | Returns true if the Player is currently in the same Group as another Player by object, false otherwise. |
| IsInSameRaidWith | Returns true if the Player is currently in the same raid as another Player by object, false otherwise. |
| IsInWater | Returns true if the Player is currently in water, false otherwise. |
| IsMaxLevel | Returns true if the Player is at maximum level, false otherwise. |
| IsMoving | Returns true if the Player is currently moving, false otherwise. |
| IsPetNeedBeTemporaryUnsummoned | Returns true if the Player needs to temporarily unsummon their Pet, and false otherwise. |
| IsPvP | Returns true if the Player is flagged for PvP, false otherwise. |
| IsRested | Returns true if the Player is currently rested, false otherwise. |
| IsSpectator | Returns true if the Player is a spectator, false otherwise. |
| IsTaxiCheater | Returns true if the Player has taxi cheat activated, false otherwise. |
| IsUsingLfg | Returns true if the Player is using the Looking for Group system, false otherwise. |
| IsVisibleForPlayer | Returns true if the Player can see anoter Player specified by object, false otherwise. |
| KickPlayer | Kicks the Player from the server |
| KillPlayer | Kills the Player |
| KilledMonsterCredit | Gives Quest monster killed credit |
| LearnPetTalent | Learns a pet talent for the specified Pet of the Player. |
| LearnSpell | Teaches the Player the Spell specified by entry ID |
| LearnTalent | Learn the Player the talent specified by talent_id and talentRank |
| LeaveBattleground | Forces the Player to leave a BattleGround |
| LogoutPlayer | Forces the Player to log out |
| ModifyArenaPoints | Adds or detracts from the Players current Arena Points |
| ModifyHonorPoints | Adds or detracts from the Players current Honor Points |
| ModifyMoney | Adds or subtracts from the Players money in copper |
| Mute | Mutes the Player for the amount of seconds specified |
| RemoveAmmo | Removes the Player's ammo. |
| RemoveArenaSpellCooldowns | Remove cooldowns on spells that have less than 10 minutes of cooldown from the Player, similarly to when you enter an arena. |
| RemoveBonusTalent | Remove bonus talents count to the Player |
| RemoveFromBattlegroundRaid | Forcefully removes the Player from a BattleGround raid group |
| RemoveFromGroup | Forces the Player to leave a Group |
| RemoveItem | Removes the given amount of the specified Item from the player. |
| RemoveLifetimeKills | Removes specified amount of lifetime kills |
| RemovePet | Removes the specified Pet from the Player. |
| RemovePlayerFlag | Removes the specified player flag from the Player. |
| RemoveQuest | Removes the given quest entry from the Player. |
| RemoveSpell | Removes the Spell from the Player |
| RemovedInsignia | Loots Player's bones for insignia |
| RepopAtGraveyard | Teleports the Player to the most appropriate graveyard. |
| ResetAchievements | Reset the Players completed achievements |
| ResetAllCooldowns | Resets all of the Player's cooldowns |
| ResetPetTalents | Resets the Player's pet talents. |
| ResetSpellCooldown | Resets cooldown of the specified spell |
| ResetTalents | Resets the Players talents |
| ResetTalentsCost | Returns the Players accumulated talent reset cost |
| ResetTypeCooldowns | Resets cooldown of the specified category |
| ResummonPetTemporaryUnSummonedIfAny | Resummons the Player's pet if it was temporarily unsummoned. |
| ResurrectPlayer | Resurrects the Player. |
| RewardQuest | Rewards the given quest entry for the Player if he has completed it. |
| RunCommand | Run a chat command as if the player typed it into the chat |
| SaveToDB | Saves the Player to the database |
| Say | Sends say text from the Player |
| SendAddonMessage | Sends addon message to the Player receiver |
| SendAreaTriggerMessage | Sends an Area Trigger Message to the Player |
| SendAuctionMenu | Sends an auction house window to the Player from the Unit specified |
| SendBroadcastMessage | Sends a Broadcast Message to the Player |
| SendCinematicStart | Starts a cinematic for the Player |
| SendGuildInvite | Sends a guild invitation from the Players Guild to the Player object specified |
| SendListInventory | Sends a vendor window to the Player from the WorldObject specified. |
| SendMovieStart | Starts a movie for the Player |
| SendNotification | Sends a Notification to the Player |
| SendPacket | Sends a WorldPacket to the Player |
| SendQuestTemplate | Shows a quest accepting window to the Player for the given quest. |
| SendShowBank | Sends a bank window to the Player from the WorldObject specified. |
| SendShowMailBox | Shows the mailbox window to the player from specified guid. |
| SendSpiritResurrect | Sends a spirit resurrection request to the Player |
| SendTabardVendorActivate | Sends a tabard vendor window to the Player from the WorldObject specified |
| SendTaxiMenu | Sends a flightmaster window to the Player from the Creature specified |
| SendTrainerList | Sends a trainer window to the Player from the Creature specified |
| SendUpdateWorldState | Sends an update for the world state to the Player |
| SetAcceptWhispers | Toggles whether the Player accepts whispers or not |
| SetAchievement | Adds the specified achievement to the Players |
| SetAmmo | Sets the Player's ammo item. |
| SetArenaPoints | Sets the Players Arena Points to the amount specified |
| SetAtLoginFlag | Sets the Players login flag to the flag specified |
| SetBindPoint | Sets the Players home location to the location specified |
| SetBonusTalentCount | Set bonus talent count to a specific count for the Player |
| SetCanFly | Sets whether the Player can fly. |
| SetCanTeleport | Sets whether the Player can teleport. |
| SetCoinage | Sets the Players amount of money to copper specified |
| SetCreationTime | Sets the Player's character creation time. |
| SetDrunkValue | Sets the Players intoxication level to the level specified |
| SetFactionForRace | Sets the Players faction standing to that of the race specified |
| SetFreeTalentPoints | Sets the Players free talent points to the amount specified for the current spec |
| SetGMChat | Toggle Blizz (GM) tag |
| SetGMVisible | Toggles whether the Player has GM visibility on or off |
| SetGameMaster | Toggles the Players GM mode on or off |
| SetGender | Sets the Players gender to gender specified |
| SetGlyph | Adds a glyph specified by glyphId to the Player's current talent specialization into the slot with the index slotIndex |
| SetGuildRank | Sets the Players guild rank to the rank specified |
| SetHonorPoints | Sets the Players Honor Points to the amount specified |
| SetIsSpectator | Sets the Player as spectator. |
| SetKnownTaxiNodes | Sets the player's known taxi nodes (flight paths). |
| SetKnownTitle | Adds the specified title to the Players list of known titles |
| SetLastPetNumber | Sets the last pet number for the Player. |
| SetLastPetSpell | Sets the spell ID of the Player's last Pet summoning spell. |
| SetLifetimeKills | Sets the Players amount of Lifetime Honorable Kills to the value specified |
| SetPlayerFlag | Sets the specified player flag on the Player. |
| SetPlayerLock | Locks the player controls and disallows all movement and casting. |
| SetPvPDeath | Toggles PvP Death |
| SetQuestStatus | Sets Quest state |
| SetReputation | Sets the Players reputation amount for the faction specified |
| SetRestBonus | Sets the Players rest bonus to the amount specified |
| SetSheath | Sets the Players sheathe state to the state specified |
| SetShowDKPet | Sets whether the Player can see Death Knight Pets. |
| SetSkill | Sets (increases) skill of the Player |
| SetSpellPower | The Player sets the spell power |
| SetTaxiCheat | Toggles whether the Player has taxi cheat enabled or not |
| SetTemporaryUnsummonedPetNumber | Sets the temporary unsummoned pet number for the Player. |
| SetViewpoint | Sets the Player's viewpoint to the specified target. |
| SpawnBones | Converts Player's corpse to bones |
| StartTaxi | Attempts to start the taxi/flying to the given pathID |
| SummonPet | Summons a Pet at the specified location. |
| SummonPlayer | Sends a summon request to the player from the given summoner |
| TalkedToCreature | Gives Quest monster talked to credit |
| Teleport | Teleports a Player to the location specified |
| TeleportTo | Teleports Player to a predefined location based on the teleport name. |
| TextEmote | Sends a text emote from the Player |
| ToggleAFK | Toggle the Players 'Away From Keyboard' flag |
| ToggleDND | Toggle the Players 'Do Not Disturb' flag |
| ToggleInstantFlight | Toggles instant flight mode for the Player. |
| UnbindAllInstances | Unbinds the Player from his instances except the one he currently is in. |
| UnbindInstance | Unbinds the Player from his instances except the one he currently is in. |
| UnsetKnownTitle | Removes a title by ID from the Players list of known titles |
| UnsummonPetTemporarily | Temporarily unsummons the Player's current Pet. |
| UpdatePlayerSetting | Sets a setting value for the Player |
| Whisper | Sends whisper text from the Player |
| Yell | Sends yell text from the Player |