Serialize = function(self)
-- do magic stuff keeping in mind we can only serialize simple values
-- call save
TableSave(gT, "Escort_Selfaware_Units")
end,
Load = function(self)
TableLoad(gT, "Escort_Selfaware_Units")
-- do magic stuff keeping in mind we have to convert some simple values
end,
Am I misunderstanding it's usage?
That's really an SQLite limit. Any save util would have the same issue. And yeah, a lot of objects being tossed around that I'm going to have to figure out how to serialize and then recreate.Edit: one limitation here for OO is that TableSave doesn't deal with functions. It will throw an error if any nested data is not type: number, boolean, string or table.