sdkhooks: add OnEntitySpawned fwd. (#1078)
* Add OnEntitySpawned to SDKHooks. * nitpicking * Add CapabilityProvider SDKHook_OnEntitySpawned * (unrelated) nits * nit relocation * unqualified relocation - my mistake. Co-authored-by: Kyle Sanderson <[email protected]>
This commit is contained in:
@@ -347,6 +347,16 @@ typeset SDKHookCB
|
||||
*/
|
||||
forward void OnEntityCreated(int entity, const char[] classname);
|
||||
|
||||
/**
|
||||
* When an entity is spawned
|
||||
*
|
||||
* @param entity Entity index
|
||||
* @param classname Class name
|
||||
*
|
||||
* @note Check for support at runtime using GetFeatureStatus on SDKHook_OnEntitySpawned capability.
|
||||
*/
|
||||
forward void OnEntitySpawned(int entity, const char[] classname);
|
||||
|
||||
/**
|
||||
* When an entity is destroyed
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user