1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/game/client/proxyentity.h
2013-06-26 15:22:04 -07:00

33 lines
896 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: A base class for all material proxies in the client dll
//
// $NoKeywords: $
//=============================================================================//
#ifndef PROXY_ENTITY_H
#define PROXY_ENTITY_H
#include "materialsystem/imaterialproxy.h"
class IMaterialVar;
//-----------------------------------------------------------------------------
// Base class all material proxies should inherit from
//-----------------------------------------------------------------------------
abstract_class CEntityMaterialProxy : public IMaterialProxy
{
public:
virtual void Release( void );
virtual void OnBind( void *pC_BaseEntity );
protected:
// base classes should implement these
virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
};
#endif // PROXY_ENTITY_H