Contents
Class PluginListPage
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage<PluginListPage.PluginListPageEventData>
com.hypixel.hytale.server.core.plugin.pages.PluginListPage
A UI page that displays all existing plugins currently installed on this instance
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPluginListPage(PlayerRef playerRef) Default Constructor for aPluginListPageinstance -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(Ref<EntityStore> ref, UICommandBuilder commandBuilder, UIEventBuilder eventBuilder, Store<EntityStore> store) Called to build this pagevoidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, PluginListPage.PluginListPageEventData data) Called to handle a data event for this pagevoidhandlePluginChangeEvent(PluginIdentifier plugin, boolean activeState) Called to handle changes made to a specific pluginvoidonDismiss(Ref<EntityStore> ref, Store<EntityStore> store) Called when this page is dismissedMethods inherited from class InteractiveCustomUIPage
handleDataEventMethods inherited from class CustomUIPage
getLifetime, setLifetime
-
Constructor Details
-
PluginListPage
Default Constructor for aPluginListPageinstance- Parameters:
playerRef- ThePlayerRefinstance of the associated player
-
-
Method Details
-
build
public void build(@Nonnull Ref<EntityStore> ref, @Nonnull UICommandBuilder commandBuilder, @Nonnull UIEventBuilder eventBuilder, @Nonnull Store<EntityStore> store) Description copied from class:CustomUIPageCalled to build this page- Specified by:
buildin classCustomUIPage- Parameters:
ref- The entity ref of the affiliated playercommandBuilder- The command builder used while building this UIeventBuilder- The event builder used while building this UIstore- The entity store for component access
-
handleDataEvent
public void handleDataEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull PluginListPage.PluginListPageEventData data) Description copied from class:InteractiveCustomUIPageCalled to handle a data event for this page- Overrides:
handleDataEventin classInteractiveCustomUIPage<PluginListPage.PluginListPageEventData>- Parameters:
ref- The entity reference of the affiliated entitystore- The entity store for component accessdata- The data event to handle
-
onDismiss
Description copied from class:CustomUIPageCalled when this page is dismissed- Overrides:
onDismissin classCustomUIPage
-
handlePluginChangeEvent
Called to handle changes made to a specific plugin- Parameters:
plugin- The unique identifier of the plugin that has changedactiveState- The active state of the plugin
-