mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 02:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			495 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			495 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_ESM_LOCALS_H
 | 
						|
#define OPENMW_ESM_LOCALS_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
#include <vector>
 | 
						|
 | 
						|
#include "variant.hpp"
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    class ESMReader;
 | 
						|
    class ESMWriter;
 | 
						|
 | 
						|
    /// \brief Storage structure for local variables (only used in saved games)
 | 
						|
    ///
 | 
						|
    /// \note This is not a top-level record.
 | 
						|
 | 
						|
    struct Locals
 | 
						|
    {
 | 
						|
        std::vector<std::pair<std::string, Variant>> mVariables;
 | 
						|
 | 
						|
        void load(ESMReader& esm);
 | 
						|
        void save(ESMWriter& esm) const;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |