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.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
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.
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>

Inheritors

GUIShared
Link copied to clipboard
GUIIndividual
Link copied to clipboard