Configures the save and load configuration
Methods
PersistLoad
Loads the data from string or from file.
Syntax
void PersistLoad(
string _bsObject,
string _bsXMLDescOrFile,
string _bsLoadParam
)
Parameters
_bsObject - name of the loading object
_bsXMLDescOrFile - source string or full path of file to be loaded
_bsLoadParam - parameters of loading
PersistSaveToFile
Saves the configuration data to the file.
Syntax
void PersistSaveToFile(
string _bsObject,
string _bsFileName,
string _bsSaveParam
)
Parameters
_bsObject - name of the saving object
_bsFileName - full file path for saving
_bsSaveParam - parameters of saving
unicode=true/false - to enable (disable) Unicode for saved file
separate-files=true/false - only for MMixer and MComposer - to save each scene into separated file
PersistSaveToString
Saves the configuration data to string.
Syntax
void PersistSaveToString(
string _bsObject,
out string _pbsXMLDesc,
string _bsSaveParam
)
Parameters
_bsObject - name of saving object
_pbsXMLDesc - output string with data
_bsSaveParam - parameters of saving