Closed SomeSourceCode closed 3 months ago
There should be events. Some ideas are:
onPreRender
Gui
onClick
onGuiClick
onOutsideClick
onClose
Where possible, those events should be cancelable, e.g. onClose.
Description
There should be events. Some ideas are:
onPreRender
: before theGui
is renderedonClick
: when a click occurred while theGui
is openedonGuiClick
: for clicks inside theGui
onOutsideClick
: for clicks outside the inventory areaonClose
: when theGui
is closedWhere possible, those events should be cancelable, e.g.
onClose
.