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

35 lines
767 B
C++
Raw Normal View History

#ifndef GAME_MWWORLD_MWSTORE_H
#define GAME_MWWORLD_MWSTORE_H
#include <string>
#include <components/gameplay/store.hpp>
#include "store.hpp"
namespace MWWorld
{
class MWStore : public GamePlay::StoreWrap
{
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;
virtual const GamePlay::CommonStore<ESM::Spell>& getSpells() const;
};
}
#endif // GAME_MWWORLD_MWSTORE_H