Nucleus handler tools › Docs › ProtoInput › SetAdjustWindowRectSettings

ProtoInput.SetAdjustWindowRectSettings

Open in the workbench (search, and try it in a handler)

ProtoInput.SetAdjustWindowRectSettings(
  instanceHandle: number,
  posx: number,
  posy: number,
  width: number,
  height: number
): void

Sets the rectangle the AdjustWindowRectHookID hook starts from: every AdjustWindowRect/AdjustWindowRectEx call computes the window size from this position and size, without a menu. Parameters: the instance handle, x, y, width, height (Nucleus passes the player's screen area).

_✎ AI-written, based on Nucleus ProtoInput.cs (SetAdjustWindowRectSettings), ProtoInputLoader Inject.cpp, ProtoInputHooks PipeCommunication.cpp, ProtoInputHooks AdjustWindowRectHook.cpp (Hook_AdjustWindowRect). Not from the official docs._ Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop