phBot Plugins
Search…
Client

get_client

This function returns information about the game client.
Usage
1
get_client()
Copied!
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.
1
{
2
'window': 859850,
3
'pid': 18420,
4
'path': 'C:/Users/...',
5
'running': True
6
}
Copied!
1
{
2
'window': 0,
3
'pid': 0,
4
'path': '',
5
'running': False
6
}
Copied!
Last modified 2yr ago
Copy link