Class ClickRoutingPhase
java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.internal.engine.phase.ClickRoutingPhase
Click policy and routing (spec ยง6): pre-cancel from config and per-component override,
handler dispatch with last-writer-wins cancellation, the safety-floor actions
force-cancelled after handlers, and end-of-tick post-actions. Constructed and invoked
only by
ViewEngine.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidroute(@NotNull ViewSession session, @NotNull org.bukkit.event.inventory.InventoryClickEvent event) Routes a Bukkit click event into the session per the click policy.
-
Constructor Details
-
ClickRoutingPhase
Creates the phase.- Parameters:
engine- the owning engine
-
-
Method Details
-
route
public void route(@NotNull @NotNull ViewSession session, @NotNull @NotNull org.bukkit.event.inventory.InventoryClickEvent event) Routes a Bukkit click event into the session per the click policy.- Parameters:
session- the clicked sessionevent- the Bukkit event
-