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

//========= Copyright © Valve LLC, All rights reserved. ============
//
// Purpose:
//
//=============================================================================
#ifndef IHASOWNER_H
#define IHASOWNER_H
#ifdef _WIN32
#pragma once
#endif
class CBaseEntity;
//-----------------------------------------------------------------------------
// Purpose: Allows an entity to access its owner regardless of entity type
//-----------------------------------------------------------------------------
class IHasOwner
{
public:
virtual CBaseEntity *GetOwnerViaInterface( void ) = 0;
};
#endif // IHASOWNER_H