Interface BoxPlayer
public interface BoxPlayer
An interface of the online user.
-
Method Summary
Modifier and TypeMethodDescription@NotNull BoxUserasUser()@NotNull StockHolderGets the currentStockHolderto deposit or withdraw.@NotNull StringgetName()Gets the name of this user.@NotNull PersonalStockHolderGets the personalStockHolderof this player.@NotNull PlayerGets thePlayerinstance.@NotNull UUIDgetUUID()Gets theUUIDof this user.voidsetCurrentStockHolder(@NotNull StockHolder stockHolder) Sets theStockHolderto deposit or withdraw.
-
Method Details
-
getUUID
-
getName
-
asUser
-
getPlayer
-
getPersonalStockHolder
Gets the personalStockHolderof this player.- Returns:
- the personal
StockHolderof this player
-
getCurrentStockHolder
Gets the currentStockHolderto deposit or withdraw.- Returns:
- the current
StockHolder
-
setCurrentStockHolder
Sets theStockHolderto deposit or withdraw.- Parameters:
stockHolder- theStockHolder
-