A basis for loot history
Darthpred [10-11-12 - 11:21]
diff --git a/ElvUI_SLE/core/test.lua b/ElvUI_SLE/core/test.lua
index 9db7709..88a093f 100644
--- a/ElvUI_SLE/core/test.lua
+++ b/ElvUI_SLE/core/test.lua
@@ -17,3 +17,15 @@ E.Options.args.sle.args.general.args.errors = {
get = function(info) return E.private.sle.errors end,
set = function(info, value) E.private.sle.errors = value; E:StaticPopup_Show("PRIVATE_RL") end
}
+
+--This is basics for the loot history show/hide option
+--[[
+function :LootShow() --Needs to be run on PLAYER_ENTERING_WORLD event = loading screen ends. Also need a module assinged.
+ local inInstance, instanceType = IsInInstance()
+ if (inInstance and (instanceType == "party" or "raid") and E.db.sle.autoloot) then
+ LootHistoryFrame:Show()
+ else
+ LootHistoryFrame:Hide()
+ end
+end
+]]
\ No newline at end of file