WoW:API QuestMapGetPOIInfoForQuest: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} __NOTOC__ {{Stub/API}} Returns details about a point of interest on the map (see also QuestMapGetQuestName(index) and [[API QuestMapUpda...')
 
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
{{Stub/API}}
Returns details about a point of interest on the map.


Returns details about a point of interest on the map (see also [[API QuestMapGetQuestName|QuestMapGetQuestName(index)]] and  [[API QuestMapUpdateQuest|QuestMapUpdateQuest(index)]])
  local mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex)  
 
  mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex)  


== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
:;questIndex : Number - The quest log index for the quest of interest
* questIndex (number) - The quest log index for the quest of interest
:;poiIndex : Number - The idex of the Point of Interest on the map
* poiIndex (number) - The index of the Point of Interest on the map


=== Returns ===
=== Returns ===
:;mapID : Number? - This may be a number or GUID - not really sure
* mapID (number) - This may be a number or GUID - not really sure
:;x : Number - The X position on the map of the queried item
* x (number) - The X position on the map of the queried item
:;y : Number - The y position on the map of the queried item
* y (number) - The y position on the map of the queried item
:;icon : String? - Icon texture name? of the queried item
* icon (string) - Icon texture name? of the queried item
:;text : String - Text about the queried item
* text (string) - Text about the queried item
 
== Example ==


== Details ==
== Notes ==
This function was added in patch 3.2 (August, 2009)
* This function was added in patch 3.2 (August, 2009)


[[Category:World of Warcraft API]]
== See also ==
* [[API QuestMapGetQuestName|QuestMapGetQuestName(index)]]
* [[API QuestMapUpdateQuest|QuestMapUpdateQuest(index)]])

Revision as of 01:02, 11 February 2021

WoW API < QuestMapGetPOIInfoForQuest

Returns details about a point of interest on the map.

local mapID, x, y, icon, text = QuestMapGetPOIInfoForQuest(questIndex, poiIndex) 

Parameters

Arguments

  • questIndex (number) - The quest log index for the quest of interest
  • poiIndex (number) - The index of the Point of Interest on the map

Returns

  • mapID (number) - This may be a number or GUID - not really sure
  • x (number) - The X position on the map of the queried item
  • y (number) - The y position on the map of the queried item
  • icon (string) - Icon texture name? of the queried item
  • text (string) - Text about the queried item

Notes

  • This function was added in patch 3.2 (August, 2009)

See also