mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
First version of the SOurce SDK 2013
This commit is contained in:
27
public/ihandleentity.h
Normal file
27
public/ihandleentity.h
Normal file
@ -0,0 +1,27 @@
|
||||
//========= Copyright 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;
|
||||
};
|
||||
|
||||
|
||||
#endif // IHANDLEENTITY_H
|
Reference in New Issue
Block a user