forked from teamnwah/openmw-tes3coop
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			523 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			523 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef COMPONENTS_ESM_FILTER_H
 | 
						|
#define COMPONENTS_ESM_FILTER_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    class ESMReader;
 | 
						|
    class ESMWriter;
 | 
						|
 | 
						|
    struct Filter
 | 
						|
    {
 | 
						|
        static unsigned int sRecordId;
 | 
						|
 | 
						|
        std::string mId;
 | 
						|
 | 
						|
        std::string mDescription;
 | 
						|
 | 
						|
        std::string mFilter;
 | 
						|
 | 
						|
        void load (ESMReader& esm, bool &isDeleted);
 | 
						|
        void save (ESMWriter& esm, bool isDeleted = false) const;
 | 
						|
 | 
						|
        void blank();
 | 
						|
        ///< Set record to default state (does not touch the ID).
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |