MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / getReleaseDateTime

Method getReleaseDateTime

launcher/minecraft/Component.cpp:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157QDateTime Component::getReleaseDateTime()
158{
159 if (m_metaVersion) {
160 return m_metaVersion->time();
161 }
162 auto vfile = getVersionFile();
163 if (vfile) {
164 return vfile->releaseTime;
165 }
166 // FIXME: fake
167 return QDateTime::currentDateTime();
168}
169
170bool Component::isEnabled()
171{

Callers 1

shouldDisplayMethod · 0.80

Calls 1

timeMethod · 0.80

Tested by

no test coverage detected