Contents
Class PluginListPageManager.SessionSettings
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginListPageManager.SessionSettings
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
- Enclosing class:
PluginListPageManager
public static class PluginListPageManager.SessionSettings
extends Object
implements Component<EntityStore>
A component that stores the session settings for a player
Used to determine what plugin information should be displayed to the player
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether to only display descriptive pluginsThe current query typed in the search bar, or an empty string if nothing is typedFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEmpty Constructor for aPluginListPageManager.SessionSettingsinstanceSessionSettings(boolean descriptiveOnly, String searchQuery) Default Constructor for aPluginListPageManager.SessionSettingsinstance -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
descriptiveOnly
public boolean descriptiveOnlyWhether to only display descriptive plugins -
searchQuery
The current query typed in the search bar, or an empty string if nothing is typed
-
-
Constructor Details
-
SessionSettings
public SessionSettings()Empty Constructor for aPluginListPageManager.SessionSettingsinstance -
SessionSettings
Default Constructor for aPluginListPageManager.SessionSettingsinstance- Parameters:
descriptiveOnly- Whether to only display descriptive pluginssearchQuery- The current query typed in the search bar, or an empty string if nothing is typed
-
-
Method Details
-
getComponentType
@Nonnull public static ComponentType<EntityStore, PluginListPageManager.SessionSettings> getComponentType()- Returns:
- the component type for
PluginListPageManager.SessionSettingscomponents
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-