WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   C_MountJournal changes (https://www.wowinterface.com/forums/showthread.php?t=53735)

Kharthus 06-19-16 09:17 AM

C_MountJournal changes
 
Some C_MountJournal functions were changed:

GetMountInfo -> GetMountInfoByID
GetMountInfoExtra -> GetMountInfoExtraByID
Summon -> SummonByID

The old functions took the mount index as an argument, the new functions use the mountID. They work regardless of filter settings in the mount journal.

A few new functions:

GetDisplayedMountInfo - New, takes an index like the original function, but only works on unfiltered mounts shown in the journal.
GetDisplayedMountInfoExtra - New, takes an index like the original function, but only works on unfiltered mounts shown in the journal.
GetMountIDs - New, returns a table of all the mount IDs.
GetNumDisplayedMounts - New, returns the count of all unfiltered mounts shown in the journal.

And new fanfare and search functions:

GetNumMountsNeedingFanfare - New
IsSourceChecked - New
NeedsFanfare - New
SetAllSourceFilters - New
SetSearch - New
SetSourceFilter - New


All times are GMT -6. The time now is 07:18 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI