aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/falloutnv/falloutnvsavegame.h
blob: 191deaf0c54da497cbc175bf400e6d71af37064b (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 FALLOUTNVSAVEGAME_H
#define FALLOUTNVSAVEGAME_H

#include "gamebryosavegame.h"

class GameFalloutNV;

class FalloutNVSaveGame : public GamebryoSaveGame
{
public:
  FalloutNVSaveGame(QString const& fileName, GameFalloutNV const* game);

protected:
  // Fetch easy-to-access information.
  void fetchInformationFields(FileWrapper& wrapper, uint32_t& width,
                              uint32_t& height, uint32_t& saveNumber,
                              QString& playerName, unsigned short& playerLevel,
                              QString& playerLocation) const;

  std::unique_ptr<DataFields> fetchDataFields() const override;
};

#endif  // FALLOUTNVSAVEGAME_H