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

#include "gamebryosavegame.h"
#include "gameoblivion.h"

class OblivionSaveGame : public GamebryoSaveGame
{
public:
  OblivionSaveGame(QString const& fileName, GameOblivion 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  // OBLIVIONSAVEGAME_H