Interface BoxPlayer


public interface BoxPlayer
An interface of the online user.
  • Method Details

    • getUUID

      @NotNull @NotNull UUID getUUID()
      Gets the UUID of this user.
      Returns:
      the UUID of this user
    • getName

      @NotNull @NotNull String getName()
      Gets the name of this user.
      Returns:
      the name of this user
    • asUser

      @NotNull @NotNull BoxUser asUser()
      Returns BoxUser that created from getUUID() and getName().
      Returns:
      a BoxUser created from getUUID() and getName()
    • getPlayer

      @NotNull @NotNull org.bukkit.entity.Player getPlayer()
      Gets the Player instance.
      Returns:
      the Player
    • getPersonalStockHolder

      @NotNull @NotNull PersonalStockHolder getPersonalStockHolder()
      Gets the personal StockHolder of this player.
      Returns:
      the personal StockHolder of this player
    • getCurrentStockHolder

      @NotNull @NotNull StockHolder getCurrentStockHolder()
      Gets the current StockHolder to deposit or withdraw.
      Returns:
      the current StockHolder
    • setCurrentStockHolder

      void setCurrentStockHolder(@NotNull @NotNull StockHolder stockHolder)
      Sets the StockHolder to deposit or withdraw.
      Parameters:
      stockHolder - the StockHolder