48 lines
770 B
PHP
48 lines
770 B
PHP
<?php class Player
|
|
{
|
|
/** @var String */
|
|
private $uuid;
|
|
|
|
/** @var String */
|
|
private $username;
|
|
|
|
/** @var String */
|
|
private $rank;
|
|
|
|
/**
|
|
* Player constructor.
|
|
* @param String $uuid
|
|
* @param String $username
|
|
* @param String $rank
|
|
*/
|
|
function Player($uuid, $username, $rank)
|
|
{
|
|
$this->uuid = $uuid;
|
|
$this->username = $username;
|
|
$this->rank = $rank;
|
|
}
|
|
|
|
/**
|
|
* @return String
|
|
*/
|
|
public function getUUID()
|
|
{
|
|
return $this->uuid;
|
|
}
|
|
|
|
/**
|
|
* @return String
|
|
*/
|
|
public function getUsername()
|
|
{
|
|
return $this->username;
|
|
}
|
|
|
|
/**
|
|
* @return String
|
|
*/
|
|
public function getRank()
|
|
{
|
|
return $this->rank;
|
|
}
|
|
} |