Class AmongUsProcess
extends NodeJS.EventEmitterexternal item NodeJS.EventEmitter
Constructor
constructor(
settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings>,
process: MemoryJS.ProcessObject,
asm: MemoryJS.ModuleObject
)
process: MemoryJS.ProcessObject,
asm: MemoryJS.ModuleObject
Properties
Methods
static
all(settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings> = {}): Arrayexternal item Array<AmongUsProcessclass AmongUsProcessAmongUsProcess>
Gets all open among us processes. This should be ran once.
static
scan(
cb: ScanCallbacktype ScanCallbackScanCallback,
settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings> = {},
interval = 1000,
cancelOnFirstFind = true
): void
settings: Partialexternal item Partial<AmongUsProcessSettingsinterface AmongUsProcessSettingsAmongUsProcessSettings> = {},
interval = 1000,
cancelOnFirstFind = true
Scan for among us processes. The callback will be executed when a new process is found.
Example:
AmongUsProcess.scan(process => {
console.log("Found a new among us process!");
console.log(process.game);
});