Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
53
void Statistics::recordEvent(String const& name, Json const& fields) {
54
m_pendingEvents.append(make_pair(name, fields));
55
}
56
57
bool Statistics::reset() {
58
if (m_initialized) {
Callers
4
receiveMessage
Method · 0.80
triggerPickupEvents
Method · 0.80
makePlayerCallbacks
Method · 0.80
update
Method · 0.80
Calls
1
append
Method · 0.45
Tested by
no test coverage detected