MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / currentChat

Method currentChat

source/frontend/StarChat.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162String Chat::currentChat() const {
163 if (m_scripted)
164 return m_script.invoke<String>("currentChat").value();
165 return m_textBox->getText();
166}
167
168bool Chat::setCurrentChat(String const& chat, bool moveCursor) {
169 if (m_scripted)

Callers 2

makeChatCallbacksMethod · 0.80
handleInputEventMethod · 0.80

Calls 2

getTextMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected