Class Player
The base class for using OAuth2.
- Maniaplanet\WebServices\HTTPClient
- Maniaplanet\WebServices\ManiaConnect\Client
- Maniaplanet\WebServices\ManiaConnect\Player
Namespace: Maniaplanet\WebServices\ManiaConnect
Located at libraries/Maniaplanet/WebServices/ManiaConnect/Player.php
Located at libraries/Maniaplanet/WebServices/ManiaConnect/Player.php
public
object
|
|
public
object
|
#
getOnlineStatus( )
Returns an object containing the online status and the dedicated server info on which the player is playing, if applicable. |
public
string
|
|
public
array[object]
|
|
public
array[object]
|
#
getDedicated( )
Gets the list of the player's registered dedicated servers and their online statuses. |
public
array[object]
|
|
public
array[object]
|
|
public
array[object]
|
|
public
array[object]
|
|
public
|
|
public
|
execute()
|
TOKEN_PATH
|
VERSION
|
$loginURL,
$logoutURL,
$persistance
|
$APIURL,
$accept,
$contentType,
$enableAuth,
$headers,
$lastException,
$password,
$serializeCallback,
$throwExceptions,
$unserializeCallback,
$username
|