mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 21:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			387 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			387 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
 | |
| #include "creaturestats.hpp"
 | |
| 
 | |
| void ESM::CreatureStats::load (ESMReader &esm)
 | |
| {
 | |
|     for (int i=0; i<8; ++i)
 | |
|         mAttributes[i].load (esm);
 | |
| 
 | |
|     for (int i=0; i<3; ++i)
 | |
|         mDynamic[i].load (esm);
 | |
| }
 | |
| 
 | |
| void ESM::CreatureStats::save (ESMWriter &esm) const
 | |
| {
 | |
|     for (int i=0; i<8; ++i)
 | |
|         mAttributes[i].save (esm);
 | |
| 
 | |
|     for (int i=0; i<3; ++i)
 | |
|         mDynamic[i].save (esm);
 | |
| } |