mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-31 12:41:55 +00:00 
			
		
		
		
	also apply overrides to AG fans
This commit is contained in:
		| @@ -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); | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aaron Kimbre
					Aaron Kimbre