metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayerControl.hpp

19 lines
435 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2015-08-28 00:11:31 +00:00
#include "../../DNACommon/Tweaks/ITweakPlayerControl.hpp"
2017-12-29 08:08:12 +00:00
namespace DataSpec::DNAMP1
2015-08-28 00:11:31 +00:00
{
struct CTweakPlayerControl final : ITweakPlayerControl
2015-08-28 00:11:31 +00:00
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA_YAML
2018-02-25 08:23:27 +00:00
Vector<atUint32, AT_DNA_COUNT(67)> m_mappings;
2015-08-28 00:11:31 +00:00
atUint32 GetMapping(atUint32 command) const {return m_mappings[command];}
2017-01-26 10:06:18 +00:00
CTweakPlayerControl() = default;
2016-03-04 23:04:53 +00:00
CTweakPlayerControl(athena::io::IStreamReader& reader) {this->read(reader);}
2015-08-28 00:11:31 +00:00
};
}