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

Method clearCurrentChat

source/frontend/StarChat.cpp:174–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void Chat::clearCurrentChat() {
175 if (m_scripted)
176 m_script.invoke("clearCurrentChat");
177 else {
178 m_textBox->setText("");
179 m_chatPrevIndex = 0;
180 }
181}
182
183ChatSendMode Chat::sendMode() const {
184 if (m_scripted)

Callers 1

handleInputEventMethod · 0.80

Calls 2

invokeMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected