View Single Post
06-19-16, 09:17 AM   #1
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 26
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