aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/skyrim/skyrimsavegame.h
blob: 2df96b27d8062e2be8005e813d026d8c16bee600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef SKYRIMSAVEGAME_H
#define SKYRIMSAVEGAME_H

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

namespace MOBase
{
class IPluginGame;
}

class GameSkyrim;

class SkyrimSaveGame : public GamebryoSaveGame
{
public:
  SkyrimSaveGame(QString const& fileName, GameSkyrim const* game);

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

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

#endif  // SKYRIMSAVEGAME_H