TrackManiaControl/core/Callbacks/Structures/TrackMania/Models/PlayerScore.php
W1lla van den Munckhof 498237491f First Batch TM Callbacks
Gonna work on the others
2017-03-29 13:28:32 +02:00

134 lines
2.2 KiB
PHP

<?php
namespace ManiaControl\Callbacks\Structures\TrackMania\Models;
use ManiaControl\General\UsageInformationAble;
use ManiaControl\General\UsageInformationTrait;
use ManiaControl\Players\Player;
/**
* PlayerScore Model
*
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class PlayerScore implements UsageInformationAble {
use UsageInformationTrait;
private $player;
private $rank;
private $roundPoints;
private $mapPoints;
private $matchPoints;
private $bestraceTime;
private $bestlapTime;
private $stuntScore;
/**
* Returns the Player
*
* @return Player
*/
public function getPlayer() {
return $this->player;
}
/**
* @param \ManiaControl\Players\Player $player
*/
public function setPlayer(Player $player) {
$this->player = $player;
}
/**
* Returns the Rank
*
* @return int
*/
public function getRank() {
return $this->rank;
}
/**
* Sets the Rank
*
* @param int $rank
*/
public function setRank($rank) {
$this->rank = $rank;
}
/**
* Gets the Round Points
*
* @return int
*/
public function getRoundPoints() {
return $this->roundPoints;
}
/**
* Sets the RoundPoints
*
* @param int $roundPoints
*/
public function setRoundPoints($roundPoints) {
$this->roundPoints = $roundPoints;
}
/**
* Gets the Map Points
*
* @return int
*/
public function getMapPoints() {
return $this->mapPoints;
}
/**
* Sets the Map Points
*
* @param int $mapPoints
*/
public function setMapPoints($mapPoints) {
$this->mapPoints = $mapPoints;
}
/**
* Gets the bestRaceTime
*
* @param int $bestraceTime
*/
public function getbestraceTime(){
return $this->bestraceTime;
}
/**
* Gets the bestRaceTime
*
* @param int $bestraceTime
*/
public function getbestraceTime(){
return $this->bestraceTime;
}
/**
* Gets the bestlapTime
*
* @param int $bestlapTime
*/
public function getbestlapTime(){
return $this->bestlapTime;
}
/**
* Gets the StuntScore
*
* @param int $bestraceTime
*/
public function getstuntScore(){
return $this->stuntScore;
}
}