mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
30 lines
656 B
C++
30 lines
656 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
#include "cbase.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
class C_FuncMonitor : public C_BaseEntity
|
|
{
|
|
public:
|
|
DECLARE_CLASS( C_FuncMonitor, C_BaseEntity );
|
|
DECLARE_CLIENTCLASS();
|
|
|
|
// C_BaseEntity.
|
|
public:
|
|
virtual bool ShouldDraw();
|
|
};
|
|
|
|
IMPLEMENT_CLIENTCLASS_DT( C_FuncMonitor, DT_FuncMonitor, CFuncMonitor )
|
|
END_RECV_TABLE()
|
|
|
|
bool C_FuncMonitor::ShouldDraw()
|
|
{
|
|
return true;
|
|
}
|