1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 06:19:55 +00:00
openmw-tes3mp/apps/opencs/model/tools/skillcheck.hpp

30 lines
741 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 <components/esm/loadskil.hpp>
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
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;
public:
SkillCheckStage (const CSMWorld::IdCollection<ESM::Skill>& skills);
virtual int setup();
///< \return number of steps
virtual void perform (int stage, CSMDoc::Messages& messages);
2013-03-25 10:07:04 +00:00
///< Messages resulting from this tage will be appended to \a messages.
};
}
#endif