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
instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).filterID: Which filter to turn on: a ProtoInput.Values.*FilterID value, e.g. ProtoInput.Values.RawInputFilterID or ProtoInput.Values.WindowActivateFilterID.
✎ Parameters: AI-written from the Nucleus source.
Is this right?
Tell us what's wrong