added typhinting ladderstat in player object

This commit is contained in:
kremsy 2015-07-25 12:18:39 +02:00
parent 790dbeb0a2
commit 30945a17e6
2 changed files with 55 additions and 49 deletions

View File

@ -1,3 +1,7 @@
###v0.162###
#Additions
- added typhinting ladderStat in Player object
###v0.161### ###v0.161###
#Additions #Additions
- added admin chatcommand //uptime which displays the time since when the server is running - added admin chatcommand //uptime which displays the time since when the server is running

View File

@ -5,6 +5,7 @@ namespace ManiaControl\Players;
use ManiaControl\ManiaControl; use ManiaControl\ManiaControl;
use ManiaControl\Utils\ClassUtil; use ManiaControl\Utils\ClassUtil;
use ManiaControl\Utils\Formatter; use ManiaControl\Utils\Formatter;
use Maniaplanet\DedicatedServer\Structures\LadderStats;
/** /**
* Player Model Class * Player Model Class
@ -32,6 +33,7 @@ class Player {
public $isOfficial = null; public $isOfficial = null;
public $ladderScore = -1.; public $ladderScore = -1.;
public $ladderRank = -1; public $ladderRank = -1;
/** @var LadderStats $ladderStats */
public $ladderStats = null; public $ladderStats = null;
public $joinTime = -1; public $joinTime = -1;
public $ipAddress = null; public $ipAddress = null;