Addon Details
Expansion
Categories
Developers
Having issues?
Lib-Scenarios is a library which can help to get scenario name, step name, and step description with specified language.
By default it will return user's language, but one can toggle to show the specified language.
Functions
--[[ To get the scenario name by given the scenario ID ]] loc_scenario_name = lib:GetScenarioNameByID(scID, lang) --[[ To get the scenario step-name by given the scenario ID and step ID ]] loc_scenario_stepname = lib:GetScenarioStepNameByID(scID, stID, lang) --[[ To get the scenario step-description by given the scenario ID and step ID ]] loc_scenario_stepDescription = lib:GetScenarioStepDescByID(scID, stID, lang)
--[[
To get the number of steps from specified scenario
]]
num_scenarioSteps = lib:GetNumberScenarioSteps(scID)
--[[
To get the scenario step ID of specified scenario-step
]]
scenariop_stepID = lib:GetScenarioStepID(scID, stID)
--[[
To get the scenario step's criteria-tree ID of specified scenario-step
]]
scenario_step_criteriaID = lib:GetScenarioStepCriteriaTreeID(scID, stID)
Sample of function calls
local lib = LibStub:GetLibrary("Lib-Scenarios"); local sName, stpName, stpDesc; sName = lib:GetScenarioNameByID(53); stpName = lib:GetScenarioStepNameByID(53, 1); stpDesc = lib:GetScenarioStepDescByID(53, 1);
Comments (0)
More addons for Legion
Discover other addons that might interest you
Keystone Roll-Call
Accumulates, displays, and reports all known keystones for the week, automatically compiled from guild, party,…
BankStack
From bags we came, to bank we return
BigWigs_AutoReply2
3rd party module for BigWigs that replicates the auto reply functionality found in Deadly Boss…
HandyNotes: Well Read
HandyNotes plugin — Shows the books you still need to read for the Well Read…
TellMeWhen
Provides visual, auditory, and textual notifications about cooldowns, buffs, and pretty much every other element…
WoWLevelBuddy
Congratulates you for levelling up and also tells you what you got from levelling up.
Lei Shen Coordinator
Making Lei Shen conduits easier
Titan Panel [Mail]
A Titan Plugin to let you know you have mail. Also remembers any Auction alerts.
You must be logged in to leave a comment.