OfflinePlayer
implements
IPlayer
Interfaces, Classes, Traits and Enums
- IPlayer
Table of Contents
-
$name
: string
-
$namedtag
: CompoundTag|null
-
__construct()
: mixed
-
getFirstPlayed()
: int|null
-
getLastPlayed()
: int|null
-
getName()
: string
-
hasPlayedBefore()
: bool
$name
private
string
$name
$namedtag
private
CompoundTag|null
$namedtag
__construct()
public
__construct(string $name, CompoundTag|null $namedtag) : mixed
Parameters
-
$name
: string
-
-
$namedtag
: CompoundTag|null
-
Return values
mixed
—
getFirstPlayed()
public
getFirstPlayed() : int|null
Return values
int|null
—
getLastPlayed()
public
getLastPlayed() : int|null
Return values
int|null
—
getName()
public
getName() : string
Return values
string
—
hasPlayedBefore()
public
hasPlayedBefore() : bool
Return values
bool
—