metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayer.hpp

25 lines
515 B
C++
Raw Normal View History

2015-08-29 01:30:47 +00:00
#ifndef _DNAMP1_CTWEAKPLAYER_HPP_
#define _DNAMP1_CTWEAKPLAYER_HPP_
#include "../../DNACommon/Tweaks/ITweakPlayer.hpp"
2016-02-13 09:02:47 +00:00
namespace DataSpec
2015-08-29 01:30:47 +00:00
{
namespace DNAMP1
{
struct CTweakPlayer : ITweakPlayer
{
DECL_YAML
Value<float> m_leftDiv;
Value<float> m_rightDiv;
float GetLeftLogicalThreshold() const {return m_leftDiv;}
float GetRightLogicalThreshold() const {return m_rightDiv;}
CTweakPlayer(Athena::io::IStreamReader& reader) {this->read(reader);}
};
}
}
#endif // _DNAMP1_CTWEAKPLAYER_HPP_