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