|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Time-to-beat estimates from HowLongToBeat.com. More...
#include <game.h>
Public Member Functions | |
| bool | isStale () const |
| Check if data is stale (older than 30 days). | |
Static Public Member Functions | |
| static std::string | formatHours (double hours) |
| Get formatted time string for a playstyle. | |
Public Attributes | |
| double | allStylesHours = 0.0 |
| Average across all playstyles. | |
| double | completionistHours = 0.0 |
| 100% completion | |
| bool | found = false |
| Whether a match was found. | |
| int | hltbId = 0 |
| HowLongToBeat game ID. | |
| time_t | lastUpdated = 0 |
| When this data was fetched. | |
| double | mainPlusExtrasHours = 0.0 |
| Main + side content. | |
| double | mainStoryHours = 0.0 |
| Main story/campaign only. | |
| std::string | matchedName |
| Name matched on HLTB. | |
Time-to-beat estimates from HowLongToBeat.com.
Provides completion time estimates for planning play sessions.
|
static |
| bool HowLongToBeatInfo::isStale | ( | ) | const |
Check if data is stale (older than 30 days).
Definition at line 419 of file game.cpp.
References lastUpdated.
| double HowLongToBeatInfo::allStylesHours = 0.0 |
| double HowLongToBeatInfo::completionistHours = 0.0 |
100% completion
Definition at line 679 of file game.h.
Referenced by DetailsPanelManager::Impl::update().
| bool HowLongToBeatInfo::found = false |
Whether a match was found.
Definition at line 684 of file game.h.
Referenced by HLTBService::getGameInfo(), HLTBService::getGameInfoById(), and DetailsPanelManager::Impl::update().
| time_t HowLongToBeatInfo::lastUpdated = 0 |
| double HowLongToBeatInfo::mainPlusExtrasHours = 0.0 |
Main + side content.
Definition at line 678 of file game.h.
Referenced by DetailsPanelManager::Impl::update().
| double HowLongToBeatInfo::mainStoryHours = 0.0 |
Main story/campaign only.
Definition at line 677 of file game.h.
Referenced by DetailsPanelManager::Impl::update().
| std::string HowLongToBeatInfo::matchedName |