1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-12 00:08:50 +01:00
HLMetaModOfficial/sourcemm/CServerGameEnts.h

33 lines
905 B
C
Raw Normal View History

/* ======== SourceMM ========
* Copyright (C) 2004-2005 SourceMM Development Team
* No warranties of any kind
*
* License: zlib/libpng
*
* Author(s): David "BAILOPAN" Anderson
* ============================
*/
#ifndef _INCLUDE_CSERVER_GAMEENTS_H
#define _INCLUDE_CSERVER_GAMEENTS_H
/**
* @brief Dummy class for IServerGameEnts
* @file CServerGameEnts.h
*/
#include <eiface.h>
class CServerGameEnts : public IServerGameEnts
{
public:
virtual void SetDebugEdictBase(edict_t *base) { }
virtual void MarkEntitiesAsTouching(edict_t *e1, edict_t *e2) { }
virtual void FreeContainingEntity(edict_t *e) { }
virtual edict_t *BaseEntityToEdict(CBaseEntity *pEnt) { return NULL; }
virtual CBaseEntity *EdictToBaseEntity(edict_t *pEdict) { return NULL; }
virtual void CheckTransmit(CCheckTransmitInfo *pInfo, const unsigned short *pEdictIndices, int nEdicts) { }
};
#endif //_INCLUDE_CSERVER_GAMEENTS_H