2015-08-28 00:11:31 +00:00
|
|
|
#ifndef _DNAMP1_CTWEAKPLAYERCONTROL_HPP_
|
|
|
|
#define _DNAMP1_CTWEAKPLAYERCONTROL_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/Tweaks/ITweakPlayerControl.hpp"
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace DataSpec
|
2015-08-28 00:11:31 +00:00
|
|
|
{
|
|
|
|
namespace DNAMP1
|
|
|
|
{
|
|
|
|
|
|
|
|
struct CTweakPlayerControl : ITweakPlayerControl
|
|
|
|
{
|
|
|
|
DECL_YAML
|
|
|
|
Vector<atUint32, DNA_COUNT(65)> m_mappings;
|
|
|
|
atUint32 GetMapping(atUint32 command) const {return m_mappings[command];}
|
2016-03-04 23:04:53 +00:00
|
|
|
CTweakPlayerControl(athena::io::IStreamReader& reader) {this->read(reader);}
|
2015-08-28 00:11:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // _DNAMP1_CTWEAKPLAYERCONTROL_HPP_
|