Interface PlayerDTO


public interface PlayerDTO
Interface representing a Player Data Transfer Object (DTO).
  • Method Details

    • getId

      Integer getId()
      Gets the ID of the player.
      Returns:
      the ID of the player
    • getUuid

      UUID getUuid()
      Gets the UUID of the player.
      Returns:
      the UUID of the player
    • getLastKnownName

      String getLastKnownName()
      Gets the last known name of the player.
      Returns:
      the last known name of the player
    • updateLastKnownName

      PlayerDTO updateLastKnownName(String name) throws SQLException
      Updates the last known name of the player. Returns the updated player object.
      Parameters:
      name - the new last known name of the player
      Returns:
      the updated player object
      Throws:
      SQLException
    • getUsingGroupTitleID

      Integer getUsingGroupTitleID()
      Gets the ID of the group title the player is using.
      Returns:
      the ID of the group title the player is using