Class GUIUpdateEvent

java.lang.Object
org.bukkit.event.Event
me.eddie.inventoryguiapi.gui.events.GUIEvent
me.eddie.inventoryguiapi.gui.events.GUIUpdateEvent

public class GUIUpdateEvent extends GUIEvent
Event that's fired when a player's GUI's contents is updated
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    GUIUpdateEvent(GUISession session, org.bukkit.entity.Player viewer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    Get the GUISession associated with the updated GUI
    org.bukkit.entity.Player
    Get the viewer who's GUI's contents was updated

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GUIUpdateEvent

      public GUIUpdateEvent(GUISession session, org.bukkit.entity.Player viewer)
  • Method Details

    • getSession

      public GUISession getSession()
      Get the GUISession associated with the updated GUI
      Returns:
      The GUISession
    • getViewer

      public org.bukkit.entity.Player getViewer()
      Get the viewer who's GUI's contents was updated
      Returns:
      The viewer
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class GUIEvent
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()