add known issue
(Clarify spell ID return value) |
(add known issue) |
||
| Line 23: | Line 23: | ||
:;icon: String - The texture of the icon for the companion. | :;icon: String - The texture of the icon for the companion. | ||
:;issummoned: integer - 1 if the companion is summoned, nil if it's not | :;issummoned: integer - 1 if the companion is summoned, nil if it's not | ||
== Known Issues == | |||
If called early in the loading process, before [[Events/Companion|COMPANION_UPDATE]] fires, GetCompanionInfo returns companions in the order that they were learned by the current character. After COMPANION_UPDATE has fired at least once, GetCompanionInfo returns companions in alphabetical order. This information is accurate as of WoW 3.1.2. | |||
== Example == | == Example == | ||
| Line 39: | Line 43: | ||
7553 Great Horned Owl 10707 Interface\Icons\Ability_EyeOfTheOwl nil | 7553 Great Horned Owl 10707 Interface\Icons\Ability_EyeOfTheOwl nil | ||
<!-- end code --> | <!-- end code --> | ||
[[Category:World of Warcraft API]] | [[Category:World of Warcraft API]] | ||