endstone::PlayerBanEntry
Bases: endstone::BanEntry
Functions:
Name | Description |
---|---|
PlayerBanEntry | |
getName | Gets the banned player’s name. |
getUniqueId | Gets the banned player’s unique id. |
getXuid | Gets the banned player’s xbox user id (xuid). |
PlayerBanEntry
PlayerBanEntry(std::string name, std::optional<UUID> uuid = std::nullopt,
std::optional<std::string> xuid = std::nullopt)
getName
std::string getName() const
Gets the banned player’s name.
Returns:
the player name
getUniqueId
std::optional<UUID> getUniqueId() const
Gets the banned player’s unique id.
Returns:
the player’s unique id, or std::nullopt if not available
getXuid
std::optional<std::string> getXuid() const
Gets the banned player’s xbox user id (xuid).
Returns:
the player’s xbox user id (xuid), or std::nullopt if not available
Last updated on