mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
MISC: Add support for getting the save file through the RFA (#2004)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user