Am developing my addon, Historia.
Have set up the database as I want it, but am now running into a problem.
Can't figure out a decent way to put a table I have into the XML its supposed to go.
Its basically a simple table with the players levels and a time when the player gained that level.
Sure, I could define a 100 possible fontstring(s) in my XML file but there is problably a more elegant way to handle this.
Also would like to do this without a scrolling table.
Any help is appriciated.
Lua Code:
["Level"] = {
{
["time"] = 1430830617,
["level"] = 1,
}, -- [1]
{
["time"] = 1430830830,
["level"] = 2,
}, -- [2]
{
["time"] = 1430845053,
["level"] = 3,
}, -- [3]
{
["time"] = 1430845452,
["level"] = 4,
}, -- [4]
{
["time"] = 1430845770,
["level"] = 5,
}, -- [5]
}