1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/opencs/model/tools/classcheck.hpp

31 lines
782 B
C++
Raw Normal View History

2013-04-04 10:10:26 +02:00
#ifndef CSM_TOOLS_CLASSCHECK_H
#define CSM_TOOLS_CLASSCHECK_H
#include <components/esm/loadclas.hpp>
#include "../world/idcollection.hpp"
#include "../doc/stage.hpp"
2013-04-04 10:10:26 +02:00
namespace CSMTools
{
/// \brief VerifyStage: make sure that class records are internally consistent
class ClassCheckStage : public CSMDoc::Stage
2013-04-04 10:10:26 +02:00
{
const CSMWorld::IdCollection<ESM::Class>& mClasses;
bool mIgnoreBaseRecords;
2013-04-04 10:10:26 +02:00
public:
ClassCheckStage (const CSMWorld::IdCollection<ESM::Class>& classes);
int setup() override;
2013-04-04 10:10:26 +02:00
///< \return number of steps
void perform (int stage, CSMDoc::Messages& messages) override;
2013-04-04 10:10:26 +02:00
///< Messages resulting from this tage will be appended to \a messages.
};
}
#endif