local TaxiMap = { Name = "TaxiMap", Type = "System", Namespace = "C_TaxiMap", Environment = "All", Functions = { { Name = "GetAllTaxiNodes", Type = "Function", SecretArguments = "AllowedWhenUntainted", Documentation = { "Returns information on taxi nodes at the current flight master." }, Arguments = { { Name = "uiMapID", Type = "number", Nilable = false }, }, Returns = { { Name = "taxiNodes", Type = "table", InnerType = "TaxiNodeInfo", Nilable = false }, }, }, { Name = "GetTaxiNodesForMap", Type = "Function", SecretArguments = "AllowedWhenUntainted", Documentation = { "Returns information on taxi nodes for a given map, without considering the current flight master." }, Arguments = { { Name = "uiMapID", Type = "number", Nilable = false }, }, Returns = { { Name = "mapTaxiNodes", Type = "table", InnerType = "MapTaxiNodeInfo", Nilable = false }, }, }, { Name = "ShouldMapShowTaxiNodes", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "uiMapID", Type = "number", Nilable = false }, }, Returns = { { Name = "shouldShowNodes", Type = "bool", Nilable = false }, }, }, }, Events = { { Name = "TaxiNodeStatusChanged", Type = "Event", LiteralName = "TAXI_NODE_STATUS_CHANGED", SynchronousEvent = true, }, { Name = "TaximapClosed", Type = "Event", LiteralName = "TAXIMAP_CLOSED", SynchronousEvent = true, }, { Name = "TaximapOpened", Type = "Event", LiteralName = "TAXIMAP_OPENED", SynchronousEvent = true, Payload = { { Name = "system", Type = "number", Nilable = false }, }, }, }, Tables = { { Name = "FlightPathFaction", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "Neutral", Type = "FlightPathFaction", EnumValue = 0 }, { Name = "Horde", Type = "FlightPathFaction", EnumValue = 1 }, { Name = "Alliance", Type = "FlightPathFaction", EnumValue = 2 }, }, }, { Name = "FlightPathState", Type = "Enumeration", NumValues = 3, MinValue = 0, MaxValue = 2, Fields = { { Name = "Current", Type = "FlightPathState", EnumValue = 0 }, { Name = "Reachable", Type = "FlightPathState", EnumValue = 1 }, { Name = "Unreachable", Type = "FlightPathState", EnumValue = 2 }, }, }, { Name = "MapTaxiNodeInfo", Type = "Structure", Fields = { { Name = "nodeID", Type = "number", Nilable = false }, { Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false }, { Name = "name", Type = "cstring", Nilable = false }, { Name = "atlasName", Type = "cstring", Nilable = false }, { Name = "faction", Type = "FlightPathFaction", Nilable = false }, { Name = "textureKit", Type = "textureKit", Nilable = false }, { Name = "isUndiscovered", Type = "bool", Nilable = false }, }, }, { Name = "TaxiNodeInfo", Type = "Structure", Fields = { { Name = "nodeID", Type = "number", Nilable = false }, { Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false }, { Name = "name", Type = "cstring", Nilable = false }, { Name = "state", Type = "FlightPathState", Nilable = false }, { Name = "slotIndex", Type = "luaIndex", Nilable = false }, { Name = "textureKit", Type = "textureKit", Nilable = false }, { Name = "useSpecialIcon", Type = "bool", Nilable = false }, { Name = "specialIconCostString", Type = "string", Nilable = true }, { Name = "isMapLayerTransition", Type = "bool", Nilable = false }, }, }, }, Predicates = { }, }; APIDocumentation:AddDocumentationTable(TaxiMap);