2023-01-27 17:40:15 +00:00
|
|
|
#include <components/esm/esmbridge.hpp>
|
2023-01-22 22:40:55 +00:00
|
|
|
#include <components/esm3/loadcell.hpp>
|
|
|
|
#include <components/esm4/loadcell.hpp>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
2023-01-23 18:08:52 +00:00
|
|
|
const ESM4::Cell& CellVariant::getEsm4() const
|
|
|
|
{
|
2023-01-27 13:07:50 +00:00
|
|
|
auto cell4 = std::get<const ESM4::Cell*>(mVariant);
|
2023-01-23 18:08:52 +00:00
|
|
|
return *cell4;
|
|
|
|
}
|
|
|
|
|
|
|
|
const ESM::Cell& CellVariant::getEsm3() const
|
|
|
|
{
|
2023-01-27 13:07:50 +00:00
|
|
|
auto cell = std::get<const ESM::Cell*>(mVariant);
|
2023-01-23 18:08:52 +00:00
|
|
|
return *cell;
|
2023-01-22 22:40:55 +00:00
|
|
|
}
|
|
|
|
}
|