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.

24 lines
610 B

  1. //========= Copyright � Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef IHASOWNER_H
  7. #define IHASOWNER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. class CBaseEntity;
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Allows an entity to access its owner regardless of entity type
  14. //-----------------------------------------------------------------------------
  15. class IHasOwner
  16. {
  17. public:
  18. virtual CBaseEntity *GetOwnerViaInterface( void ) = 0;
  19. };
  20. #endif // IHASOWNER_H