Stand/Stand/CommandLuaConfigToggle.hpp
2024-10-16 11:20:42 +08:00

22 lines
348 B
C++

#pragma once
#include "CommandToggle.hpp"
namespace Stand
{
class CommandLuaConfigToggle : public CommandToggle
{
public:
using CommandToggle::CommandToggle;
void onChange(Click& click) final
{
if (click.type == CLICK_SCRIPTED)
{
return onChangeImplUnavailable(click);
}
return CommandToggle::onChange(click);
}
};
}