xuid = $xuid; } public function getXuid() : string{ return $this->xuid; } /** * Returns a new PlayerInfo with XBL player info stripped. This is used to ensure that non-XBL players can't spoof * XBL data. */ public function withoutXboxData() : PlayerInfo{ return new PlayerInfo( $this->getUsername(), $this->getUuid(), $this->getSkin(), $this->getLocale(), $this->getExtraData() ); } }