Class PageManager
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.PageManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CustomUIPageprivate final AtomicIntegerprivate PlayerRefprivate WindowManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidhandleEvent(Ref<EntityStore> ref, Store<EntityStore> store, CustomPageEvent event) voidinit(PlayerRef playerRef, WindowManager windowManager) voidopenCustomPage(Ref<EntityStore> ref, Store<EntityStore> store, CustomUIPage page) booleanopenCustomPageWithWindows(Ref<EntityStore> ref, Store<EntityStore> store, CustomUIPage page, Window... windows) voidsetPage(Ref<EntityStore> ref, Store<EntityStore> store, Page page) voidsetPage(Ref<EntityStore> ref, Store<EntityStore> store, Page page, boolean canCloseThroughInteraction) booleansetPageWithWindows(Ref<EntityStore> ref, Store<EntityStore> store, Page page, boolean canCloseThroughInteraction, Window... windows) voidupdateCustomPage(CustomPage page)
-
Field Details
-
windowManager
-
playerRef
-
customPage
-
customPageRequiredAcknowledgments
-
-
Constructor Details
-
PageManager
public PageManager()
-
-
Method Details
-
init
-
clearCustomPageAcknowledgements
public void clearCustomPageAcknowledgements() -
getCustomPage
-
setPage
public void setPage(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull Page page) -
setPage
public void setPage(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull Page page, boolean canCloseThroughInteraction) -
openCustomPage
public void openCustomPage(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull CustomUIPage page) -
setPageWithWindows
public boolean setPageWithWindows(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull Page page, boolean canCloseThroughInteraction, Window... windows) -
openCustomPageWithWindows
public boolean openCustomPageWithWindows(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull CustomUIPage page, Window... windows) -
updateCustomPage
-
handleEvent
public void handleEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull CustomPageEvent event)
-