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

//===== Copyright © Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
//===========================================================================//
#include "baseentity.h"
#pragma once
class CPointHidingSpot : public CServerOnlyPointEntity
{
DECLARE_CLASS( CPointHidingSpot, CServerOnlyPointEntity )
public:
CPointHidingSpot();
DECLARE_DATADESC();
virtual void Activate() OVERRIDE;
virtual void UpdateOnRemove() OVERRIDE;
void PostActivateSetupThink();
void DetachFromHidingSpot();
protected:
CNavArea *m_pNavArea; // nav our hiding spot is associated with
HidingSpot *m_pSpot;
};