RSS

Суббота, 21.12.2024, 15:10
Главная » WoW API » API Функции »

Юнит (Unit)

[ Добавить запись ]

В категории материалов: 147
Показано материалов: 1-50
Страницы: 1 2 3 »

Название Описание
IsIgnoredOrMuted Returns whether a unit can be heard due to ignored/muted status.
GetMuteStatus Returns whether a character is muted or silenced.
UnitUsingVehicle Returns whether a unit is using a vehicle.
UnitIsControlling Returns whether a unit is controlling another unit.
UnitUsingVehicle Returns whether a unit is using a vehicle.
UnitSpellHaste Returns the unit's spell haste as a percentage.
UnitSex Returns the gender of the given unit or player.
UnitSetRole Sets a unit's role in the group or raid.
UnitSelectionColor Returns a color indicating hostility and related status of a unit.
UnitReaction Returns the reaction of one unit with regards to another as a number.
UnitRace Returns the name of a unit's race.
UnitPowerType Returns the power type (energy, mana, rage) of the given unit.
UnitPowerMax Returns a unit's maximum mana, rage, energy or other power type.
UnitPower Returns a unit's current level of mana, rage, energy or other power type.
UnitPlayerOrPetInRaid Returns whether a unit is in the player's raid or belongs to a raid member.
UnitPlayerOrPetInParty Returns whether a unit is in the player's party or belongs to a party member.
UnitPlayerControlled Returns whether a unit is controlled by a player.
UnitPVPRank Returns a unit's PVP rank as a number.
UnitOnTaxi Returns whether a unit is currently riding a flight path (taxi)
UnitName Returns the name of a unit.
UnitManaMax This function is deprecated and should no longer be used.
UnitMana This function is deprecated and should no longer be used.
UnitLevel Returns a unit's level.
UnitIsVisible Returns whether a unit is in the player's area of interest.
UnitIsUnit Returns whether two unit references are to the same unit.
UnitIsTrivial Returns whether a unit is trivial at the player's level.
UnitIsTappedByPlayer Returns whether a unit is tapped by the player or the player's group.
UnitIsTappedByAllThreatList Returns whether a unit allows all players on its threat list to receive kill credit.
UnitIsTapped Returns whether a unit is tapped.
UnitIsSameServer Returns whether two units are from the same server.
UnitIsRaidOfficer Returns whether a unit is a raid assistant in the player's raid.
UnitIsPossessed Returns whether a unit is possessed by another.
UnitIsPlayer Returns whether a unit is a player unit (not an NPC)
UnitIsPartyLeader Returns whether a unit is the leader of the player's party.
UnitIsPVPSanctuary Returns whether a unit is in a Sanctuary area preventing PvP activity.
UnitIsPVPFreeForAll Returns whether a unit is flagged for free-for-all PvP.
UnitIsPVP Returns whether a unit is flagged for PvP activity.
UnitIsInMyGuild Returns whether a unit is in the player's guild.
UnitIsGhost Returns whether a unit is currently a ghost.
UnitIsFriend Returns whether two units are friendly.
UnitIsFeignDeath Returns whether a unit is feigning death.
UnitIsEnemy Returns whether two units are enemies.
UnitIsDeadOrGhost Returns whether a unit is either dead or a ghost.
UnitIsDead Returns whether a unit is dead.
UnitIsDND Returns whether a unit is marked DND (Do Not Disturb)
UnitIsCorpse Returns whether a unit is a corpse.
UnitIsControlling Returns whether a unit is controlling another unit.
UnitIsConnected Returns whether a unit is connected (i.e. not Offline)
UnitIsCharmed Returns whether a unit is currently charmed.
UnitIsAFK Returns whether a unit is marked AFK (Away From Keyboard)