source2006/dlls/hl2mp_dll/hl2mp_gameinterface.h
2020-02-25 05:28:57 +02:00

20 lines
No EOL
475 B
C++

#ifndef HL2MP_GAMEINTERFACE_H
#define HL2MP_GAMEINTERFACE_H
#ifdef _WIN32
#pragma once
#endif
#include "utllinkedlist.h"
// These are created for map entities in order as the map entities are spawned.
class CMapEntityRef
{
public:
int m_iEdict; // Which edict slot this entity got. -1 if CreateEntityByName failed.
int m_iSerialNumber; // The edict serial number. TODO used anywhere ?
};
extern CUtlLinkedList<CMapEntityRef, unsigned short> g_MapEntityRefs;
#endif