-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccountantData.lua
More file actions
38 lines (30 loc) · 1.1 KB
/
AccountantData.lua
File metadata and controls
38 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--[[
AccountantData.lua
Declare the global namespace, data, and constants
--]]
-- Reserve the naamespace
Accountant = {}
-- Saved by WoW so leave in global namespace
Accountant_SaveData = nil;
-- Create a short cut
local SC = Accountant
SC.Version = tostring(C_AddOns.GetAddOnMetadata("Accountant", "Version")) or "Unknown" -- "3.4.02";
SC.AUTHOR = C_AddOns.GetAddOnMetadata("Accountant", "Author") or "Unknown" --"urnati";
SC.CREDAUTHOR = C_AddOns.GetAddOnMetadata("Accountant", "X-Credits") or "Unknown" --"tfmonk";
SCOUNTANT_OPTIONS_TITLE = "Accountant Options";
SCOUNTANT_BUTTON_TOOLTIP = "Toggle Accountant";
SC.artwork_path = "Interface\\AddOns\\Accountant\\Artwork\\"
SC.log_modes = {"Session","Day","Week","Total"};
SC.log_modes_short = {"Sess","Day","Week","Tot"};
-- Store the list of characters to be displayed.
-- Same realm and faction
SC.Toons = {}
SC.Faction = ""
SC.ShowAlliance = nil
SC.ShowHorde = nil
-- Store the list of all characters, regardless of realm or faction
SC.AllToons = {}
SC.GOLD_COLOR = "|cFFFFFF00"
SC.GREEN_COLOR = GREEN_FONT_COLOR_CODE
SC.TITLE = "Accountant"
SC.DIVIDER = "-"