1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 22:53:53 +00:00
openmw/apps/opencs/model/tools/skillcheck.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
784 B
C++
Raw Normal View History

2013-03-25 10:07:04 +00:00
#ifndef CSM_TOOLS_SKILLCHECK_H
#define CSM_TOOLS_SKILLCHECK_H
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
2013-03-25 10:07:04 +00:00
2022-10-19 17:02:00 +00:00
namespace CSMDoc
{
class Messages;
}
namespace ESM
{
struct Skill;
}
2013-03-25 10:07:04 +00:00
namespace CSMTools
{
/// \brief VerifyStage: make sure that skill records are internally consistent
class SkillCheckStage : public CSMDoc::Stage
2013-03-25 10:07:04 +00:00
{
const CSMWorld::IdCollection<ESM::Skill>& mSkills;
bool mIgnoreBaseRecords;
2013-03-25 10:07:04 +00:00
public:
SkillCheckStage(const CSMWorld::IdCollection<ESM::Skill>& skills);
int setup() override;
///< \return number of steps
void perform(int stage, CSMDoc::Messages& messages) override;
2013-03-25 10:07:04 +00:00
///< Messages resulting from this tage will be appended to \a messages.
};
}
#endif