aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout4/fallout4savegame.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout4/fallout4savegame.h')
-rw-r--r--libs/game_bethesda/src/games/fallout4/fallout4savegame.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libs/game_bethesda/src/games/fallout4/fallout4savegame.h b/libs/game_bethesda/src/games/fallout4/fallout4savegame.h
new file mode 100644
index 0000000..b50c501
--- /dev/null
+++ b/libs/game_bethesda/src/games/fallout4/fallout4savegame.h
@@ -0,0 +1,23 @@
+#ifndef FALLOUT4SAVEGAME_H
+#define FALLOUT4SAVEGAME_H
+
+#include "gamebryosavegame.h"
+#include "windows_compat.h"
+
+class GameFallout4;
+
+class Fallout4SaveGame : public GamebryoSaveGame
+{
+public:
+ Fallout4SaveGame(QString const& fileName, GameFallout4 const* game);
+
+protected:
+ // Fetch easy-to-access information.
+ void fetchInformationFields(FileWrapper& file, uint32_t& saveNumber,
+ QString& playerName, unsigned short& playerLevel,
+ QString& playerLocation, FILETIME& creationTime) const;
+
+ std::unique_ptr<DataFields> fetchDataFields() const override;
+};
+
+#endif // FALLOUT4SAVEGAME_H