also apply overrides to AG fans

This commit is contained in:
Aaron Kimbre 2022-04-18 21:09:27 -05:00
parent f3dd71ccb1
commit 8db7dfef75

View File

@ -7,10 +7,16 @@
class AgFans : public CppScripts::Script class AgFans : public CppScripts::Script
{ {
public: public:
void OnStartup(Entity* self); void OnStartup(Entity* self) override;
void OnDie(Entity* self, Entity* killer); void OnDie(Entity* self, Entity* killer) override;
void OnFireEventServerSide(Entity *self, Entity *sender, std::string args, int32_t param1, int32_t param2, void OnFireEventServerSide(
int32_t param3); Entity *self,
Entity *sender,
std::string args,
int32_t param1,
int32_t param2,
int32_t param3
) override;
private: private:
void ToggleFX(Entity* self, bool hit); void ToggleFX(Entity* self, bool hit);
}; };