Uses of Enum Class
ch.andre601.advancedserverlist.api.objects.NullBool
Package
Description
Generic Objects used by the platform-specific APIs of AdvancedServerList (With exception of
NullBool
.Contains Profile-related classes and alike used by the API.
-
Uses of NullBool in ch.andre601.advancedserverlist.api.objects
Modifier and TypeClassDescriptionenum
Enum used to return aBoolean
Value with a fallback, should the boolean benull
.Modifier and TypeMethodDescriptionstatic NullBool
Returns a NullBool Instance based on the providedBoolean
instance:static NullBool
Returns the enum constant of this class with the specified name.static NullBool[]
NullBool.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of NullBool in ch.andre601.advancedserverlist.api.profiles
Modifier and TypeMethodDescriptionProfileEntry.extraPlayersEnabled()
Whether the extra players feature should be used or not.ProfileEntry.hidePlayersEnabled()
Whether the player count should be hidden or not.ProfileEntry.maxPlayersEnabled()
Whether the max players feature should be used or not.ProfileEntry.onlinePlayersEnabled()
Whether the online players feature should be used or not.Modifier and TypeMethodDescriptionProfileEntry.Builder.extraPlayersEnabled
(NullBool extraPlayersEnabled) Sets whether the extra players feature should be enabled.ProfileEntry.Builder.hidePlayersEnabled
(NullBool hidePlayersEnabled) Sets whether the player count should be hidden or not.ProfileEntry.Builder.maxPlayersEnabled
(NullBool maxPlayersEnabled) Sets whether the max players feature should be enabled.ProfileEntry.Builder.onlinePlayersEnabled
(NullBool onlinePlayersEnabled) Sets whether the online players feature should be enabled.ModifierConstructorDescriptionProfileEntry
(List<String> motd, List<String> players, String playerCountText, String favicon, NullBool hidePlayersEnabled, NullBool extraPlayersEnabled, NullBool maxPlayersEnabled, NullBool onlinePlayersEnabled, String extraPlayersCount, String maxPlayersCount, String onlinePlayersCount) Creates a new Instance of a ProfileEntry with the provided values.