Returns the version information about the client


See also Client control and information functions.

Signature:

version, internalVersion, date, uiVersion = GetBuildInfo()

Returns:

  • version - Display version number of the client (e.g. "3.1.1") (string)
  • internalVersion - Internal version number of the client (e.g. "9835") (string)
  • date - Date on which the client executable was built (e.g. "Apr 24 2009"); not necessarily the date it was released to the public (string)
  • uiVersion - Version compatibility number for UI purposes (e.g. 30100); generally, installed addons should have this number in the Interface header of their TOC files to avoid being marked as Out of Date and possibly not loaded (number)