WoW:API GetMapLandmarkInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(→‎Returns: Formatting)
Line 17: Line 17:


<onlyinclude>=== Landmarks ===
<onlyinclude>=== Landmarks ===
{| cellpadding="0" cellspacing="0"
[[Image:POIIcons.png|center|frame|POIIcons.blp, ''Landmarks for [[API GetMapLandmarkInfo]].'']]
|-
|align="center" colspan="5" valign="top" width="80%"|
''Landmarks for [[API GetMapLandmarkInfo]].''


;[[Image:POIIcons.png|center|frame|POIIcons.blp]]
{{col-begin}}
|-
{{col-5}}
|valign="top" width="20%"|
* 0 [[File:IconSmall POI0.png]] - 16x16 <br/><span style="font-size:x-small;">Invisible</span>
* 0 [[File:IconSmall POI0.png]] - 16x16 <br/><span style="font-size:x-small;">Invisible</span>
* 1 [[File:IconSmall POI1.png]] - 16x16 <br/><span style="font-size:x-small;">Mine</span>
* 1 [[File:IconSmall POI1.png]] - 16x16 <br/><span style="font-size:x-small;">Mine</span>
Line 56: Line 52:
* 29 [[File:IconSmall POI29.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde assaulted</span>
* 29 [[File:IconSmall POI29.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde assaulted</span>
* 30 [[File:IconSmall POI30.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde</span>
* 30 [[File:IconSmall POI30.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde</span>
|valign="top" width="20%"|
{{col-5}}
* 31 [[File:IconSmall POI31.png]] - 16x16 <br/><span style="font-size:x-small;">Farm</span>
* 31 [[File:IconSmall POI31.png]] - 16x16 <br/><span style="font-size:x-small;">Farm</span>
* 32 [[File:IconSmall POI32.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Alliance assaulted</span>
* 32 [[File:IconSmall POI32.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Alliance assaulted</span>
Line 88: Line 84:
* 60 [[File:IconSmall POI60.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde damaged</span>
* 60 [[File:IconSmall POI60.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde damaged</span>
* 61 [[File:IconSmall POI61.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde destroyed</span>
* 61 [[File:IconSmall POI61.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde destroyed</span>
|valign="top" width="20%"|
{{col-5}}
* 62 [[File:IconSmall POI62.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance</span>
* 62 [[File:IconSmall POI62.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance</span>
* 63 [[File:IconSmall POI63.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance damaged</span>
* 63 [[File:IconSmall POI63.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance damaged</span>
Line 120: Line 116:
* 91 [[File:IconSmall POI91.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance horizontal destroyed</span>
* 91 [[File:IconSmall POI91.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance horizontal destroyed</span>
* 92 [[File:IconSmall POI92.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical</span>
* 92 [[File:IconSmall POI92.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical</span>
|valign="top" width="20%"|
{{col-5}}
* 93 [[File:IconSmall POI93.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical damaged</span>
* 93 [[File:IconSmall POI93.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical damaged</span>
* 94 [[File:IconSmall POI94.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical destroyed</span>
* 94 [[File:IconSmall POI94.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical destroyed</span>
Line 152: Line 148:
* 122 [[File:IconSmall POI122.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde</span>
* 122 [[File:IconSmall POI122.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde</span>
* 123 [[File:IconSmall POI123.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde damaged</span>
* 123 [[File:IconSmall POI123.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde damaged</span>
|valign="top" width="20%"|
{{col-5}}
* 124 [[File:IconSmall POI124.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde destroyed</span>
* 124 [[File:IconSmall POI124.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde destroyed</span>
* 125 [[File:IconSmall POI125.png]] - 16x16 <br/><span style="font-size:x-small;">?, Alliance</span>
* 125 [[File:IconSmall POI125.png]] - 16x16 <br/><span style="font-size:x-small;">?, Alliance</span>
Line 184: Line 180:
* 153 [[File:IconSmall POI153.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde</span>
* 153 [[File:IconSmall POI153.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde</span>
* 154 [[File:IconSmall POI154.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde assaulted</span>
* 154 [[File:IconSmall POI154.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde assaulted</span>
|}</onlyinclude>  
{{col-end}}</onlyinclude>


[[ru:API GetMapLandmarkInfo]]
[[ru:API GetMapLandmarkInfo]]

Revision as of 18:41, 10 October 2009

WoW API < GetMapLandmarkInfo

Returns the information about a landmark on the current world map.

name, description, textureIndex, x, y = GetMapLandmarkInfo(landmarkIndex);

Note that 3.0.2 added more icons (102 now), doubled the size of the POIIcons.blp texture to 256x256 and moved the invisible texture from index 15 to 0.

Parameters

Arguments

landmarkIndex
Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks())

Returns

name
String - The name of the landmark
description
String - A description of the landmark. In Battlegrounds this can dynamic information such as which faction controls the landmark.
textureIndex
Number - An index representing which landmark icon to display. These icons are in Interface\Minimap\POIIcons.blp, in an 16x16 grid (each icon is 16x16). Values are listed in the Landmarks section, below:
x
Number - The X location of the landmark's center (A proportion of the current map's width, between 0 and 1)
y
Number - The Y location of the landmark's center (A proportion of the current map's height, between 0 and 1)

Landmarks

POIIcons.blp, Landmarks for API GetMapLandmarkInfo.

Template:Col-begin Template:Col-5

Template:Col-5

Template:Col-5

Template:Col-5

Template:Col-5

Template:Col-end

ru:API GetMapLandmarkInfo