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.

35 lines
686 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef IHANDLEENTITY_H
  7. #define IHANDLEENTITY_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. class CBaseHandle;
  12. // An IHandleEntity-derived class can go into an entity list and use ehandles.
  13. class IHandleEntity
  14. {
  15. public:
  16. virtual ~IHandleEntity() {}
  17. virtual void SetRefEHandle( const CBaseHandle &handle ) = 0;
  18. virtual const CBaseHandle& GetRefEHandle() const = 0;
  19. #ifdef _GAMECONSOLE
  20. IHandleEntity() :
  21. m_bIsStaticProp( false )
  22. {
  23. }
  24. bool m_bIsStaticProp;
  25. #endif
  26. };
  27. #endif // IHANDLEENTITY_H