2022-02-19 05:04:45 -08: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-21 22:59:47 -08:00
|
|
|
[[nodiscard]] ControlMapper::EFunctionList GetMapping(u32 command) const override { return m_mappings[command]; }
|
2022-02-19 05:04:45 -08:00
|
|
|
CTweakPlayerControl() = default;
|
|
|
|
CTweakPlayerControl(CInputStream& reader);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace metaforce::MP1
|