mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 21:26:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			1,009 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			1,009 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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);
 | |
| 
 | |
|             virtual void perform(int stage, CSMDoc::Messages& messages);
 | |
|             virtual int setup();
 | |
| 
 | |
|         private:
 | |
|             const CSMWorld::RefCollection& mReferences;
 | |
|             const CSMWorld::RefIdCollection& mObjects;
 | |
|             const CSMWorld::RefIdData& mDataSet;
 | |
|             const CSMWorld::IdCollection<CSMWorld::Cell>& mCells;
 | |
|             const CSMWorld::IdCollection<ESM::Faction>& mFactions;
 | |
|             bool mIgnoreBaseRecords;
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif // CSM_TOOLS_REFERENCECHECK_H
 |