12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 28 ■ API Categories 1095SwapRaidSubgroup—Swaps two raid members between subgroups in theraidUninviteUnit—Removes a character from the player’s party or raidUnitInRaid—Returns whether a unit is in the player’s raidUnitIsPartyLeader—Returns whether a unit is the leader <strong>of</strong> the player’spartyUnitIsRaidOfficer—Returns whether a unit is a raid assistant in the player’sraidUnitPlayerOrPetInRaid—Returns whether a unit is in the player’s raid orbelongs to a raid memberUnitTargetsVehicleInRaidUI—Returns whether attempts to target a unitshould target its vehicleRecruit-a-friend FunctionsAcceptLevelGrant—Accepts a level <strong>of</strong>fered by the player’s Recruit-a-FriendpartnerCanGrantLevel—Returns whether the player can give levels to a Recruita-FriendpartnerCanSummonFriend—Returns whether a unit can be summoned via Recruita-FriendDeclineLevelGrant—Refuses a level <strong>of</strong>fered by the player’s Recruit-a-FriendpartnerGetSummonFriendCooldown—Returns cooldown in<strong>for</strong>mation about theplayer’s Summon Friend abilityGrantLevel—Grants a level to the player’s Recruit-a-Friend partnerIsReferAFriendLinked—Returns whether a unit’s account is linked to theplayer’s via the Recruit-a-Friend programSummonFriend—Summons a unit whose account is linked to the player’s viathe Recruit-a-Friend programSecure Execution Utility FunctionsInCombatLockdown—Returns whether the user interface is protected due tocombat<strong>for</strong>ceinsecure—Causes the current execution path to continue outside thesecure environmenthooksecurefunc—Add a function to be called after execution <strong>of</strong> a securefunction

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!