mirror of
https://github.com/SnapEnhance/scripting-docs.git
synced 2026-08-31 04:32:30 +00:00
feat: sleep function
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -54,6 +54,8 @@ declare function findClass(className: string, useModClassLoader?: boolean): Clas
|
||||
declare function setField(instance: any, fieldName: string, value: any | undefined): void;
|
||||
declare function getField(instance: any, fieldName: string): any | undefined;
|
||||
|
||||
declare function sleep(durationMs: number);
|
||||
|
||||
declare module "hooker" {
|
||||
enum stage {
|
||||
BEFORE = "before",
|
||||
|
||||
Reference in New Issue
Block a user