isaac-typescript-definitions
Version:
TypeScript definitions for The Binding of Isaac: Repentance.
19 lines (17 loc) • 526 B
TypeScript
// This is the Racing+ sandbox provided by the Electron client.
/** @noSelf */
declare interface Sandbox {
connect: (
hostname: string,
port: int,
useTCP: boolean,
) => SocketClient | undefined;
connectLocalhost: (port: int, useTCP: boolean) => SocketClient | undefined;
getDate: (format?: string) => string;
getParentFunctionDescription: (levels: int) => string;
getTime: () => float;
getTraceback: () => string;
init: () => void;
isSocketInitialized: () => boolean;
traceback: () => void;
}