Logo

index : nswa

WoW addon which removes annoyances and adds QoL (for me)

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/nswa.git/html/nswa_load.lua blob: 7be7c7b65f80c928fd19619f69bc093fb2748017 [raw] [clear marker]

        
0nswa = nswa or {}
1local N = nswa
2
3local frame = CreateFrame("Frame")
4frame:RegisterEvent("ADDON_LOADED")
5frame:RegisterEvent("PLAYER_LOGIN")
6
7
8frame:SetScript("OnEvent", function(self, event, arg1)
9 if event == "ADDON_LOADED" and arg1 == "nswa" then
10 nswa_db_global = nswa_db_global or {}
11
12 nswa_db = nswa_db or {}
13 nswa_db.activity_state = nswa_db.activity_state or {}
14
15 local activity_state = nswa_db.activity_state
16 activity_state.pos = activity_state.pos or {}
17
18 print("NSWA - Debug: Hii!")
19 elseif event == "PLAYER_LOGIN" then
20 N.main()
21 end
22end)
23
24
25--DevTools_Dump(thing)
26
27
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit