Type | function |
Library | save.* |
Return value | Boolean |
Keywords | save, rename |
See also | Sample code, save.load() |
This function is used to rename the current save file.
save.rename()
local save = require 'plugin.save'
save.init( "example.json", 1, {36, 45, 92, 36, 19, 28, 5}, "bveiubv984nw0" )
if (save.rename("example-renamed.json")) then
print("Save file renamed!")
end