Class WorldAliasSettings
java.lang.Object
com.djrapitops.plan.settings.config.WorldAliasSettings
Class responsible for managing config settings for World Aliases.
-
Constructor Summary
ConstructorDescriptionWorldAliasSettings(dagger.Lazy<PlanConfig> config, dagger.Lazy<Locale> locale, dagger.Lazy<Formatters> formatters, Processing processing, ErrorLogger errorLogger)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new World to the config section.getGMTimesPerAlias(WorldTimes worldTimes)
getLongestWorldPlayed(ActiveSession session)
getLongestWorldPlayed(FinishedSession session)
getPlaytimePerAlias(WorldTimes worldTimes)
-
Constructor Details
-
WorldAliasSettings
@Inject public WorldAliasSettings(dagger.Lazy<PlanConfig> config, dagger.Lazy<Locale> locale, dagger.Lazy<Formatters> formatters, Processing processing, ErrorLogger errorLogger)
-
-
Method Details
-
addWorld
Adds a new World to the config section.If exists does not override old value.
- Parameters:
world
- World name
-
getPlaytimePerAlias
-
getGMTimesPerAlias
-
getLongestWorldPlayed
-
getLongestWorldPlayed
-