mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
428 B
C++
19 lines
428 B
C++
2 years ago
|
#include <components/esm/esmbridge.hpp>
|
||
2 years ago
|
#include <components/esm3/loadcell.hpp>
|
||
|
#include <components/esm4/loadcell.hpp>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
2 years ago
|
const ESM4::Cell& CellVariant::getEsm4() const
|
||
|
{
|
||
2 years ago
|
auto cell4 = std::get<const ESM4::Cell*>(mVariant);
|
||
2 years ago
|
return *cell4;
|
||
|
}
|
||
|
|
||
|
const ESM::Cell& CellVariant::getEsm3() const
|
||
|
{
|
||
2 years ago
|
auto cell = std::get<const ESM::Cell*>(mVariant);
|
||
2 years ago
|
return *cell;
|
||
2 years ago
|
}
|
||
|
}
|