Nucleus handler tools βΊ Docs βΊ ProtoInput βΊ Values.WindowActivateFilterID
ProtoInput.Values.WindowActivateFilterID
Open in the workbench (search, and try it in a handler)
ProtoInput.Values.WindowActivateFilterID: number
Selects the window activate filter (ID 3): WM_ACTIVATE messages always say the game window is active. Only acts while MessageFilterHookID is installed. Pass it to ProtoInput.EnableMessageFilter or ProtoInput.DisableMessageFilter.
Default: (uint)ProtoMessageFilterIDs.WindowActivateFilterID
Example: Generated from its type and default, not from the docs or Hub handlers.
for (var i = 0; i < PlayerList.Count; i++) {
var player = PlayerList[i];
ProtoInput.EnableMessageFilter(
player.ProtoInputInstanceHandle,
ProtoInput.Values.WindowActivateFilterID
);
}
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback