mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-03 17:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_ESM_DIALOGUESTATE_H
 | 
						|
#define OPENMW_ESM_DIALOGUESTATE_H
 | 
						|
 | 
						|
#include <string>
 | 
						|
#include <vector>
 | 
						|
#include <map>
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    class ESMReader;
 | 
						|
    class ESMWriter;
 | 
						|
 | 
						|
    // format 0, saved games only
 | 
						|
 | 
						|
    struct DialogueState
 | 
						|
    {
 | 
						|
        // must be lower case topic IDs
 | 
						|
        std::vector<std::string> mKnownTopics;
 | 
						|
 | 
						|
        // must be lower case faction IDs
 | 
						|
        std::map<std::string, std::map<std::string, int> > mChangedFactionReaction;
 | 
						|
 | 
						|
        void load (ESMReader &esm);
 | 
						|
        void save (ESMWriter &esm) const;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |