XboxLivePlayerInfo
Extends PlayerInfo
Encapsulates player info specific to players who are authenticated with XBOX Live.
Methods
__construct()
php
public function __construct(string $xuid, string $username, \Ramsey\Uuid\UuidInterface $uuid, \pocketmine\entity\Skin $skin, string $locale, array $extraData = [], ?\pocketmine\network\mcpe\protocol\types\skin\SkinData $networkSkinData = null)getXuid()
php
public function getXuid() : stringwithoutXboxData()
php
public function withoutXboxData() : \pocketmine\player\PlayerInfoReturns a new PlayerInfo with XBL player info stripped. This is used to ensure that non-XBL players can't spoof XBL data.
