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
35 lines
686 B
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef IHANDLEENTITY_H
|
|
#define IHANDLEENTITY_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
class CBaseHandle;
|
|
|
|
|
|
// An IHandleEntity-derived class can go into an entity list and use ehandles.
|
|
class IHandleEntity
|
|
{
|
|
public:
|
|
virtual ~IHandleEntity() {}
|
|
virtual void SetRefEHandle( const CBaseHandle &handle ) = 0;
|
|
virtual const CBaseHandle& GetRefEHandle() const = 0;
|
|
#ifdef _GAMECONSOLE
|
|
IHandleEntity() :
|
|
m_bIsStaticProp( false )
|
|
{
|
|
}
|
|
|
|
bool m_bIsStaticProp;
|
|
#endif
|
|
};
|
|
|
|
|
|
#endif // IHANDLEENTITY_H
|