1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Replace obsoleted IHandleEntity with CEntityInstance (#161)

This commit is contained in:
komashchenko
2023-10-13 19:38:47 +03:00
committed by GitHub
parent 628a9be543
commit f782bbf7ed
21 changed files with 138 additions and 394 deletions

View File

@ -12,7 +12,7 @@
#endif
#include "ihandleentity.h"
#include "entity2/entityinstance.h"
#include "basetypes.h"
#include "bitvec.h"
#include "const.h"
@ -88,7 +88,7 @@ class IServerNetworkable
// These functions are handled automatically by the server_class macros and CBaseNetworkable.
public:
// Gets at the entity handle associated with the collideable
virtual IHandleEntity *GetEntityHandle() = 0;
virtual CEntityInstance *GetEntityHandle() = 0;
// Tell the engine which class this object is.
virtual ServerClass* GetServerClass() = 0;