\MCTeam\DedimaniaDedimaniaData

ManiaControl Dedimania Plugin Data Structure

Summary

Methods
Properties
Constants
__construct()
sortRecords()
toArray()
getRecordCount()
getPlayerMaxRank()
addPlayer()
removePlayer()
$game
$path
$packmask
$serverVersion
$serverBuild
$tool
$version
$login
$code
$sessionId
$records
$players
$directoryAccessChecked
$serverMaxRank
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$game

$game : 

Type

$path

$path : 

Type

$packmask

$packmask : 

Type

$serverVersion

$serverVersion : 

Type

$serverBuild

$serverBuild : 

Type

$tool

$tool : 

Type

$version

$version : 

Type

$login

$login : 

Type

$code

$code : 

Type

$sessionId

$sessionId : 

Type

$directoryAccessChecked

$directoryAccessChecked : 

Type

$serverMaxRank

$serverMaxRank : 

Type

Methods

__construct()

__construct(string  $serverLogin, string  $dedimaniaCode, string  $path, string  $packmask, \Maniaplanet\DedicatedServer\Structures\Version  $serverVersion) 

Construct a new Dedimania Data Model

Parameters

string $serverLogin
string $dedimaniaCode
string $path
string $packmask
\Maniaplanet\DedicatedServer\Structures\Version $serverVersion

sortRecords()

sortRecords() 

Sort the Records

toArray()

toArray() : array

Build the Data Array

Returns

array

getRecordCount()

getRecordCount() : integer

Get the Number of Records

Returns

integer

getPlayerMaxRank()

getPlayerMaxRank(mixed  $login) : integer

Get Max Rank for a certain Player

Parameters

mixed $login

Returns

integer

removePlayer()

removePlayer(string  $login) 

Remove a Dedimania Player by its login

Parameters

string $login