1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 17:19:56 +00:00
openmw-tes3mp/apps/opencs/model/tools/referenceablecheck.hpp
2013-12-20 22:31:17 +01:00

28 lines
967 B
C++

#ifndef REFERENCEABLECHECKSTAGE_H
#define REFERENCEABLECHECKSTAGE_H
#include "../world/universalid.hpp"
#include "../doc/stage.hpp"
#include "../world/data.hpp"
#include "../world/refiddata.hpp"
namespace CSMTools
{
class ReferenceableCheckStage : public CSMDoc::Stage
{
public:
ReferenceableCheckStage(const CSMWorld::RefIdData& referenceable);
virtual void perform(int stage, std::vector< std::string >& messages);
virtual int setup();
private:
void bookCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Book >& records, std::vector< std::string >& messages);
void activatorCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Activator >& records, std::vector< std::string >& messages);
void setSizeVariables();
const CSMWorld::RefIdData mReferencables;
int mBooksSize;
int mActivatorsSize;
};
}
#endif // REFERENCEABLECHECKSTAGE_H