mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-04 05:23:46 +01:00
17 lines
285 B
TypeScript
17 lines
285 B
TypeScript
|
import { Remote } from "./Remote";
|
||
|
|
||
|
class RemoteFileAPI {
|
||
|
server : Remote;
|
||
|
|
||
|
constructor(){
|
||
|
this.server = new Remote("localhost", 12525);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
enable() : void {
|
||
|
this.server.startConnection();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const RFA = new RemoteFileAPI;
|