Properties

$index

$index : 

Type

$pid

$pid : 

Type

$login

$login : 

Type

$nickname

$nickname : 

Type

$rawNickname

$rawNickname : 

Type

$path

$path : 

Type

$authLevel

$authLevel : 

Type

$language

$language : 

Type

$avatar

$avatar : 

Type

$allies

$allies : 

Type

$clubLink

$clubLink : 

Type

$teamId

$teamId : 

Type

$isOfficial

$isOfficial : 

Type

$ladderScore

$ladderScore : 

Type

$ladderRank

$ladderRank : 

Type

$joinTime

$joinTime : 

Type

$ipAddress

$ipAddress : 

Type

$isConnected

$isConnected : 

Type

$clientVersion

$clientVersion : 

Type

$downloadRate

$downloadRate : 

Type

$uploadRate

$uploadRate : 

Type

$skins

$skins : 

Type

$daysSinceZoneInscription

$daysSinceZoneInscription : 

Type

$forcedSpectatorState

$forcedSpectatorState : 

Type

$isReferee

$isReferee : 

Type

$isPodiumReady

$isPodiumReady : 

Type

$isUsingStereoscopy

$isUsingStereoscopy : 

Type

$isManagedByAnOtherServer

$isManagedByAnOtherServer : 

Type

$isServer

$isServer : 

Type

$hasPlayerSlot

$hasPlayerSlot : 

Type

$isBroadcasting

$isBroadcasting : 

Type

$hasJoinedGame

$hasJoinedGame : 

Type

$isSpectator

$isSpectator : 

Type

$isTemporarySpectator

$isTemporarySpectator : 

Type

$isPureSpectator

$isPureSpectator : 

Type

$autoTarget

$autoTarget : 

Type

$currentTargetId

$currentTargetId : 

Type

$cache

$cache : 

Type

Methods

dump()

dump() 

Var_Dump Public Properties of the Object

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl, boolean  $connected) 

Construct a new Player

Parameters

\ManiaControl\ManiaControl $maniaControl
boolean $connected

parseLogin()

parseLogin(mixed  $player) : string

Get the Login of the Player

Parameters

mixed $player

Returns

string

getEscapedNickname()

getEscapedNickname() : string

Get the Escaped Nickname

Returns

string

isFakePlayer()

isFakePlayer() : boolean

Check if player is not a real player

Returns

boolean

getProvince()

getProvince() : string

Get province

Returns

string

getPathPart()

getPathPart(integer  $partNumber) : string

Get the specified Part of the Path

Parameters

integer $partNumber

Returns

string

getCountry()

getCountry() : string

Get Country

Returns

string

getContinent()

getContinent() : string

Get Continent

Returns

string

updatePlayerFlags()

updatePlayerFlags(  $flags) 

Update the Flags of the Player

Parameters

$flags

updateSpectatorStatus()

updateSpectatorStatus(  $spectatorStatus) 

Update the Spectator Status of the player

Parameters

$spectatorStatus

getCache()

getCache(  $object, string  $cacheName) : mixed

Get the Cache with the given Name

Parameters

$object
string $cacheName

Returns

mixed

setCache()

setCache(mixed  $object, string  $cacheName, mixed  $data) 

Set the Cache Data for the given Name

Parameters

mixed $object
string $cacheName
mixed $data

destroyCache()

destroyCache(mixed  $object, string  $cacheName) 

Destroy a Cache

Parameters

mixed $object
string $cacheName

clearCache()

clearCache() 

Clear the Player's Temporary Data

getPlayerData()

getPlayerData(mixed  $object, string  $dataName, integer  $serverIndex = -1) : mixed

Gets the Player Data

Parameters

mixed $object
string $dataName
integer $serverIndex

Returns

mixed

setPlayerData()

setPlayerData(mixed  $object, string  $dataName, mixed  $value, integer  $serverIndex = -1) : boolean

Sets the Player Data and stores it in the Database

Parameters

mixed $object
string $dataName
mixed $value
integer $serverIndex

Returns

boolean

isMuted()

isMuted() 

dumpCache()

dumpCache() 

Var_Dump the Players Cache