InventoryGUIBuilder

class InventoryGUIBuilder<T : ForInventory>(type: InventoryType<T>, shared: Boolean)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onClickElement
Link copied to clipboard
fun onClickElement(onClick: (InventoryGUIClickEvent<T>) -> Unit)
page
Link copied to clipboard
fun page(page: Int, builder: InventoryGUIPageBuilder<T>.() -> Unit)
Opens the builder for a new page and adds the new page to the GUI.
toString
Link copied to clipboard
open fun toString(): String

Properties

shared
Link copied to clipboard
val shared: Boolean
title
Link copied to clipboard
var title: String
transitionFrom
Link copied to clipboard
var transitionFrom: InventoryChangeEffect? = null
transitionTo
Link copied to clipboard
var transitionTo: InventoryChangeEffect? = null
type
Link copied to clipboard
val type: InventoryType<T>