PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private string $username, private UuidInterface $uuid, private Skin $skin, private string $locale, private array $extraData=[]) | |
getExtraData () | |
getLocale () | |
getSkin () | |
getUsername () | |
getUuid () | |
Encapsulates data needed to create a player.
Definition at line 33 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::__construct | ( | private string | $username, |
private UuidInterface | $uuid, | ||
private Skin | $skin, | ||
private string | $locale, | ||
private array | $extraData = [] ) |
mixed[] | $extraData | @phpstan-param array<string, mixed> $extraData |
Definition at line 38 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::getExtraData | ( | ) |
Definition at line 68 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::getLocale | ( | ) |
Definition at line 60 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::getSkin | ( | ) |
Definition at line 56 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::getUsername | ( | ) |
Definition at line 48 of file PlayerInfo.php.
pocketmine\player\PlayerInfo::getUuid | ( | ) |
Definition at line 52 of file PlayerInfo.php.