22 lines
348 B
C++
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);
|
||
|
}
|
||
|
};
|
||
|
}
|