voidSaveRecord(structlua_State*L,unsignedintkey);// saves Lua stack into a record and pops it
voidLoadRecord(structlua_State*L,unsignedintkey,unsignedintitemsToLoad)const;// pushes a record's data onto the Lua stack
voidSaveRecordPartial(structlua_State*L,unsignedintkey,intidx);// saves part of the Lua stack (at the given index) into a record and does NOT pop anything
voidExportRecords(void*file)const;// writes all records to an already-open file
voidImportRecords(void*file);// reads records from an already-open file
voidClearRecords();// deletes all record data
private:
// disallowed, it's dangerous to call this
// (because the memory the destructor deletes isn't refcounted and shouldn't need to be copied)
// so pass LuaSaveDatas by reference and this should never get called