mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 02:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_COMPONENTS_ESM_STOLENITEMS_H
 | 
						|
#define OPENMW_COMPONENTS_ESM_STOLENITEMS_H
 | 
						|
 | 
						|
#include <map>
 | 
						|
#include <string>
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    class ESMReader;
 | 
						|
    class ESMWriter;
 | 
						|
 | 
						|
    // format 0, saved games only
 | 
						|
    struct StolenItems
 | 
						|
    {
 | 
						|
        typedef std::map<std::string, std::map<std::pair<std::string, bool>, int>> StolenItemsMap;
 | 
						|
        StolenItemsMap mStolenItems;
 | 
						|
 | 
						|
        void load(ESMReader& esm);
 | 
						|
        void write(ESMWriter& esm) const;
 | 
						|
    };
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |