Client

get_client()

This function returns information about the game client.

Usage

get_client()

Returns

None or a dictionary about the game client.

window - Window handle of the client

pid - Process ID of the client

path - Path to the client

running - State of the client. The process state is checked each time this function is called.

{
	'window': 859850,
	'pid': 18420,
	'path': 'C:/Users/...',
	'running': True
}
{
	'window': 0,
	'pid': 0,
	'path': '',
	'running': False
}

Last updated