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

Method recordEvent

source/game/StarStatistics.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void Statistics::recordEvent(String const& name, Json const& fields) {
54 m_pendingEvents.append(make_pair(name, fields));
55}
56
57bool Statistics::reset() {
58 if (m_initialized) {

Callers 4

receiveMessageMethod · 0.80
triggerPickupEventsMethod · 0.80
makePlayerCallbacksMethod · 0.80
updateMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected