Uses of Enum Class
de.murmelmeister.murmelapi.playtime.PlayTimeType
Packages that use PlayTimeType
-
Uses of PlayTimeType in de.murmelmeister.murmelapi.playtime
Methods in de.murmelmeister.murmelapi.playtime that return PlayTimeTypeModifier and TypeMethodDescriptionstatic PlayTimeTypeReturns the enum constant of this class with the specified name.static PlayTimeType[]PlayTimeType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in de.murmelmeister.murmelapi.playtime with parameters of type PlayTimeTypeModifier and TypeMethodDescriptionvoidPlayTime.addTime(int userId, PlayTimeType type) Adds 1 unit of time to the play time of a user with the given user ID and play time type.voidPlayTime.addTime(int userId, PlayTimeType type, long time) Adds the specified amount of time to the play time of a user with the given user ID and play time type.voidPlayTimeProvider.addTime(int userId, PlayTimeType type) voidPlayTimeProvider.addTime(int userId, PlayTimeType type, long time) longPlayTime.getTime(int userId, PlayTimeType type) Obtains the time for the given user ID and play time type.longPlayTimeProvider.getTime(int userId, PlayTimeType type) voidPlayTime.removeTime(int userId, PlayTimeType type) Removes the play time for a user with the given user ID and play time type.voidPlayTime.removeTime(int userId, PlayTimeType type, long time) Removes the specified amount of time from the play time of a user with the given user ID and play time type.voidPlayTimeProvider.removeTime(int userId, PlayTimeType type) voidPlayTimeProvider.removeTime(int userId, PlayTimeType type, long time) voidPlayTime.resetTime(int userId, PlayTimeType type) Resets the play time for a user with the given user ID and play time type.voidPlayTimeProvider.resetTime(int userId, PlayTimeType type) voidPlayTime.setTime(int userId, PlayTimeType type, long time) Sets the play time for a user with the given user ID and play time type.voidPlayTimeProvider.setTime(int userId, PlayTimeType type, long time) -
Uses of PlayTimeType in de.murmelmeister.murmelapi.utils
Methods in de.murmelmeister.murmelapi.utils with parameters of type PlayTimeTypeModifier and TypeMethodDescriptionprivate static StringTimeUtil.getTimeValue(long time, PlayTimeType type) Returns the formatted time value based on the given time and PlayTimeType.