Method Global:GetItemLink [-] [+]

Returns an chat link for an Item.

enum LocaleConstant
{
    LOCALE_enUS = 0,
    LOCALE_koKR = 1,
    LOCALE_frFR = 2,
    LOCALE_deDE = 3,
    LOCALE_zhCN = 4,
    LOCALE_zhTW = 5,
    LOCALE_esES = 6,
    LOCALE_esMX = 7,
    LOCALE_ruRU = 8
};

Synopsis

itemLink = GetItemLink( entry )

itemLink = GetItemLink( entry, locale )

Arguments

number entry

Entry ID of an Item.

Valid numbers: integers from 0 to 4,294,967,295.

LocaleConstant locale (DEFAULT_LOCALE)

Locale to return the Item name in.

Returns

string itemLink
See method description.

Generated on 11/04/2018
©2016 - Eluna Lua Engine