MCPcopy Create free account
hub / github.com/borndotcom/react-native-godot / GodotModuleInterface

Interface GodotModuleInterface

js/NativeGodotModule.ts:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 TurboModuleRegistry.getEnforcing<Spec>("NativeGodotModule");
35
36export interface GodotModuleInterface {
37 createInstance(args: Array<string>): any;
38 getInstance(): any;
39 API(): any;
40 updateWindow(windowName: string): any;
41 pause(): void;
42 resume(): void;
43 is_paused(): boolean;
44 runOnGodotThread<T>(f: () => T): Promise<T>;
45 destroyInstance(): void;
46 crash(): void;
47}
48
49console.log("Loading NativeGodotModule...");
50

Callers 24

initGodotFunction · 0.80
initGodotFunction · 0.65
instanceFunction · 0.65
onCreateMethod · 0.65
initMethod · 0.65
initGodotFunction · 0.80
appControllerFunction · 0.80
surfaceChangedMethod · 0.65
createNativeGodotModuleFunction · 0.65
pauseGodotFunction · 0.65
appPauseMethod · 0.65
createNativeGodotModuleFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected