PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
pocketmine\player\XboxLivePlayerInfo Class Reference
+ Inheritance diagram for pocketmine\player\XboxLivePlayerInfo:
+ Collaboration diagram for pocketmine\player\XboxLivePlayerInfo:

Public Member Functions

 __construct (string $xuid, string $username, UuidInterface $uuid, Skin $skin, string $locale, array $extraData=[])
 
 getExtraData ()
 
 getLocale ()
 
 getSkin ()
 
 getUsername ()
 
 getUuid ()
 
 getXuid ()
 
 withoutXboxData ()
 

Detailed Description

Encapsulates player info specific to players who are authenticated with XBOX Live.

Definition at line 32 of file XboxLivePlayerInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\player\XboxLivePlayerInfo::__construct ( string  $xuid,
string  $username,
UuidInterface  $uuid,
Skin  $skin,
string  $locale,
array  $extraData = [] 
)

Definition at line 35 of file XboxLivePlayerInfo.php.

Member Function Documentation

◆ 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

Definition at line 60 of file PlayerInfo.php.

◆ getSkin()

pocketmine\player\PlayerInfo::getSkin ( )
inherited

Definition at line 56 of file PlayerInfo.php.

◆ getUsername()

pocketmine\player\PlayerInfo::getUsername ( )
inherited

Definition at line 48 of file PlayerInfo.php.

◆ getUuid()

pocketmine\player\PlayerInfo::getUuid ( )
inherited

Definition at line 52 of file PlayerInfo.php.

◆ getXuid()

pocketmine\player\XboxLivePlayerInfo::getXuid ( )

Definition at line 40 of file XboxLivePlayerInfo.php.

◆ 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: