|
@@ 30-39 (lines=10) @@
|
| 27 |
|
* |
| 28 |
|
* @param array $checkpoints |
| 29 |
|
*/ |
| 30 |
|
public function setLocalRecord($nick, $checkpoints) |
| 31 |
|
{ |
| 32 |
|
if (count($checkpoints) > 0) { |
| 33 |
|
$this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', Builder::getArray($checkpoints, true)); |
| 34 |
|
$this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText($nick)); |
| 35 |
|
} else { |
| 36 |
|
$this->updateValue($this->playerGroup, 'LocalRecordCheckpoints', "Integer[Integer]"); |
| 37 |
|
$this->updateValue($this->playerGroup, 'LocalRecordHolder', Builder::escapeText("-")); |
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
public function setDedimaniaRecord($nick, $checkpoints) |
| 42 |
|
{ |
|
@@ 41-50 (lines=10) @@
|
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
public function setDedimaniaRecord($nick, $checkpoints) |
| 42 |
|
{ |
| 43 |
|
if (count($checkpoints) > 0) { |
| 44 |
|
$this->updateValue($this->playerGroup, 'DedimaniaCheckpoints', Builder::getArray($checkpoints, true)); |
| 45 |
|
$this->updateValue($this->playerGroup, 'DedimaniaHolder', Builder::escapeText($nick)); |
| 46 |
|
} else { |
| 47 |
|
$this->updateValue($this->playerGroup, 'DedimaniaCheckpoints', "Integer[Integer]"); |
| 48 |
|
$this->updateValue($this->playerGroup, 'DedimaniaHolder', Builder::escapeText($nick)); |
| 49 |
|
} |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
} |
| 53 |
|
|