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