PlayerInfo
in package
Encapsulates data needed to create a player.
Table of Contents
- $extraData : array<string|int, mixed>
- $locale : string
- $skin : Skin
- $username : string
- $uuid : UuidInterface
- __construct() : mixed
- getExtraData() : array<string|int, mixed>
- getLocale() : string
- getSkin() : Skin
- getUsername() : string
- getUuid() : UuidInterface
Properties
$extraData
private
array<string|int, mixed>
$extraData
Tags
$locale
private
string
$locale
$skin
private
Skin
$skin
$username
private
string
$username
$uuid
private
UuidInterface
$uuid
Methods
__construct()
public
__construct(string $username, UuidInterface $uuid, Skin $skin, string $locale[, array<string|int, mixed> $extraData = [] ]) : mixed
Parameters
- $username : string
- $uuid : UuidInterface
- $skin : Skin
- $locale : string
- $extraData : array<string|int, mixed> = []
Tags
Return values
mixed —getExtraData()
public
getExtraData() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getLocale()
public
getLocale() : string
Return values
string —getSkin()
public
getSkin() : Skin
Return values
Skin —getUsername()
public
getUsername() : string
Return values
string —getUuid()
public
getUuid() : UuidInterface