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

Method receiveMessage

source/game/StarObject.cpp:675–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675Maybe<Json> Object::receiveMessage(ConnectionId sendingConnection, String const& message, JsonArray const& args) {
676 return m_scriptComponent.handleMessage(message, sendingConnection == world()->connection(), args);
677}
678
679Json Object::configValue(String const& name, Json const& def) const {
680 if (auto orientation = currentOrientation())

Callers

nothing calls this directly

Calls 2

handleMessageMethod · 0.80
connectionMethod · 0.45

Tested by

no test coverage detected