Skip to content

icecap.infrastructure.process

Classes:

GameProcessManager

Bases: Protocol

The service encapsulates interaction with the OS process layer.

get_process_id

get_process_id() -> int | None

Locate the game process ID.

pid_changed_since_last_call

pid_changed_since_last_call() -> bool

Check if the game process ID changed since the last call.

This is used to detect when the game process has been recreated.

get_game_process_manager

get_game_process_manager(
    game_process_name: str = WOW_PROCESS_NAME,
) -> GameProcessManager

Game process manager factory.