2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
|
|
|
class ImgBrickConsoleQB : public CppScripts::Script
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void OnStartup(Entity* self) override;
|
|
|
|
void OnUse(Entity* self, Entity* user) override;
|
|
|
|
void SpawnBrick(Entity* self);
|
|
|
|
void SmashCanister(Entity* self);
|
2023-12-29 04:24:30 +00:00
|
|
|
void OnQuickBuildComplete(Entity* self, Entity* target) override;
|
2021-12-05 17:54:36 +00:00
|
|
|
void OnDie(Entity* self, Entity* killer) override;
|
|
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static int32_t ResetBricks;
|
|
|
|
static int32_t ResetConsole;
|
|
|
|
static int32_t ResetInteract;
|
|
|
|
};
|