m
Move page script moved page API GetCompanionInfo to WoW:API GetCompanionInfo without leaving a redirect
m (→Examples) |
m (Move page script moved page API GetCompanionInfo to WoW:API GetCompanionInfo without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 52: | Line 52: | ||
* If called before the client updates the creature cache, GetCompanionInfo returns companions in the order in which they were learned by the current character (this can be observed during the first log-on after a patch or by removing the client's cache files). Once the cache is updated, however, it returns companions in alphabetical order; a COMPANION_UPDATE event is fired to notify of this update (however, multiple COMPANION_UPDATE events may be fired prior to the update as well). This was last verified in [[Patch 3.3.0a]]. | * If called before the client updates the creature cache, GetCompanionInfo returns companions in the order in which they were learned by the current character (this can be observed during the first log-on after a patch or by removing the client's cache files). Once the cache is updated, however, it returns companions in alphabetical order; a COMPANION_UPDATE event is fired to notify of this update (however, multiple COMPANION_UPDATE events may be fired prior to the update as well). This was last verified in [[Patch 3.3.0a]]. | ||
* This function was introduced in [[Patch 3.0]]. | * This function was introduced in [[Patch 3.0]]. | ||
;This command will be removed in the WoD 6.0 API and replaced with: | |||
:mountName, spellID, icon, active, mountFlags = '''C_MountJournal.GetMountInfo'''(index) | |||
:creatureID no longer is given at the beginning of the return list. | |||
:There are many new '''C_PetJournal''' functions and I am unable to document them at this time. | |||