2015-02-13 03:11:36 +00:00
|
|
|
#ifndef CSM_TOOLS_REFERENCECHECK_H
|
|
|
|
#define CSM_TOOLS_REFERENCECHECK_H
|
|
|
|
|
|
|
|
#include "../doc/state.hpp"
|
|
|
|
#include "../doc/document.hpp"
|
|
|
|
|
|
|
|
namespace CSMTools
|
|
|
|
{
|
|
|
|
class ReferenceCheckStage : public CSMDoc::Stage
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ReferenceCheckStage (const CSMWorld::RefCollection& references,
|
|
|
|
const CSMWorld::RefIdCollection& referencables,
|
|
|
|
const CSMWorld::IdCollection<CSMWorld::Cell>& cells,
|
|
|
|
const CSMWorld::IdCollection<ESM::Faction>& factions);
|
|
|
|
|
2020-10-16 18:18:54 +00:00
|
|
|
void perform(int stage, CSMDoc::Messages& messages) override;
|
|
|
|
int setup() override;
|
2015-02-13 03:11:36 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
const CSMWorld::RefCollection& mReferences;
|
2018-08-24 23:03:55 +00:00
|
|
|
const CSMWorld::RefIdCollection& mObjects;
|
2015-02-13 11:13:40 +00:00
|
|
|
const CSMWorld::RefIdData& mDataSet;
|
2015-02-13 03:11:36 +00:00
|
|
|
const CSMWorld::IdCollection<CSMWorld::Cell>& mCells;
|
|
|
|
const CSMWorld::IdCollection<ESM::Faction>& mFactions;
|
2018-06-19 22:20:03 +00:00
|
|
|
bool mIgnoreBaseRecords;
|
2015-02-13 03:11:36 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 14:54:45 +00:00
|
|
|
#endif // CSM_TOOLS_REFERENCECHECK_H
|