WoW:API GetContainerItemLink: Difference between revisions

m
No edit summary
Line 21: Line 21:
:ItemLink
:ItemLink


:;ItemLink : Returns the ItemLink (The item link is the link when you shift-click an item while the chat edit box is visible). Returns nil if the slot of the specified bag is empty. Example link returned: '''|Hitem:6948:0:0:0|H[Hearthstone]|H''' . To use this link in other functions that require an "itemlink", you have to strip out the extra chat link information.  Ex: '''item:6948:0:0:0'''
:;ItemLink : Returns the ItemLink (The item link is the link when you shift-click an item while the chat edit box is visible). Returns nil if the slot of the specified bag is empty. Example link returned: '''|Hitem:6948:0:0:0:0:0:0|h[Hearthstone]|h''' . To use this link in other functions that require an "itemlink", you have to strip out the extra chat link information.  Ex: '''item:6948:0:0:0:0:0:0'''


== Example ==
== Example ==
Anonymous user