Encapsulates player info specific to players who are authenticated with XBOX Live.
Definition at line 32 of file XboxLivePlayerInfo.php.
◆ __construct()
pocketmine\player\XboxLivePlayerInfo::__construct |
( |
string | $xuid, |
|
|
string | $username, |
|
|
UuidInterface | $uuid, |
|
|
Skin | $skin, |
|
|
string | $locale, |
|
|
array | $extraData = [] ) |
◆ getExtraData()
pocketmine\player\PlayerInfo::getExtraData |
( |
| ) |
|
|
inherited |
- Returns
- mixed[] @phpstan-return array<string, mixed>
Definition at line 68 of file PlayerInfo.php.
◆ getLocale()
pocketmine\player\PlayerInfo::getLocale |
( |
| ) |
|
|
inherited |
◆ getSkin()
pocketmine\player\PlayerInfo::getSkin |
( |
| ) |
|
|
inherited |
◆ getUsername()
pocketmine\player\PlayerInfo::getUsername |
( |
| ) |
|
|
inherited |
◆ getUuid()
pocketmine\player\PlayerInfo::getUuid |
( |
| ) |
|
|
inherited |
◆ getXuid()
pocketmine\player\XboxLivePlayerInfo::getXuid |
( |
| ) |
|
◆ withoutXboxData()
pocketmine\player\XboxLivePlayerInfo::withoutXboxData |
( |
| ) |
|
Returns a new PlayerInfo with XBL player info stripped. This is used to ensure that non-XBL players can't spoof XBL data.
Definition at line 48 of file XboxLivePlayerInfo.php.
The documentation for this class was generated from the following file: