@overlayed/app 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +31 -29
- package/dist/index.mjs +10 -10
- package/dist/native-interface/build/overlayed_injector_x64.exe +0 -0
- package/dist/native-interface/build/overlayed_injector_x86.exe +0 -0
- package/dist/native-interface/build/overlayed_native_interface_x64.node +0 -0
- package/dist/native-interface/dist/types.d.mts +2 -0
- package/dist/native-interface/dist/types.d.mts.map +1 -1
- package/dist/sand.d.ts +396 -396
- package/dist/sand.js +1 -1
- package/dist/siege.d.ts +720 -720
- package/dist/siege.js +1 -1
- package/dist/universal.d.ts +42 -42
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -16,6 +16,8 @@ declare class GameInstance {
|
|
|
16
16
|
method?: InjectionMethod;
|
|
17
17
|
}): Promise<void>; // defaults: { method: InjectionMethod.windowsHook }
|
|
18
18
|
|
|
19
|
+
computeBuildHash(): Promise<string>; // sha256 of the game executable, read in chunks off the main thread
|
|
20
|
+
|
|
19
21
|
readonly identifier: string;
|
|
20
22
|
readonly modules: string[];
|
|
21
23
|
readonly allowDllInjections: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":["AccessLevel","InjectionMethod","GameInstance","Promise","GameMonitor","Function","PipeEventBase","PipeEventServer","PipeEventClient","HardwareInterface"],"sources":["../index.ts","../types.d.ts"],"sourcesContent":["/// <reference types=\"node\" />\n\nimport type { AccessLevel, InjectionMethod } from \".\";\n\nexport class GameInstance {\n\tprivate constructor();\n\n\tinjectDll(\n\t\tpath: string,\n\t\tinjector: string,\n\t\toptions?: {\n\t\t\tmethod?: InjectionMethod;\n\t\t},\n\t): Promise<void>; // defaults: { method: InjectionMethod.windowsHook }\n\n\treadonly identifier: string;\n\treadonly modules: string[];\n\n\treadonly allowDllInjections: boolean;\n\treadonly hasRenderSupport: boolean;\n\n\treadonly injectionDelayMs: number;\n\n\treadonly processId: number;\n\n\treadonly executableName: string;\n\treadonly executablePath?: string;\n\n\treadonly is32Bit?: boolean;\n\treadonly isElevated?: boolean;\n\treadonly hasElevationMismatch?: boolean;\n}\n\nexport class GameMonitor {\n\tconstructor(); // the monitored games come from the raven config, fetched and registered natively\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"launch\"): Function[];\n\trawListeners(eventName: \"launch\"): Function[];\n\tlistenerCount(eventName: \"launch\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"launch\"): this;\n\n\tlisteners(eventName: \"close\"): Function[];\n\trawListeners(eventName: \"close\"): Function[];\n\tlistenerCount(eventName: \"close\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"close\"): this;\n}\n\nexport class PipeEventBase {\n\tisConnected(): boolean;\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"event\"): Function[];\n\trawListeners(eventName: \"event\"): Function[];\n\tlistenerCount(eventName: \"event\", listener?: (event: string) => void): number;\n\n\ton(eventName: \"event\", listener: (event: string) => void): this;\n\tonce(eventName: \"event\", listener: (event: string) => void): this;\n\taddListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependOnceListener(eventName: \"event\", listener: (event: string) => void): this;\n\n\toff(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveListener(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveAllListeners(eventName: \"event\"): this;\n\n\tlisteners(eventName: \"connected\"): Function[];\n\trawListeners(eventName: \"connected\"): Function[];\n\tlistenerCount(eventName: \"connected\", listener?: () => void): number;\n\n\ton(eventName: \"connected\", listener: () => void): this;\n\tonce(eventName: \"connected\", listener: () => void): this;\n\taddListener(eventName: \"connected\", listener: () => void): this;\n\tprependListener(eventName: \"connected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"connected\", listener: () => void): this;\n\n\toff(eventName: \"connected\", listener: () => void): this;\n\tremoveListener(eventName: \"connected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"connected\"): this;\n\n\tlisteners(eventName: \"disconnected\"): Function[];\n\trawListeners(eventName: \"disconnected\"): Function[];\n\tlistenerCount(eventName: \"disconnected\", listener?: () => void): number;\n\n\ton(eventName: \"disconnected\", listener: () => void): this;\n\tonce(eventName: \"disconnected\", listener: () => void): this;\n\taddListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"disconnected\", listener: () => void): this;\n\n\toff(eventName: \"disconnected\", listener: () => void): this;\n\tremoveListener(eventName: \"disconnected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"disconnected\"): this;\n\n\tlisteners(eventName: \"error\"): Function[];\n\trawListeners(eventName: \"error\"): Function[];\n\tlistenerCount(eventName: \"error\", listener?: () => void): number;\n\n\ton(eventName: \"error\", listener: () => void): this;\n\tonce(eventName: \"error\", listener: () => void): this;\n\taddListener(eventName: \"error\", listener: () => void): this;\n\tprependListener(eventName: \"error\", listener: () => void): this;\n\tprependOnceListener(eventName: \"error\", listener: () => void): this;\n\n\toff(eventName: \"error\", listener: () => void): this;\n\tremoveListener(eventName: \"error\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"error\"): this;\n}\n\nexport class PipeEventServer extends PipeEventBase {\n\tconstructor(name: string, options?: { clientCount?: number; access?: AccessLevel }); // default: { clientCount: 1, access: AccessLevel.Default };\n}\n\nexport class PipeEventClient extends PipeEventBase {\n\tconstructor(name: string, options?: {}); // default: {};\n}\n\nexport class HardwareInterface {\n\tstatic generateUniqueIdentifier(): string; // results in a uuid version 4\n}\n"],"mappings":";;AAYkB,mBAAA,WAAA;EAMA,OAAA,GAAA,CAAA;;;;ACdLE,mBDcK,eAAA;
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":["AccessLevel","InjectionMethod","GameInstance","Promise","GameMonitor","Function","PipeEventBase","PipeEventServer","PipeEventClient","HardwareInterface"],"sources":["../index.ts","../types.d.ts"],"sourcesContent":["/// <reference types=\"node\" />\n\nimport type { AccessLevel, InjectionMethod } from \".\";\n\nexport class GameInstance {\n\tprivate constructor();\n\n\tinjectDll(\n\t\tpath: string,\n\t\tinjector: string,\n\t\toptions?: {\n\t\t\tmethod?: InjectionMethod;\n\t\t},\n\t): Promise<void>; // defaults: { method: InjectionMethod.windowsHook }\n\n\tcomputeBuildHash(): Promise<string>; // sha256 of the game executable, read in chunks off the main thread\n\n\treadonly identifier: string;\n\treadonly modules: string[];\n\n\treadonly allowDllInjections: boolean;\n\treadonly hasRenderSupport: boolean;\n\n\treadonly injectionDelayMs: number;\n\n\treadonly processId: number;\n\n\treadonly executableName: string;\n\treadonly executablePath?: string;\n\n\treadonly is32Bit?: boolean;\n\treadonly isElevated?: boolean;\n\treadonly hasElevationMismatch?: boolean;\n}\n\nexport class GameMonitor {\n\tconstructor(); // the monitored games come from the raven config, fetched and registered natively\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"launch\"): Function[];\n\trawListeners(eventName: \"launch\"): Function[];\n\tlistenerCount(eventName: \"launch\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"launch\"): this;\n\n\tlisteners(eventName: \"close\"): Function[];\n\trawListeners(eventName: \"close\"): Function[];\n\tlistenerCount(eventName: \"close\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"close\"): this;\n}\n\nexport class PipeEventBase {\n\tisConnected(): boolean;\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"event\"): Function[];\n\trawListeners(eventName: \"event\"): Function[];\n\tlistenerCount(eventName: \"event\", listener?: (event: string) => void): number;\n\n\ton(eventName: \"event\", listener: (event: string) => void): this;\n\tonce(eventName: \"event\", listener: (event: string) => void): this;\n\taddListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependOnceListener(eventName: \"event\", listener: (event: string) => void): this;\n\n\toff(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveListener(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveAllListeners(eventName: \"event\"): this;\n\n\tlisteners(eventName: \"connected\"): Function[];\n\trawListeners(eventName: \"connected\"): Function[];\n\tlistenerCount(eventName: \"connected\", listener?: () => void): number;\n\n\ton(eventName: \"connected\", listener: () => void): this;\n\tonce(eventName: \"connected\", listener: () => void): this;\n\taddListener(eventName: \"connected\", listener: () => void): this;\n\tprependListener(eventName: \"connected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"connected\", listener: () => void): this;\n\n\toff(eventName: \"connected\", listener: () => void): this;\n\tremoveListener(eventName: \"connected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"connected\"): this;\n\n\tlisteners(eventName: \"disconnected\"): Function[];\n\trawListeners(eventName: \"disconnected\"): Function[];\n\tlistenerCount(eventName: \"disconnected\", listener?: () => void): number;\n\n\ton(eventName: \"disconnected\", listener: () => void): this;\n\tonce(eventName: \"disconnected\", listener: () => void): this;\n\taddListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"disconnected\", listener: () => void): this;\n\n\toff(eventName: \"disconnected\", listener: () => void): this;\n\tremoveListener(eventName: \"disconnected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"disconnected\"): this;\n\n\tlisteners(eventName: \"error\"): Function[];\n\trawListeners(eventName: \"error\"): Function[];\n\tlistenerCount(eventName: \"error\", listener?: () => void): number;\n\n\ton(eventName: \"error\", listener: () => void): this;\n\tonce(eventName: \"error\", listener: () => void): this;\n\taddListener(eventName: \"error\", listener: () => void): this;\n\tprependListener(eventName: \"error\", listener: () => void): this;\n\tprependOnceListener(eventName: \"error\", listener: () => void): this;\n\n\toff(eventName: \"error\", listener: () => void): this;\n\tremoveListener(eventName: \"error\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"error\"): this;\n}\n\nexport class PipeEventServer extends PipeEventBase {\n\tconstructor(name: string, options?: { clientCount?: number; access?: AccessLevel }); // default: { clientCount: 1, access: AccessLevel.Default };\n}\n\nexport class PipeEventClient extends PipeEventBase {\n\tconstructor(name: string, options?: {}); // default: {};\n}\n\nexport class HardwareInterface {\n\tstatic generateUniqueIdentifier(): string; // results in a uuid version 4\n}\n"],"mappings":";;AAYkB,mBAAA,WAAA;EAMA,OAAA,GAAA,CAAA;;;;ACdLE,mBDcK,eAAA;ECPND,WAAAA,GAAAA,CAAAA;;;;cAPCC,YAAAA;;EAODD,SAAAA,CAERE,IAAAA,EAAAA,MAAAA,EAEiBA,QAAAA,EAAAA,MAAAA,EAAO,OA2BKE,CA3BL,EAAA;IAoB5B,MAAaD,CAAAA,EAxBDH,eAwBY;EAOSI,CAAAA,CACGA,EA9BhCF,OA8BgCE,CAAAA,IAAAA,CAAAA,CAAAA,CAAAA;;EAGMH,gBAAAA,CAAAA,CAAAA,EA/BrBC,OA+BqBD,CAAAA,MAAAA,CAAAA,CAAAA,CAAAA;;EAESA,SAAAA,UAAAA,EAAAA,MAAAA;EACIA,SAAAA,OAAAA,EAAAA,MAAAA,EAAAA;EAGZA,SAAAA,kBAAAA,EAAAA,OAAAA;EACWA,SAAAA,gBAAAA,EAAAA,OAAAA;EAInBG,SAAAA,gBAAAA,EAAAA,MAAAA;EAGMH,SAAAA,SAAAA,EAAAA,MAAAA;EAESA,SAAAA,cAAAA,EAAAA,MAAAA;EACIA,SAAAA,cAAAA,CAAAA,EAAAA,MAAAA;EAGZA,SAAAA,OAAAA,CAAAA,EAAAA,OAAAA;EACWA,SAAAA,UAAAA,CAAAA,EAAAA,OAAAA;EAAY,SAAA,oBAAA,CAAA,EAAA,OAAA;AAIjE;AAQmCG,cA5CtBD,WAAAA,CA4CsBC;EAaCA,WAAAA,CAAAA,EAAAA,CAAAA;;EAcGA,UAAAA,CAAAA,CAAAA,EAAAA,MAAAA,EAAAA;EACGA,eAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAaVA,kBAAAA,CAAAA,CAAAA,EAAAA,IAAAA;EACW,SAAA,CAAA,SAAA,EAAA,QAAA,CAAA,EA/EVA,QA+EU,EAAA;EAc3C,YAAaE,CAAAA,SAAe,EAAA,QAC0CP,CAAAA,EA7FlCK,QA6FkCL,EADjCM;EAIrC,aAAaE,CAAAA,SAAe,EAAA,QAASF,EAAAA,QAAa,CAAbA,EAAa,CAAA,IAAA,EA/FIJ,YA+FJ,EAAA,GAAA,IAAA,CAAA,EAAA,MAAA;2CA7FRA;6CACEA;oDACOA;wDACIA;4DACIA;4CAEhBA;uDACWA;;iCAGtBG;oCACGA;sDACkBH;0CAEZA;4CACEA;mDACOA;uDACIA;2DACIA;2CAEhBA;sDACWA;;;cAIxCI,aAAAA;;;;;iCAOmBD;oCACGA;;;;;;;;;;qCAaCA;wCACGA;;;;;;;;;;wCAaAA;2CACGA;;;;;;;;;;iCAaVA;oCACGA;;;;;;;;;;;cActBE,eAAAA,SAAwBD,aAAAA;;;aACiCN;;;cAGzDQ,eAAAA,SAAwBF,aAAAA;;;cAIxBG,iBAAAA"}
|