2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 20:31:20 +00:00
metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayerControl.hpp
2018-02-24 22:23:27 -10:00

21 lines
547 B
C++

#ifndef _DNAMP1_CTWEAKPLAYERCONTROL_HPP_
#define _DNAMP1_CTWEAKPLAYERCONTROL_HPP_
#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 {return m_mappings[command];}
CTweakPlayerControl() = default;
CTweakPlayerControl(athena::io::IStreamReader& reader) {this->read(reader);}
};
}
#endif // _DNAMP1_CTWEAKPLAYERCONTROL_HPP_