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;
|
2019-08-10 02:32:48 +00:00
|
|
|
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
|