Counter Strike : Global Offensive Source Code
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
615 B

  1. //===== Copyright � Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #include "baseentity.h"
  7. #pragma once
  8. class CPointHidingSpot : public CServerOnlyPointEntity
  9. {
  10. DECLARE_CLASS( CPointHidingSpot, CServerOnlyPointEntity )
  11. public:
  12. CPointHidingSpot();
  13. DECLARE_DATADESC();
  14. virtual void Activate() OVERRIDE;
  15. virtual void UpdateOnRemove() OVERRIDE;
  16. void PostActivateSetupThink();
  17. void DetachFromHidingSpot();
  18. protected:
  19. CNavArea *m_pNavArea; // nav our hiding spot is associated with
  20. HidingSpot *m_pSpot;
  21. };