mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 14:15:32 +00:00
26 lines
587 B
C++
26 lines
587 B
C++
#ifndef CSM_WOLRD_PATHGRIDPOINTSWRAP_H
|
|
#define CSM_WOLRD_PATHGRIDPOINTSWRAP_H
|
|
|
|
#include <components/esm/loadpgrd.hpp>
|
|
|
|
#include "nestedtablewrapper.hpp"
|
|
|
|
namespace CSMWorld
|
|
{
|
|
struct PathgridPointsWrap : public NestedTableWrapperBase
|
|
{
|
|
ESM::Pathgrid mRecord;
|
|
|
|
PathgridPointsWrap(ESM::Pathgrid pathgrid)
|
|
: mRecord(pathgrid) {}
|
|
|
|
virtual ~PathgridPointsWrap() {}
|
|
|
|
virtual int size() const
|
|
{
|
|
return mRecord.mPoints.size(); // used in IdTree::setNestedTable()
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif // CSM_WOLRD_PATHGRIDPOINTSWRAP_H
|