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
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetAdjustWindowRectSettings); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); AdjustWindowRectHook.cpp (opens in a new tab) (Hook_AdjustWindowRect).

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).

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop