GUI

abstract class GUI<T : ForInventory>(data: GUIData<T>)

Functions

closeGUI
Link copied to clipboard
abstract fun closeGUI()
Closes this GUI for all viewers and unregisters all instances.
getAllInstances
Link copied to clipboard
abstract fun getAllInstances(): Collection<GUIInstance<T>>
Returns all active instances of this GUI.
getInstance
Link copied to clipboard
abstract fun getInstance(player: Player): GUIInstance<T>
Returns the instance beloning to the given player.

Properties

data
Link copied to clipboard
val data: GUIData<T>

Inheritors

GUIShared
Link copied to clipboard
GUIIndividual
Link copied to clipboard