Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.GetConnectionState: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
States: | States: | ||
0 - no connection | 0 - no connection, | ||
1 - bot connected | 1 - bot connected, | ||
2 - player connected | 2 - player connected, | ||
3 - bot/player disconnected. | 3 - bot/player disconnected. | ||
Revision as of 01:54, 23 October 2018

Function Description
<unknown> GetConnectionState(int iPlayerID)
States: 0 - no connection, 1 - bot connected, 2 - player connected, 3 - bot/player disconnected.
Parameters
Type | Name | Description |
---|---|---|
int | iPlayerID | No Description Set |
Returns
<unknown> - No Description Set