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