set up VReplayChecks for Dedimania records in Laps mode (#187)

This commit is contained in:
agiorla
2018-07-03 12:12:47 -04:00
committed by Lukas Kremsmayr
parent 0ab36b6fd3
commit 56b361fff9
3 changed files with 38 additions and 5 deletions

View File

@ -25,6 +25,7 @@ class RecordData {
public $newRecord = false;
public $vReplay = '';
public $top1GReplay = '';
public $allCheckpoints = '';
/**
* Construct a Record by a given Record Array
@ -54,12 +55,13 @@ class RecordData {
* @param int $checkpoints
* @param bool $newRecord
*/
public function constructNewRecord($login, $nickname, $best, $checkpoints, $newRecord = false) {
public function constructNewRecord($login, $nickname, $best, $checkpoints, $newRecord = false, $allCPs = '') {
$this->nullRecord = false;
$this->login = $login;
$this->nickname = $nickname;
$this->best = $best;
$this->checkpoints = $checkpoints;
$this->newRecord = $newRecord;
$this->allCheckpoints = $allCPs;
}
}