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

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: A base class for all material proxies in the client dll
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef PROXY_ENTITY_H
  8. #define PROXY_ENTITY_H
  9. #include "materialsystem/imaterialproxy.h"
  10. class IMaterialVar;
  11. //-----------------------------------------------------------------------------
  12. // Base class all material proxies should inherit from
  13. //-----------------------------------------------------------------------------
  14. abstract_class CEntityMaterialProxy : public IMaterialProxy
  15. {
  16. public:
  17. virtual void Release( void );
  18. void OnBind( void *pC_BaseEntity );
  19. protected:
  20. // base classes should implement these
  21. virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
  22. };
  23. #endif // PROXY_ENTITY_H