replugged

    Type Alias InsteadCallback<A, R, I>

    InsteadCallback: (args: A, orig: (...args: A) => R, self: I) => R | void

    Code to run instead of the original function

    Type Parameters

    Type declaration

      • (args: A, orig: (...args: A) => R, self: I): R | void
      • Parameters

        • args: A

          Arguments passed to the original function

        • orig: (...args: A) => R

          The original function

        • self: I

          The module the injected function is on

        Returns R | void

        New result to return

    MMNEPVFCICPMFPCPTTAAATR