1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/cl_dll/proxyentity.h

34 lines
925 B
C++

//========= Copyright © 1996-2005, 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;
enum MaterialVarType_t;
//-----------------------------------------------------------------------------
// Base class all material proxies should inherit from
//-----------------------------------------------------------------------------
abstract_class CEntityMaterialProxy : public IMaterialProxy
{
public:
virtual void Release( void );
void OnBind( void *pC_BaseEntity );
protected:
// base classes should implement this
virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
};
#endif // PROXY_ENTITY_H