Class GlobalProfileKey
java.lang.Object
org.mvplugins.multiverse.inventories.profile.key.GlobalProfileKey
- Direct Known Subclasses:
ProfileFileKey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull org.bukkit.OfflinePlayer
@Nullable org.bukkit.entity.Player
int
hashCode()
static GlobalProfileKey
Gets a GlobalProfileKey from a playerUUID.static GlobalProfileKey
static GlobalProfileKey
of
(org.bukkit.OfflinePlayer offlinePlayer) toString()
-
Field Details
-
playerUUID
-
playerName
-
-
Constructor Details
-
GlobalProfileKey
-
-
Method Details
-
of
Gets a GlobalProfileKey from a playerUUID. NOTE: Player name may be empty if player has never logged in before.- Parameters:
playerUUID
- The player's UUID- Returns:
- A GlobalProfileKey
-
of
-
of
-
getPlayerUUID
-
getPlayerName
-
getOfflinePlayer
@NotNull public @NotNull org.bukkit.OfflinePlayer getOfflinePlayer() -
getOnlinePlayer
@Nullable public @Nullable org.bukkit.entity.Player getOnlinePlayer() -
equals
-
hashCode
public int hashCode() -
toString
-