Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί DisableMessageBlock

ProtoInput.DisableMessageBlock

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

ProtoInput.DisableMessageBlock(
  instanceHandle: number,
  messageID: number
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (DisableMessageBlock); ProtoInputLoader InstallMessageFilter.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (SetupMessageBlock).

Stops blocking a window message that ProtoInput.EnableMessageBlock blocked. Parameters: the instance handle (Player.ProtoInputInstanceHandle) and the message number.

Example: From Hub handlers

for (var i = 0; i < PlayerList.Count; i++) {
  var player = PlayerList[i];
  ProtoInput.DisableMessageBlock(
    player.ProtoInputInstanceHandle,
    0x0006
  );
}
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