1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00
Files
hl2sdk/game/client/proxyentity.h

33 lines
902 B
C
Raw Normal View History

2025-05-17 14:12:20 -04:00
//========= 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;
//-----------------------------------------------------------------------------
// 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 these
virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
};
#endif // PROXY_ENTITY_H