mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 09:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include <components/esm/esmbridge.hpp>
 | 
						|
#include <components/esm3/loadcell.hpp>
 | 
						|
#include <components/esm4/loadcell.hpp>
 | 
						|
 | 
						|
namespace ESM
 | 
						|
{
 | 
						|
    const ESM4::Cell& CellVariant::getEsm4() const
 | 
						|
    {
 | 
						|
        auto cell4 = std::get<const ESM4::Cell*>(mVariant);
 | 
						|
        return *cell4;
 | 
						|
    }
 | 
						|
 | 
						|
    const ESM::Cell& CellVariant::getEsm3() const
 | 
						|
    {
 | 
						|
        auto cell = std::get<const ESM::Cell*>(mVariant);
 | 
						|
        return *cell;
 | 
						|
    }
 | 
						|
}
 |