DarkflameServer/dScripts/ai/AG/AgFans.h

21 lines
383 B
C
Raw Permalink Normal View History

#pragma once
#include "CppScripts.h"
class AgFans : public CppScripts::Script
{
public:
2022-04-19 02:09:27 +00:00
void OnStartup(Entity* self) override;
void OnDie(Entity* self, Entity* killer) override;
void OnFireEventServerSide(
2022-07-28 13:39:57 +00:00
Entity* self,
Entity* sender,
2022-04-19 02:09:27 +00:00
std::string args,
int32_t param1,
int32_t param2,
int32_t param3
) override;
private:
void ToggleFX(Entity* self, bool hit);
};