T

NativeJavaHookEvent

What a Java hook listener receives for one call of the hooked method.

type NativeJavaHookEvent<Receiver extends boolean = true> = { … }

Members

The call's arguments.

The method argument index each entry of args came from, as trimmed by payload.arguments.

phase"before" | "after"

Whether the listener heard the call before or after the method ran.

selfReceiver extends true ? NativeJavaValue : undefined

The object the hooked method was called on.