metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayerControl.hpp

16 lines
467 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"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP1 {
struct CTweakPlayerControl final : ITweakPlayerControl {
AT_DECL_DNA_YAML
Vector<atUint32, AT_DNA_COUNT(67)> m_mappings;
atUint32 GetMapping(atUint32 command) const override { return m_mappings[command]; }
2018-12-08 05:30:43 +00:00
CTweakPlayerControl() = default;
CTweakPlayerControl(athena::io::IStreamReader& reader) { this->read(reader); }
2015-08-28 00:11:31 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1