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.
 
 
 
 
 
 

32 lines
869 B

//========= 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