2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
class ImgBrickConsoleQB : public CppScripts::Script
|
2021-12-05 17:54:36 +00:00
|
|
|
{
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnStartup(Entity* self) override;
|
|
|
|
void OnUse(Entity* self, Entity* user) override;
|
|
|
|
void SpawnBrick(Entity* self);
|
|
|
|
void SmashCanister(Entity* self);
|
|
|
|
void OnRebuildComplete(Entity* self, Entity* target) override;
|
|
|
|
void OnDie(Entity* self, Entity* killer) override;
|
|
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
static int32_t ResetBricks;
|
|
|
|
static int32_t ResetConsole;
|
|
|
|
static int32_t ResetInteract;
|
|
|
|
};
|