Skip to content

DataLibrary

This class is used to manage local data.

静态变量

DataLibrary.projectLibrary : DataLibrary
(Read-only) Local data instance.

成员方法

DataLibrary.ClearFiles ( ) : void
Clears all data.
DataLibrary.GetData ( file_name : string ) : string
Get the data under the specified key value.
DataLibrary.RemoveFile ( file_name : string ) : void
Remove the data under the specified key value.
DataLibrary.SetData ( file_name : string , data : string ) : void
Store data and assign it a name.
DataLibrary.FileExists ( file_name : string ) : boolean
Check if there is data stored under the specified key.