CurrPersistenceContext (object)¶
バージョン 1.13.0 で追加.
The CurrPersistenceContext object is a simple helper object that stores the current persistence context so it can be used when loading externals files. Simply add the CurrPersistenceContext object as a Splice port, and then when the scene is loaded, you can use the cached persistence context to resolve external files.
Members¶
PersistenceContext | context |
Methods¶
CurrPersistenceContext ( in CurrPersistenceContext other ) | |
CurrPersistenceContext () | |
CurrPersistenceContext | clone ? () |
loadDataFromString ! ( in PersistenceContext context, in String data ) | |
String | saveDataToString ? ( in PersistenceContext context ) |
Methods in detail¶
CurrPersistenceContext ( in CurrPersistenceContext other )
copy constructor
default constructor
CurrPersistenceContext CurrPersistenceContext.clone? ()
clone method
CurrPersistenceContext.loadDataFromString! ( in PersistenceContext context, in String data )
a callback invoked by Splice when an object loaded back within Splice
String CurrPersistenceContext.saveDataToString? ( in PersistenceContext context )
a callback invoked by Splice when an object is persisted