Returns the assigned connection slot of the given
ID (which must reflect a
Player).
Code cpp:
VAULTSCRIPT VAULTSPACE UCount (*VAULTAPI(GetConnection))(VAULTSPACE ID) VAULTCPP(noexcept);
Code c:
native GetConnection(ID);
ID - the ID of the
Player
Returns a
UCount, which is a value within the range [0,
GetMaximumPlayers). If the given
ID does not reflect a
Player, UINT_MAX is returned.