Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Get a list of active follower missions.
table = C_Garrison.GetInProgressMissions(garrFollowerTypeID)
Arguments[]
- garrFollowerTypeID
- Number: 1 (Garrison), 2 (Shipyard), 4 (Legion), 22 (Battle for Azeroth), 123 (Shadowlands). Can also use Enum.GarrisonFollowerType.
Returns[]
A table containing a list of active missions.
Example[]
C_Garrison.GetInProgressMissions(Enum.GarrisonFollowerType.FollowerType_9_0)
{
[1] = {
areaID = 11510,
basecost = 50,
canStart = false,
completed = false,
cost = 50,
costCurrencyTypesID = 1813,
description = "Дейфир обуздал свою гордыню и обрел союзников в борьбе. Желаю тебе удачи.",
duration = "14h",
durationSeconds = 50400,
followers = { ... },
followerTypeID = 123,
hasBonusEffect = false,
iLevel = 800,
inProgress = true,
isMaxLevel = true,
isRare = false,
isTutorialMission = false,
isZoneSupport = false,
level = 60,
location = "Ardenweald",
locTextureKit = "GarrMissionLocation-Ardenweald",
mapPosX = 0,
mapPosY = 0,
missionEndTime = 1616376750,
missionID = 2190,
missionScalar = 47,
name = "Дейфир возвращается",
numFollowers = 5,
offeredGarrMissionTextureID = 0,
overmaxRewards = { ... },
overmaxSucceeded = false,
requiredChampionCount = 1,
requiredSuccessChance = 0,
rewards = { ... },
timeLeft = "0s",
timeLeftSeconds = 0,
type = "9.0 Encounter - Ardenweald",
typeAtlas = "ShipMissionIcon-Legendary-Map",
xp = 1200,
}, -- [1]
...
}