mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00

Add CConcreteEntityList, CEntityComponent, CScriptComponent, CGameEntitySystem, rewrite IHandleEntity to use CEntityHandle instead of CBaseHandle, update NUM_SERIAL_NUM_BITS, comment out old CBaseEntity, obsolete basehandle.h
25 lines
598 B
C++
25 lines
598 B
C++
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||
//
|
||
// Purpose:
|
||
//
|
||
//=============================================================================//
|
||
|
||
#ifndef IHANDLEENTITY_H
|
||
#define IHANDLEENTITY_H
|
||
#ifdef _WIN32
|
||
#pragma once
|
||
#endif
|
||
|
||
class CEntityHandle;
|
||
|
||
// An IHandleEntity-derived class can go into an entity list and use ehandles.
|
||
class IHandleEntity
|
||
{
|
||
virtual void Schema_DynamicBinding(void**) = 0;
|
||
public:
|
||
virtual ~IHandleEntity() = 0;
|
||
virtual const CEntityHandle GetRefEHandle() const = 0;
|
||
};
|
||
|
||
|
||
#endif // IHANDLEENTITY_H
|