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

ProtoInput.StopFocusMessageLoop

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

ProtoInput.StopFocusMessageLoop(instanceHandle: number): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (StopFocusMessageLoop); ProtoInputLoader Inject.cpp (opens in a new tab); ProtoInputHooks PipeCommunication.cpp (opens in a new tab) (StopFocusMessageLoop); FocusMessageLoop.cpp (opens in a new tab) (PauseMessageLoop).

Pauses the focus message loop started by ProtoInput.StartFocusMessageLoop. Parameter: the instance handle.

AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (StopFocusMessageLoop).
  • instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).

Example: From Hub handlers

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