2023-09-30 14:49:35 +02:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2010-07-22 01:46:14 -05:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef IHANDLEENTITY_H
|
|
|
|
|
#define IHANDLEENTITY_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-09-30 14:49:35 +02:00
|
|
|
|
class CEntityHandle;
|
2010-07-22 01:46:14 -05:00
|
|
|
|
|
|
|
|
|
// An IHandleEntity-derived class can go into an entity list and use ehandles.
|
|
|
|
|
class IHandleEntity
|
|
|
|
|
{
|
2023-09-30 14:49:35 +02:00
|
|
|
|
virtual void Schema_DynamicBinding(void**) = 0;
|
2010-07-22 01:46:14 -05:00
|
|
|
|
public:
|
2023-09-30 14:49:35 +02:00
|
|
|
|
virtual ~IHandleEntity() = 0;
|
|
|
|
|
virtual const CEntityHandle GetRefEHandle() const = 0;
|
2010-07-22 01:46:14 -05:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2023-09-30 14:49:35 +02:00
|
|
|
|
#endif // IHANDLEENTITY_H
|