aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout4vr/fallout4vrsavegame.h
blob: e39456cc7d4c4b71f1affe98a5cfe7156a2cfc30 (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 FALLOUT4VRSAVEGAME_H
#define FALLOUT4VRSAVEGAME_H

#include "gamebryosavegame.h"
#include "windows_compat.h"

class GameFallout4VR;

class Fallout4VRSaveGame : public GamebryoSaveGame
{
public:
  Fallout4VRSaveGame(QString const& fileName, GameFallout4VR 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  // FALLOUT4VRSAVEGAME_H