API: Add getSaveData API (#1390)

This commit is contained in:
catloversg
2025-01-31 01:36:59 +07:00
committed by GitHub
parent 934687d4b5
commit 956e3875e9
5 changed files with 42 additions and 0 deletions
+8
View File
@@ -1793,6 +1793,14 @@ export interface BitNodeBooleanOptions {
* @public
*/
export interface Singularity {
/**
* This function returns the save data.
*
* @remarks
* RAM cost: 1 GB * 16/4/1
*/
getSaveData(): Promise<Uint8Array>;
/**
* Backup game save.
* @remarks