clearer default values
This commit is contained in:
parent
d68031e052
commit
8c32655ba9
@ -18,25 +18,25 @@ class Map {
|
|||||||
*/
|
*/
|
||||||
public $index = -1;
|
public $index = -1;
|
||||||
public $name = 'undefined';
|
public $name = 'undefined';
|
||||||
public $rawName = '';
|
public $rawName = null;
|
||||||
public $uid = '';
|
public $uid = null;
|
||||||
public $fileName = '';
|
public $fileName = null;
|
||||||
public $environment = '';
|
public $environment = null;
|
||||||
public $authorTime = -1;
|
public $authorTime = -1;
|
||||||
public $goldTime = -1;
|
public $goldTime = -1;
|
||||||
public $copperPrice = -1;
|
public $copperPrice = -1;
|
||||||
public $mapType = '';
|
public $mapType = null;
|
||||||
public $mapStyle = '';
|
public $mapStyle = null;
|
||||||
public $nbCheckpoints = -1;
|
public $nbCheckpoints = -1;
|
||||||
public $nbLaps = -1;
|
public $nbLaps = -1;
|
||||||
/** @var MXMapInfo $mx */
|
/** @var MXMapInfo $mx */
|
||||||
public $mx = null;
|
public $mx = null;
|
||||||
public $authorLogin = '';
|
public $authorLogin = null;
|
||||||
public $authorNick = '';
|
public $authorNick = null;
|
||||||
public $authorZone = '';
|
public $authorZone = null;
|
||||||
public $authorEInfo = '';
|
public $authorEInfo = null;
|
||||||
public $comment = '';
|
public $comment = null;
|
||||||
public $titleUid = '';
|
public $titleUid = null;
|
||||||
public $startTime = -1;
|
public $startTime = -1;
|
||||||
public $lastUpdate = 0;
|
public $lastUpdate = 0;
|
||||||
public $karma = null;
|
public $karma = null;
|
||||||
|
@ -19,24 +19,24 @@ class Player {
|
|||||||
*/
|
*/
|
||||||
public $index = -1;
|
public $index = -1;
|
||||||
public $pid = -1;
|
public $pid = -1;
|
||||||
public $login = '';
|
public $login = null;
|
||||||
public $nickname = '';
|
public $nickname = null;
|
||||||
public $rawNickname = '';
|
public $rawNickname = null;
|
||||||
public $path = '';
|
public $path = null;
|
||||||
public $authLevel = 0;
|
public $authLevel = 0;
|
||||||
public $language = '';
|
public $language = null;
|
||||||
public $avatar = '';
|
public $avatar = null;
|
||||||
public $allies = array();
|
public $allies = array();
|
||||||
public $clubLink = '';
|
public $clubLink = null;
|
||||||
public $teamId = -1;
|
public $teamId = -1;
|
||||||
public $isOfficial = false;
|
public $isOfficial = null;
|
||||||
public $ladderScore = -1.;
|
public $ladderScore = -1.;
|
||||||
public $ladderRank = -1;
|
public $ladderRank = -1;
|
||||||
public $ladderStats = null;
|
public $ladderStats = null;
|
||||||
public $joinTime = -1;
|
public $joinTime = -1;
|
||||||
public $ipAddress = '';
|
public $ipAddress = null;
|
||||||
public $isConnected = true;
|
public $isConnected = true;
|
||||||
public $clientVersion = '';
|
public $clientVersion = null;
|
||||||
public $downloadRate = -1;
|
public $downloadRate = -1;
|
||||||
public $uploadRate = -1;
|
public $uploadRate = -1;
|
||||||
public $skins = null;
|
public $skins = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user