API GetNumTitles

Gets the highest number in the Title index (186 as of Patch 4.1).

Bug in Patch 4.1: The actual highest number in the Title index in Patch 4.1 is actually 187 (" Deathwing's Bane"), eventhough GetNumTitles returns 186.

Arguments

 * none

Returns

 * TitleId
 * Number - The last number in the TitleId index.

Example
local i = GetNumTitles print(i)