aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/nehrim/nehrimsavegame.h
blob: cdbab222dc8c05a071919a7046b6d76ebc48f6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef NEHRIMSAVEGAME_H
#define NEHRIMSAVEGAME_H

#include "gamebryosavegame.h"
#include "gamenehrim.h"

class NehrimSaveGame : public GamebryoSaveGame
{
public:
  NehrimSaveGame(QString const& fileName, GameNehrim const* game);

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

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

#endif  // NEHRIMSAVEGAME_H