22declare(strict_types=1);
24namespace pocketmine\player;
28use Ramsey\Uuid\UuidInterface;
39 private string $username,
40 private UuidInterface $uuid,
42 private string $locale,
43 private array $extraData = []
48 public function getUsername() : string{
49 return $this->username;
52 public function getUuid() : UuidInterface{
56 public function getSkin() : Skin{
60 public function getLocale() : string{
69 return $this->extraData;
__construct(private string $username, private UuidInterface $uuid, private Skin $skin, private string $locale, private array $extraData=[])
static clean(string $string, bool $removeFormat=true)