Nucleus handler tools › Docs › ProtoInput › EnableMessageFilter

ProtoInput.EnableMessageFilter

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

ProtoInput.EnableMessageFilter(
  instanceHandle: number,
  filterID: number
): void

Turns on a window message filter in the game instance. Parameters: the instance handle (Player.ProtoInputInstanceHandle) and a filter ID from ProtoInput.Values (the ...FilterID values). Filters only act while the MessageFilterHookID hook is installed.

✎ AI-written, based on Nucleus ProtoInput.cs (EnableMessageFilter), ProtoInputLoader InstallMessageFilter.cpp, ProtoInputHooks PipeCommunication.cpp (SetupMessageFilter), ProtoInputHooks MessageFilterHook.cpp (FilterMessage). Not from the official docs. Is it wrong? Tell us

✎ Parameters: AI-written from the Nucleus source.

Handler API docs

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