aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout76/fallout76savegame.h
blob: 48a86665f221b4f6c259ac60916cbc1f377048f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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