
* feat(Spoofing): add spoofing * feat(Spoofing): prepare code for player attach * remove(PlayerAttach): isn't going to work due to netsync architecture * fix(GUI): fix scaling * feat(Project): add clang-format file * feat(Classes): update classes * fix(BlackHole): remove unnecessary cleanup * fix(Formatting): fix formatting for initializer lists * feat(clang-format): Set tab width and 1 space before comment Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
23 lines
520 B
C++
23 lines
520 B
C++
#pragma once
|
|
#include "bool_command.hpp"
|
|
|
|
namespace big
|
|
{
|
|
class looped_command : public bool_command
|
|
{
|
|
bool m_last_enabled = false;
|
|
|
|
public:
|
|
looped_command(const std::string& name, const std::string& label, const std::string& description, bool& toggle);
|
|
|
|
virtual void on_enable(){};
|
|
virtual void on_disable(){};
|
|
virtual void on_tick() = 0;
|
|
|
|
virtual void refresh() override;
|
|
virtual void enable() override;
|
|
virtual void disable() override;
|
|
};
|
|
|
|
inline std::vector<looped_command*> g_looped_commands;
|
|
} |