Class ProfileFileKey
java.lang.Object
org.mvplugins.multiverse.inventories.profile.key.GlobalProfileKey
org.mvplugins.multiverse.inventories.profile.key.ProfileFileKey
- Direct Known Subclasses:
ProfileKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ContainerType
protected final String
protected final int
Fields inherited from class org.mvplugins.multiverse.inventories.profile.key.GlobalProfileKey
playerName, playerUUID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProfileFileKey
(ContainerType containerType, String dataName, UUID playerUUID, String playerName, int hashCode) -
Method Summary
Modifier and TypeMethodDescriptionboolean
forContainerType
(ContainerType containerType) forProfileType
(ProfileType profileType) static ProfileFileKey
fromPlayerProfile
(PlayerProfile profile) int
hashCode()
boolean
isSameFile
(ProfileFileKey other) static ProfileFileKey
of
(ContainerType containerType, String dataName, UUID playerUUID, String playerName) static ProfileFileKey
of
(ContainerType containerType, String dataName, org.bukkit.OfflinePlayer offlinePlayer) static ProfileFileKey
of
(ContainerType containerType, String dataName, GlobalProfileKey globalProfileKey) toString()
Methods inherited from class org.mvplugins.multiverse.inventories.profile.key.GlobalProfileKey
getOfflinePlayer, getOnlinePlayer, getPlayerName, getPlayerUUID, of, of, of
-
Field Details
-
containerType
-
dataName
-
hashCode
protected final int hashCode
-
-
Constructor Details
-
ProfileFileKey
protected ProfileFileKey(ContainerType containerType, String dataName, UUID playerUUID, String playerName, int hashCode)
-
-
Method Details
-
fromPlayerProfile
-
of
public static ProfileFileKey of(ContainerType containerType, String dataName, GlobalProfileKey globalProfileKey) -
of
public static ProfileFileKey of(ContainerType containerType, String dataName, org.bukkit.OfflinePlayer offlinePlayer) -
of
public static ProfileFileKey of(ContainerType containerType, String dataName, UUID playerUUID, String playerName) -
forProfileType
-
forContainerType
-
getContainerType
-
getDataName
-
isSameFile
-
equals
- Overrides:
equals
in classGlobalProfileKey
-
hashCode
public int hashCode()- Overrides:
hashCode
in classGlobalProfileKey
-
toString
- Overrides:
toString
in classGlobalProfileKey
-