2022-02-19 13:04:45 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Runtime/Tweaks/ITweakPlayerControl.hpp"
|
|
|
|
|
|
|
|
namespace metaforce::MP1 {
|
|
|
|
struct CTweakPlayerControl final : Tweaks::ITweakPlayerControl {
|
|
|
|
std::array<ControlMapper::EFunctionList, 67> m_mappings;
|
2022-02-22 06:59:47 +00:00
|
|
|
[[nodiscard]] ControlMapper::EFunctionList GetMapping(u32 command) const override { return m_mappings[command]; }
|
2022-02-19 13:04:45 +00:00
|
|
|
CTweakPlayerControl() = default;
|
|
|
|
CTweakPlayerControl(CInputStream& reader);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace metaforce::MP1
|