Interface PlayerGameStats
public interface PlayerGameStats
Player stats container for a game.
- 
Method SummaryModifier and TypeMethodDescription@NotNull String@NotNull UUIDList of registered statistics.default Optional<GameStatistic<?>> getStatistic(@NotNull DefaultStatistics id) getStatistic(@NotNull String id) @NotNull StringvoidregisterStatistic(@NotNull String id, @NotNull GameStatistic<?> defaultValue) 
- 
Method Details- 
getPlayer
- 
getDisplayPlayer- Returns:
- player display name.
 
- 
getUsername- Returns:
- player username.
 
- 
registerStatisticvoid registerStatistic(@NotNull @NotNull String id, @NotNull @NotNull GameStatistic<?> defaultValue) 
- 
getStatistic
- 
getStatistic
- 
getRegisteredList of registered statistics.
 
-