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

Method addLine

source/frontend/StarChat.cpp:206–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void Chat::addLine(String const& text, bool showPane) {
207 ChatReceivedMessage message = {{MessageContext::CommandResult}, ServerConnectionId, "", text};
208 addMessages({message}, showPane);
209}
210
211void Chat::addMessages(List<ChatReceivedMessage> const& messages, bool showPane) {
212 if (messages.empty())

Callers 1

doChatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected