Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
local Minimap =
|
||||
{
|
||||
Name = "Minimap",
|
||||
Type = "System",
|
||||
Namespace = "C_Minimap",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ClearAllTracking",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetNumTrackingTypes",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numTrackingTypes", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetObjectIconTextureCoords",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "textureCoordsX", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsY", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsZ", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsW", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPOITextureCoords",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "textureCoordsX", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsY", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsZ", Type = "number", Nilable = false },
|
||||
{ Name = "textureCoordsW", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTrackingInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "textureFileID", Type = "fileID", Nilable = false },
|
||||
{ Name = "active", Type = "bool", Nilable = false },
|
||||
{ Name = "type", Type = "cstring", Nilable = false },
|
||||
{ Name = "subType", Type = "number", Nilable = false },
|
||||
{ Name = "spellID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTracking",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "on", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "MinimapPing",
|
||||
Type = "Event",
|
||||
LiteralName = "MINIMAP_PING",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "unitTarget", Type = "UnitToken", Nilable = false },
|
||||
{ Name = "y", Type = "number", Nilable = false },
|
||||
{ Name = "x", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MinimapUpdateTracking",
|
||||
Type = "Event",
|
||||
LiteralName = "MINIMAP_UPDATE_TRACKING",
|
||||
},
|
||||
{
|
||||
Name = "MinimapUpdateZoom",
|
||||
Type = "Event",
|
||||
LiteralName = "MINIMAP_UPDATE_ZOOM",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "MinimapScriptTrackingFilter",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = true },
|
||||
{ Name = "filterID", Type = "MinimapTrackingFilter", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MinimapScriptTrackingInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "textureFileID", Type = "fileID", Nilable = false },
|
||||
{ Name = "active", Type = "bool", Nilable = false },
|
||||
{ Name = "type", Type = "cstring", Nilable = false },
|
||||
{ Name = "subType", Type = "number", Nilable = false },
|
||||
{ Name = "spellID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Minimap);
|
||||
Reference in New Issue
Block a user