Interface PerPlayerGUI
public interface PerPlayerGUI
Represents a GUI obtained through
GUIManager.createPerPlayerGUI(GUILayout, ChatPluginServerPlayer)
that features a player and a task ID that unloads the GUI after GUIManager.getPerPlayerGUIsUnloadTime()
of inactivity (GUIOpenEvent
, GUIClickEvent
).-
Method Summary
Modifier and TypeMethodDescriptionGets this GUI's player.long
Gets this GUI's unload task's ID.void
unload()
Deprecated.Internal use only.
-
Method Details
-
getPlayer
ChatPluginServerPlayer getPlayer()Gets this GUI's player.- Returns:
- GUI's player
-
getUnloadTaskID
long getUnloadTaskID()Gets this GUI's unload task's ID.- Returns:
- GUI's unload task's ID
-
unload
Deprecated.Internal use only.Manually unloads this GUI and removes it fromGUIManager.getGUIs()
.
-