Class InteractiveCustomUIPage<T>
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage<T>
- Direct Known Subclasses:
com.hypixel.hytale.server.core.entity.entities.player.pages.choices.ChoiceBasePage,com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BuilderCodec<T> private static final com.hypixel.hytale.logger.HytaleLoggerFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
lifetime, playerRef -
Constructor Summary
ConstructorsConstructorDescriptionInteractiveCustomUIPage(PlayerRef playerRef, CustomPageLifetime lifetime, BuilderCodec<T> eventDataCodec) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, String rawData) voidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, T data) protected voidsendUpdate(UICommandBuilder commandBuilder, boolean clear) protected voidsendUpdate(UICommandBuilder commandBuilder, UIEventBuilder eventBuilder, boolean clear) Methods inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
build, close, getLifetime, onDismiss, rebuild, sendUpdate, sendUpdate, setLifetime
-
Field Details
-
LOGGER
@Nonnull private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
eventDataCodec
-
-
Constructor Details
-
InteractiveCustomUIPage
public InteractiveCustomUIPage(@Nonnull PlayerRef playerRef, @Nonnull CustomPageLifetime lifetime, @Nonnull BuilderCodec<T> eventDataCodec)
-
-
Method Details
-
handleDataEvent
public void handleDataEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull T data) -
sendUpdate
protected void sendUpdate(@Nullable UICommandBuilder commandBuilder, @Nullable UIEventBuilder eventBuilder, boolean clear) -
handleDataEvent
public void handleDataEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, String rawData) - Overrides:
handleDataEventin classCustomUIPage
-
sendUpdate
- Overrides:
sendUpdatein classCustomUIPage
-