mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-30 23:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "loadstat.hpp"
 | |
| 
 | |
| #include "esmreader.hpp"
 | |
| #include "esmwriter.hpp"
 | |
| #include "defs.hpp"
 | |
| 
 | |
| namespace ESM
 | |
| {
 | |
|     unsigned int Static::sRecordId = REC_STAT;
 | |
| 
 | |
| void Static::load(ESMReader &esm)
 | |
| {
 | |
|     mModel = esm.getHNString("MODL");
 | |
| }
 | |
| void Static::save(ESMWriter &esm) const
 | |
| {
 | |
|     esm.writeHNCString("MODL", mModel);
 | |
| }
 | |
| 
 | |
|     void Static::blank()
 | |
|     {
 | |
|         mModel.clear();
 | |
|     }
 | |
| }
 |