GUIShared

class GUIShared<T : ForInventory>(guiData: GUIData<T>) : GUI<T>

Functions

closeGUI
Link copied to clipboard
open override fun closeGUI()
Closes this GUI for all viewers and unregisters all instances.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getAllInstances
Link copied to clipboard
open override fun getAllInstances(): List<GUIInstance<T>>
Returns all active instances of this GUI.
getInstance
Link copied to clipboard
open override fun getInstance(player: Player): GUIInstance<T>
Returns the instance beloning to the given player.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

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