mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 08:53:54 +00:00
21 lines
No EOL
412 B
C++
21 lines
No EOL
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 |