Skip to content

Commit

Permalink
Fix SDKHooks IEntityListener (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienmario authored Apr 21, 2024
1 parent 123ad7a commit 7d78c14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/sdkhooks/extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,15 @@ class IEntityListener
{
public:
#if SOURCE_ENGINE == SE_BMS
virtual ~IEntityListener() {};
virtual void OnEntityPreSpawned( CBaseEntity *pEntity ) {};
#endif
virtual void OnEntityCreated( CBaseEntity *pEntity ) {};
virtual void OnEntitySpawned( CBaseEntity *pEntity ) {};
virtual void OnEntityDeleted( CBaseEntity *pEntity ) {};
#if SOURCE_ENGINE == SE_BMS
virtual void OnEntityFlagsChanged( CBaseEntity *pEntity, int nAddedFlags, int nRemovedFlags ) {};
#endif
};

class SDKHooks :
Expand Down

0 comments on commit 7d78c14

Please sign in to comment.