2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 07:11:20 +00:00
metaforce/Runtime/MP1/Tweaks/CTweakPlayerControl.hpp

14 lines
446 B
C++

#pragma once
#include "Runtime/Tweaks/ITweakPlayerControl.hpp"
namespace metaforce::MP1 {
struct CTweakPlayerControl final : Tweaks::ITweakPlayerControl {
std::array<ControlMapper::EFunctionList, 67> m_mappings;
[[nodiscard]] ControlMapper::EFunctionList GetMapping(u32 command) const override { return m_mappings[command]; }
CTweakPlayerControl() = default;
CTweakPlayerControl(CInputStream& reader);
};
} // namespace metaforce::MP1