mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 11:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			348 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			No EOL
		
	
	
		
			348 B
		
	
	
	
		
			C++
		
	
	
	
	
	
 | 
						|
#include "creaturestate.hpp"
 | 
						|
 | 
						|
void ESM::CreatureState::load (ESMReader &esm)
 | 
						|
{
 | 
						|
    ObjectState::load (esm);
 | 
						|
 | 
						|
    mInventory.load (esm);
 | 
						|
 | 
						|
    mCreatureStats.load (esm);
 | 
						|
}
 | 
						|
 | 
						|
void ESM::CreatureState::save (ESMWriter &esm, bool inInventory) const
 | 
						|
{
 | 
						|
    ObjectState::save (esm, inInventory);
 | 
						|
 | 
						|
    mInventory.save (esm);
 | 
						|
 | 
						|
    mCreatureStats.save (esm);
 | 
						|
} |