Skip to Content
⚠ Under Construction
ReferenceC++ APIOfflinePlayer

endstone::OfflinePlayer

Represents a reference to a player identity and the data belonging to a player that is stored on the disk and can, thus, be retrieved without the player needing to be online.

Functions:

NameDescription
getNameReturns the name of this player.
getUniqueIdReturns the UUID of this player.

getName

std::string getName() const

Returns the name of this player.

Returns:

Player name or null if we have not seen a name for this player yet

getUniqueId

UUID getUniqueId() const

Returns the UUID of this player.

Returns:

Player UUID

Last updated on