iw4x-client/src/Components/Modules/QuickPatch.hpp

22 lines
432 B
C++
Raw Normal View History

2015-12-23 08:45:53 -05:00
namespace Components
{
class QuickPatch : public Component
{
public:
typedef void(Callback)();
2016-01-28 15:37:48 -05:00
2015-12-23 08:45:53 -05:00
QuickPatch();
2016-01-28 15:37:48 -05:00
~QuickPatch();
2015-12-23 08:45:53 -05:00
const char* GetName() { return "QuickPatch"; };
2015-12-25 15:42:35 -05:00
2016-01-04 09:43:09 -05:00
static void UnlockStats();
static void OnShutdown(Callback* callback);
2016-01-04 09:43:09 -05:00
2015-12-25 15:42:35 -05:00
private:
static wink::signal<wink::slot<Callback>> ShutdownSignal;
2016-01-28 15:37:48 -05:00
static int64_t* GetStatsID();
static void ShutdownStub(int channel, const char* message);
2015-12-23 08:45:53 -05:00
};
}