1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:45:32 +00:00
openmw-tes3mp/apps/openmw/mwworld/mwstore.hpp

35 lines
759 B
C++
Raw Normal View History

#ifndef GAME_MWWORLD_MWSTORE_H
#define GAME_MWWORLD_MWSTORE_H
#include <string>
2015-06-25 03:32:22 +00:00
#include <components/autocalc/store.hpp>
#include "store.hpp"
namespace MWWorld
{
2015-06-25 03:32:22 +00:00
class MWStore : public AutoCalc::StoreCommon
{
const MWWorld::Store<ESM::GameSetting>& mGmst;
const MWWorld::Store<ESM::Spell> &mSpells;
public:
MWStore();
~MWStore();
virtual int findGmstInt(const std::string& name) const;
virtual float findGmstFloat(const std::string& name) const;
virtual const ESM::Skill *findSkill(int index) const;
virtual const ESM::MagicEffect* findMagicEffect(int id) const;
2015-06-25 09:25:47 +00:00
virtual void getSpells(std::vector<ESM::Spell*>& spells);
};
}
#endif // GAME_MWWORLD_MWSTORE_H