data_save - ryzom/ryzomcore GitHub Wiki
title: Data Save description: published: true date: 2023-03-16T23:05:51.986Z tags: editor: markdown dateCreated: 2023-03-16T22:22:06.470Z
The dataSave function saves all previously written script data variables to a file. This must be done explicitly, otherwise modified variables are not saved.
This function is not actually implemented. It currently does nothing. {.is-danger}
()dataSave(); // dataSave__
()dataSave();
This code saves all previously written script data variables to a file.
This function is primarily necessary to save CPU because writing operations can take time. Additionally, it also ensures data integrity if a crash occurs between the writing of two related variables.