callback updates
This commit is contained in:
@ -18,7 +18,10 @@ class PlayerScore extends CommonPlayerScore {
|
||||
private $bestRaceTime;
|
||||
private $bestLapTime;
|
||||
private $stuntScore;
|
||||
|
||||
private $bestRaceRespawns;
|
||||
private $bestRaceCheckpoints;
|
||||
private $bestLapRespawns;
|
||||
private $bestLapCheckpoints;
|
||||
|
||||
/**
|
||||
* Returns the Rank
|
||||
@ -88,4 +91,61 @@ class PlayerScore extends CommonPlayerScore {
|
||||
$this->stuntScore = $stuntScore;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBestRaceRespawns() {
|
||||
return $this->bestRaceRespawns;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $bestRaceRespawns
|
||||
*/
|
||||
public function setBestRaceRespawns($bestRaceRespawns) {
|
||||
$this->bestRaceRespawns = $bestRaceRespawns;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBestRaceCheckpoints() {
|
||||
return $this->bestRaceCheckpoints;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $bestRaceCheckpoints
|
||||
*/
|
||||
public function setBestRaceCheckpoints($bestRaceCheckpoints) {
|
||||
$this->bestRaceCheckpoints = $bestRaceCheckpoints;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBestLapRespawns() {
|
||||
return $this->bestLapRespawns;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $bestLapRespawns
|
||||
*/
|
||||
public function setBestLapRespawns($bestLapRespawns) {
|
||||
$this->bestLapRespawns = $bestLapRespawns;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBestLapCheckpoints() {
|
||||
return $this->bestLapCheckpoints;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $bestLapCheckpoints
|
||||
*/
|
||||
public function setBestLapCheckpoints($bestLapCheckpoints) {
|
||||
$this->bestLapCheckpoints = $bestLapCheckpoints;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -30,11 +30,12 @@ class OnScoresStructure extends CommonScoresStructure {
|
||||
$playerScore->setBestRaceTime($jsonPlayer->bestracetime);
|
||||
$playerScore->setBestLapTime($jsonPlayer->bestlaptime);
|
||||
$playerScore->setStuntScore($jsonPlayer->stuntscore);
|
||||
$playerScore->setBestRaceRespawns($jsonPlayer->bestracerespawns);
|
||||
$playerScore->setBestRaceCheckpoints($jsonPlayer->bestracecheckpoints);
|
||||
$playerScore->setBestLapRespawns($jsonPlayer->bestlaprespawns);
|
||||
$playerScore->setBestLapCheckpoints($jsonPlayer->bestlapcheckpoints);
|
||||
|
||||
$this->playerScores[$jsonPlayer->login] = $playerScore;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user