chatboxPanelManager

Methods
7
Fields
None

Getting one

chatboxPanelManager

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.

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.