java.lang.Object
org.mvplugins.multiverse.inventories.profile.data.ProfileDataSnapshot
org.mvplugins.multiverse.inventories.profile.data.PlayerProfile
All Implemented Interfaces:
Cloneable, ProfileData

public final class PlayerProfile extends ProfileDataSnapshot
Contains all the world/group specific data for a player.
  • Method Details

    • newProfile

      public static PlayerProfile newProfile(ProfileKey profileKey)
    • getContainerType

      public ContainerType getContainerType()
      Returns:
      The container type of profile, a group or world.
    • getContainerName

      public String getContainerName()
      Returns:
      The name of the container, world or group, containing this profile.
    • getPlayerUUID

      public UUID getPlayerUUID()
      Returns:
      the Player uuid associated with this profile.
    • getPlayerName

      public String getPlayerName()
      Returns:
      the Player name associated with this profile.
    • getProfileType

      public ProfileType getProfileType()
      Returns:
      The type of profile this object represents.
    • clone

      public PlayerProfile clone()
      Overrides:
      clone in class ProfileDataSnapshot
    • toString

      public String toString()
      Overrides:
      toString in class Object