-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from GovtGeek/vanilla-namespace
Vanilla namespace
- Loading branch information
Showing
3 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
if C_Container == nil then | ||
C_Container = {} | ||
----[[ | ||
-- Create an autoload function that will try to call the global namespace | ||
setmetatable(C_Container, {__index = function (t, funcname, args) return _G[funcname] end } ) | ||
--]] | ||
function C_Container.GetContainerItemInfo(bagIndex, slotIndex) | ||
icon, itemCount, locked, quality, readable, lootable, itemLink, isFiltered, noValue, itemID, isBound = GetContainerItemInfo(bagIndex, slotIndex) | ||
containerItemInfo = { | ||
["iconFileID"] = icon, | ||
["stackCount"] = itemCount, | ||
["isLocked"] = locked, | ||
["quality"] = quality, | ||
["isReadable"] = readable, | ||
["hasLoot"] = lootable, | ||
["hyperlink"] = itemLink, | ||
["isFiltered"] = isFiltered, | ||
["hasNoValue"] = noValue, | ||
["itemID"] = itemID, | ||
["isBound"] = isBound | ||
}; | ||
return containerItemInfo | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
if C_Minimap == nil then | ||
C_Minimap = {} | ||
setmetatable(C_Minimap, {__index = function (t, funcname, args) return _G[funcname] end } ) | ||
function C_Minimap.SetTracking(vIndex, pEnabled) | ||
-- pEnabled was sometimes set to 1 instead of true. This forces true/false | ||
return SetTracking(vIndex, pEnabled == true or pEnabled == 1) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
## Interface: 11403 | ||
## Author: Gogo, LemonDrake | ||
## X-Credits: Mundocani, Miv | ||
## Title: Outfitter | ||
## Version: 3.0.4 | ||
## Notes: Automate Gear Set Changes, and Build Gear Sets using Pawn Stat Weights | ||
## OptionalDeps: | ||
## RequiredDeps: | ||
## SavedVariablesPerCharacter: gOutfitter_Settings | ||
## SavedVariables: gOutfitter_GlobalSettings | ||
## X-ReloadTag: 2 | ||
## X-Curse-Project-ID: 356701 | ||
## X-Contributors: GovtGeek | ||
|
||
Libraries/UTF8/utf8data.lua | ||
Libraries/UTF8/utf8.lua | ||
|
||
Libraries/LibStub.lua | ||
Libraries/CallbackHandler-1.0.lua | ||
Libraries/LibDataBroker-1.1.lua | ||
Libraries/LibBabble-3.0.lua | ||
Libraries/LibBabble-SubZone-3.0.lua | ||
Libraries/LibBabble-Inventory-3.0.lua | ||
Libraries/LibTipHooker-1.1.lua | ||
Libraries/LibDropdown-1.0.lua | ||
|
||
OutfitterPrefix.lua | ||
|
||
Libraries/Vanilla-C_Container.lua | ||
Libraries/Vanilla-C_Minimap.lua | ||
|
||
Libraries/MC2AddonLib/MC2AddonLib.lua | ||
Libraries/MC2DebugLib/MC2DebugLib.lua | ||
Libraries/MC2SchedulerLib/MC2SchedulerLib.lua | ||
Libraries/MC2EventLib/MC2EventLib.lua | ||
Libraries/MC2UIElementsLib/MC2UIElementsLib.lua | ||
Libraries/MC2ItemLinkLib/MC2ItemLinkLib.lua | ||
Libraries/MC2TooltipLib/MC2TooltipLib.lua | ||
Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua | ||
|
||
OutfitterStrings.lua | ||
OutfitterStrings_de.lua | ||
OutfitterStrings_fr.lua | ||
OutfitterStrings_cn.lua | ||
OutfitterStrings_tw.lua | ||
OutfitterStrings_kr.lua | ||
OutfitterStrings_ru.lua | ||
OutfitterStrings_ru.lua | ||
|
||
Outfitter.lua | ||
|
||
OutfitterOutfits.lua | ||
OutfitterInventory.lua | ||
OutfitterEquipment.lua | ||
OutfitterItemStats.lua | ||
OutfitterOptimize.lua | ||
OutfitterUITools.lua | ||
OutfitterScripting.lua | ||
OutfitterScriptDialog.lua | ||
OutfitterQuickSlots.lua | ||
OutfitterMinimapButton.lua | ||
OutfitterBar.lua | ||
OutfitterAbout.lua | ||
|
||
OutfitterLDB.lua | ||
|
||
Outfitter.xml | ||
OutfitterBar.xml |