Stand/Stand/CommandLuaConfigToggle.hpp

22 lines
348 B
C++
Raw Normal View History

2024-10-16 11:20:42 +08:00
#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);
}
};
}