close
close: (ChatboxPanelManager) -> ()Close the open panel at the next invoke point: the game's MESSAGE_LAYER_CLOSE runs, then the panel's onClose.
| Method | Returns | Description |
|---|---|---|
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) | ChatboxTextMenuInput | A new menu panel titled title, to fill in with option and open with build. |
openTextInput(string) | ChatboxTextInput | A 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() | 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(...any) | any | Builds an instance: the base classes' constructors, then this class's init. |
isInstance(obj: any) | boolean | Whether obj is an instance of X or of a class that extends it. |
| Field | Type | Description |
|---|---|---|
super | any | The base class, for X.super.method(self, ...). |
closeclose: (ChatboxPanelManager) -> ()Close the open panel at the next invoke point: the game's MESSAGE_LAYER_CLOSE runs, then the panel's onClose.
openInputopenInput: (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.
openTextMenuInputopenTextMenuInput: (ChatboxPanelManager, string) -> ChatboxTextMenuInputA new menu panel titled title, to fill in with option and open with build.
openTextInputopenTextInput: (ChatboxPanelManager, string) -> ChatboxTextInputA new text input panel prompting prompt, to set up and open with build.
getCurrentInputgetCurrentInput: (ChatboxPanelManager) -> ChatboxInput?The panel this plugin has open, or nil.
getContainerWidgetgetContainerWidget: (ChatboxPanelManager) -> Widget?The chatbox's message layer, which a panel builds its widgets in.
shouldTakeInputshouldTakeInput: (ChatboxPanelManager) -> 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.
newnew: (...any) -> anyBuilds an instance: the base classes' constructors, then this class's init.
isInstanceisInstance: (obj: any) -> booleanWhether obj is an instance of X or of a class that extends it.