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 ContainerTypeprotected final Stringprotected final intFields inherited from class org.mvplugins.multiverse.inventories.profile.key.GlobalProfileKey
playerName, playerUUID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProfileFileKey(ContainerType containerType, String dataName, UUID playerUUID, String playerName, int hashCode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanforContainerType(ContainerType containerType) forProfileType(ProfileType profileType) static ProfileFileKeyfromPlayerProfile(PlayerProfile profile) inthashCode()booleanisSameFile(ProfileFileKey other) static ProfileFileKeyof(ContainerType containerType, String dataName, UUID playerUUID, String playerName) static ProfileFileKeyof(ContainerType containerType, String dataName, org.bukkit.OfflinePlayer offlinePlayer) static ProfileFileKeyof(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:
equalsin classGlobalProfileKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classGlobalProfileKey
-
toString
- Overrides:
toStringin classGlobalProfileKey
-