Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Shadow & Light
Shadow and Light
Commits
bb1252c4
Verified
Commit
bb1252c4
authored
Jan 03, 2021
by
Repooc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP and wasnt suppose to make it in the commit lol
parent
d00f2b7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
ElvUI_SLE/modules/bags/baginfo.lua
ElvUI_SLE/modules/bags/baginfo.lua
+0
-32
No files found.
ElvUI_SLE/modules/bags/baginfo.lua
View file @
bb1252c4
...
...
@@ -39,17 +39,6 @@ BI.equipmentmanager = {
},
}
BI
.
currentSets
=
{
-- ['1'] = { --setID
-- name = 'some set',
-- iconFileID = 123456,
-- isEquipped = false,
-- numItems = 1,
-- numEquipped = false,
-- numInInventory = 1,
-- },
}
local
function
ConstructBagIcons
()
for
_
,
f
in
pairs
(
B
.
BagFrames
)
do
for
_
,
bagID
in
next
,
f
.
BagIDs
do
...
...
@@ -154,27 +143,6 @@ hooksecurefunc(B, 'OnEvent', function(frame, event, ...)
BI
:
OnEventHook
(
frame
,
event
,
...
)
end
)
function
BI
:
PLAYER_ENTERING_WORLD
(
initLogin
)
if
not
initLogin
then
return
end
local
setIDs
=
C_EquipmentSet_GetEquipmentSetIDs
()
for
id
in
next
,
setIDs
do
local
name
,
iconFileID
,
setID
,
isEquipped
,
numItems
,
numEquipped
,
numInInventory
,
numLost
,
numIgnored
=
C_EquipmentSet_GetEquipmentSetInfo
(
id
)
BI
.
currentSets
[
id
]
=
{
-- ['1'] = { --setID
name
=
name
,
iconFileID
=
iconFileID
,
setID
=
setID
,
isEquipped
=
isEquipped
,
numItems
=
numItems
,
numEquipped
=
numEquipped
,
numInInventory
=
numInInventory
,
numLost
=
numLost
,
numIgnored
=
numIgnored
,
}
end
end
function
BI
:
ToggleSettings
()
if
BI
.
db
.
enable
then
BI
:
RegisterEvent
(
'EQUIPMENT_SETS_CHANGED'
,
function
(
event
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment