ChatboxPanelManager

Methods
9
Fields
1

Methods

MethodReturnsDescription
close()()Close the open panel at the next invoke point: the game's MESSAGE_LAYER_CLOSE runs, then the panel's onClose.
openInput(any)()Open input (a panel object with open/close, and key or mouse listener methods if it takes input) at the next invoke point, closing th…
openTextMenuInput(string)ChatboxTextMenuInputA new menu panel titled title, to fill in with option and open with build.
openTextInput(string)ChatboxTextInputA new text input panel prompting prompt, to set up and open with build.
getCurrentInput()ChatboxInput?The panel this plugin has open, or nil.
getContainerWidget()Widget?The chatbox's message layer, which a panel builds its widgets in.
shouldTakeInput()booleanWhether the open panel takes keys now: not while the world map's search box has them, nor once another plugin's panel replaced it.
new(...any)anyBuilds an instance: the base classes' constructors, then this class's init.
isInstance(obj: any)booleanWhether obj is an instance of X or of a class that extends it.

Fields

FieldTypeDescription
superanyThe base class, for X.super.method(self, ...).

Method details

close

close: (ChatboxPanelManager) -> ()

Close the open panel at the next invoke point: the game's MESSAGE_LAYER_CLOSE runs, then the panel's onClose.

openInput

openInput: (ChatboxPanelManager, any) -> ()

Open input (a panel object with open/close, and key or mouse listener methods if it takes input) at the next invoke point, closing the one open.

shouldTakeInput

shouldTakeInput: (ChatboxPanelManager) -> boolean

Whether the open panel takes keys now: not while the world map's search box has them, nor once another plugin's panel replaced it.

new

new: (...any) -> any

Builds an instance: the base classes' constructors, then this class's init.

isInstance

isInstance: (obj: any) -> boolean

Whether obj is an instance of X or of a class that extends it.