mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 11:23:52 +00:00
21 lines
412 B
C++
21 lines
412 B
C++
|
#ifndef CSM_WOLRD_COLUMNS_H
|
||
|
#define CSM_WOLRD_COLUMNS_H
|
||
|
|
||
|
#include "idcollection.hpp"
|
||
|
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
template<typename ESXRecordT>
|
||
|
struct FloatValueColumn : public Column<ESXRecordT>
|
||
|
{
|
||
|
FloatValueColumn() : Column<ESXRecordT> ("Value") {}
|
||
|
|
||
|
virtual QVariant get (const Record<ESXRecordT>& record) const
|
||
|
{
|
||
|
return record.get().mValue;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|