Prototype savedata database system for GameMaker LTS 2022
-
Got questions? Make a new issue!
-
There is also a Discord server (but GitHub issues are preferred)
db_create()
db_duplicate(database)
is_db(value)
db_has_data(database)
db_write(database, value, key, ...)
db_read(database, default, key, ...)
db_delete(database, key, ...)
db_exists(database, key, ...)
db_clear(database)
db_save(database, database, [pretty=false], [accurateFloats=false])
db_load(filename)
db_buffer_write(buffer, database, [pretty=false], [accurateFloats=false])
db_buffer_read(buffer)
db_set_raw_data(database, data)
db_get_raw_data(database)
db_set_metadata(database, metadata)
db_get_metadata(database)
db_set_changed(database, state)
db_get_changed(database, [resetState=true])
db_set_timestamp(database, timestamp)
db_get_timestamp(database)
db_most_recent(arrayOfDatabases, [returnIndex=false])
db_sort_by_timestamp(arrayOfDatabases, mostRecent)