2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 11:51:21 +00:00
metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayerControl.hpp
Lioncash a5a2516138 RetroDataSpec: Use override where applicable
Continues the override modernizations, applying the keyword where
applicable to the RetroDataSpec target.
2019-08-10 00:24:30 -04:00

16 lines
467 B
C++

#pragma once
#include "../../DNACommon/Tweaks/ITweakPlayerControl.hpp"
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]; }
CTweakPlayerControl() = default;
CTweakPlayerControl(athena::io::IStreamReader& reader) { this->read(reader); }
};
} // namespace DataSpec::DNAMP1