WoW Lib-Scenarios addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon Lib-Scenarios

Lib-Scenarios

Game Version: 7.3.5
Total Downloads: 2,170
Updated: Apr 24, 2018
Created: Aug 29, 2016
download Lib-ScenariosDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
7.3-release2 release 557.07 KB Apr 24, 2018 7.3.5 423 download Lib-Scenarios 7.3-release2 releaseDownload
7.3-release1 release 556.39 KB Aug 30, 2017 7.3.0 260 download Lib-Scenarios 7.3-release1 releaseDownload
7.2-release3 release 556.42 KB Mar 26, 2017 7.2.0 289 download Lib-Scenarios 7.2-release3 releaseDownload
7.2-release2 release 556.48 KB Mar 26, 2017 7.1.5 21 download Lib-Scenarios 7.2-release2 releaseDownload
7.2-release2 release 556.48 KB Mar 20, 2017 7.1.5 132 download Lib-Scenarios 7.2-release2 releaseDownload
7.2-release1 release 592.62 KB Mar 20, 2017 7.1.5 16 download Lib-Scenarios 7.2-release1 releaseDownload
7.2-release1 release 592.62 KB Mar 16, 2017 7.1.5 108 download Lib-Scenarios 7.2-release1 releaseDownload
7.1-release1 release 512.77 KB Oct 27, 2016 7.1.0 424 download Lib-Scenarios 7.1-release1 releaseDownload
7.0-release2 release 512.95 KB Aug 31, 2016 7.0.3 243 download Lib-Scenarios 7.0-release2 releaseDownload
7.0-release1 release 512.72 KB Aug 29, 2016 7.0.3 70 download Lib-Scenarios 7.0-release1 releaseDownload
r19-alpha alpha 561.78 KB Oct 26, 2020 7.3.5 25 download Lib-Scenarios r19-alpha alphaDownload
r17-alpha alpha 557.07 KB Apr 24, 2018 7.3.5 17 download Lib-Scenarios r17-alpha alphaDownload
r16-alpha alpha 556.31 KB Apr 24, 2018 7.3.5 14 download Lib-Scenarios r16-alpha alphaDownload
r14-alpha alpha 556.12 KB Aug 30, 2017 7.3.0 11 download Lib-Scenarios r14-alpha alphaDownload
r10-alpha alpha 556.16 KB Mar 26, 2017 7.2.0 26 download Lib-Scenarios r10-alpha alphaDownload
r8-alpha alpha 556.16 KB Mar 20, 2017 7.1.5 11 download Lib-Scenarios r8-alpha alphaDownload
r8-alpha alpha 592.33 KB Mar 16, 2017 7.1.5 14 download Lib-Scenarios r8-alpha alphaDownload
r6 alpha 512.71 KB Oct 27, 2016 7.1.0 12 download Lib-Scenarios r6 alphaDownload
r4 alpha 512.87 KB Aug 29, 2016 7.0.3 33 download Lib-Scenarios r4 alphaDownload
r2 alpha 512.66 KB Aug 29, 2016 7.0.3 21 download Lib-Scenarios r2 alphaDownload

Description

Share this:

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

Add a comment