Retrieves the location of a given player.
The userId of the player.
The location of the player. If the player could not be found or is not playing the game, returns undefined.
Retrieves the locations of the given players.
A map of userId to location. If a player could not be found or is not playing the game, they are not included in the map.
Gets multiple users at once. When the strict parameter is set to true (default is false), the function will error if it is unable to resolve all userIds.
The userIds to get.
Specifies if all users must be found. If set to false, the function will succeed even if not all userIds resolve to a user.
An array of user objects.
Provides access to user information.