Stand/Stand/CommandSpoofPresets.hpp

21 lines
399 B
C++
Raw Normal View History

2024-10-16 11:20:42 +08:00
#pragma once
#include "CommandGamerPresets.hpp"
namespace Stand
{
class CommandSpoofPresets : public CommandGamerPresets
{
public:
explicit CommandSpoofPresets(CommandList* parent)
: CommandGamerPresets(parent, LOC("SPFPRST"), true)
{
}
void onPresetClick(Click& click, int64_t rid, const char* name) final
{
CommandSpoofedName::instance->setState(name, CLICK_AUTO);
}
};
}