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() constGets the banned player’s name.
Returns:
the player name
getUniqueId
std::optional<UUID> getUniqueId() constGets the banned player’s unique id.
Returns:
the player’s unique id, or std::nullopt if not available
getXuid
std::optional<std::string> getXuid() constGets 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