Add: track savegame size to report with survey (#12304)
This commit is contained in:
@@ -52,9 +52,15 @@ enum DisplayOptions {
|
||||
DO_SHOW_COMPETITOR_SIGNS = 7, ///< Display signs, station names and waypoint names of opponent companies. Buoys and oilrig-stations are always shown, even if this option is turned off.
|
||||
};
|
||||
|
||||
struct GameSessionStats {
|
||||
std::chrono::steady_clock::time_point start_time; ///< Time when the current game was started.
|
||||
std::string savegame_id; ///< Unique ID of the savegame.
|
||||
std::optional<size_t> savegame_size; ///< Size of the last saved savegame in bytes, or std::nullopt if not saved yet.
|
||||
};
|
||||
|
||||
extern GameMode _game_mode;
|
||||
extern SwitchMode _switch_mode;
|
||||
extern std::chrono::steady_clock::time_point _switch_mode_time;
|
||||
extern GameSessionStats _game_session_stats;
|
||||
extern std::atomic<bool> _exit_game;
|
||||
extern bool _save_config;
|
||||
|
||||
|
Reference in New Issue
Block a user