mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	also apply overrides to AG fans
This commit is contained in:
		@@ -7,10 +7,16 @@
 | 
			
		||||
class AgFans : public CppScripts::Script
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
	void OnStartup(Entity* self);
 | 
			
		||||
	void OnDie(Entity* self, Entity* killer);
 | 
			
		||||
	void OnFireEventServerSide(Entity *self, Entity *sender, std::string args, int32_t param1, int32_t param2,
 | 
			
		||||
                               int32_t param3);
 | 
			
		||||
	void OnStartup(Entity* self) override;
 | 
			
		||||
	void OnDie(Entity* self, Entity* killer) override;
 | 
			
		||||
	void OnFireEventServerSide(
 | 
			
		||||
		Entity *self,
 | 
			
		||||
		Entity *sender,
 | 
			
		||||
		std::string args,
 | 
			
		||||
		int32_t param1,
 | 
			
		||||
		int32_t param2,
 | 
			
		||||
		int32_t param3
 | 
			
		||||
	) override;
 | 
			
		||||
private:
 | 
			
		||||
	void ToggleFX(Entity* self, bool hit);
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user