Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
673 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Expose an IsAHunter function
  4. //
  5. //=============================================================================//
  6. #ifndef NPC_HUNTER_H
  7. #define NPC_HUNTER_H
  8. #if defined( _WIN32 )
  9. #pragma once
  10. #endif
  11. class CBaseEntity;
  12. /// true if given entity pointer is a hunter.
  13. bool Hunter_IsHunter(CBaseEntity *pEnt);
  14. // call throughs for member functions
  15. void Hunter_StriderBusterAttached( CBaseEntity *pHunter, CBaseEntity *pAttached );
  16. void Hunter_StriderBusterDetached( CBaseEntity *pHunter, CBaseEntity *pAttached );
  17. void Hunter_StriderBusterLaunched( CBaseEntity *pBuster );
  18. #endif