MISC: Add support for getting the save file through the RFA (#2004)

This commit is contained in:
G4mingJon4s
2025-03-10 09:32:47 +01:00
committed by GitHub
parent db74fae2b7
commit 6666a176ee
3 changed files with 51 additions and 2 deletions
+12 -1
View File
@@ -1,3 +1,4 @@
import { SaveData } from "../types";
import type { BaseServer } from "../Server/BaseServer";
export class RFAMessage {
@@ -17,7 +18,17 @@ export class RFAMessage {
}
}
type ResultType = string | number | string[] | FileContent[] | RFAServerData[];
type ResultType =
| string
| number
| string[]
| FileContent[]
| RFAServerData[]
| {
identifier: string;
binary: boolean;
save: SaveData;
};
type FileMetadata = FileData | FileContent | FileLocation | FileServer;
export interface FileData {