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

Method PlayerLog

source/game/StarPlayerLog.cpp:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace Star {
5
6PlayerLog::PlayerLog() {
7 m_deathCount = 0;
8 m_playTime = 0;
9 m_introComplete = false;
10 m_scannedObjects = StringSet();
11 m_radioMessages = StringSet();
12 m_cinematics = StringSet();
13}
14
15PlayerLog::PlayerLog(Json const& json) {
16 m_deathCount = json.getInt("deathCount");

Callers

nothing calls this directly

Calls 6

jsonToStringSetFunction · 0.85
getIntMethod · 0.80
getDoubleMethod · 0.80
getBoolMethod · 0.80
iterateObjectMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected