1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00
hl2sdk/game/shared/econ/ihasowner.h
2013-06-26 15:22:04 -07:00

25 lines
642 B
C++

//========= Copyright Valve Corporation, 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