Closed elvador closed 4 years ago
One thing I forgot to mention, it also creates a WIDGET table, which has everything neatly formatted:
["WIDGET"] = {
[2396] = {
["barMin"] = 0,
["colorTint"] = 0,
["widgetScale"] = 0,
["barMax"] = 100,
["shownState"] = 1,
["widgetSizeSetting"] = 0,
["tooltip"] = "Defeating Shards of Halkias will unleash their Anima, freeing the Goliath.",
["widgetTag"] = "",
["overrideBarTextShownType"] = 0,
["overrideBarText"] = "Halkias' Anima",
["text"] = "Halkias' Anima",
["textureKit"] = "Red",
["frameTextureKit"] = "UI-Frame-Bar",
["layoutDirection"] = 0,
["barValueTextType"] = 1,
["barValue"] = 33,
["hasTimer"] = "false",
["outAnimType"] = 0,
["orderIndex"] = 0,
["partitionValues"] = "table",
["inAnimType"] = 0,
},
},
So essentially we're getting:
WIDGET
table which has all details about all widgets in the most recent version in a table formatUPDATE_UI_WIDGET
list with timestamps and every change
Currently we're only logging very basic data for widgets:
With these changes, we'll log most of the data that's available, including all updates:
When the widget gets first created, it adds "all" the data, most of which might never be needed. I don't think it's an issue however, as usually only a few widgets are created on an encounter.
Static widgets (like icons) can be added to the blacklist to reduce this spam even further.