#include <idk>
enum ITEMS
{
ITEM1 = 1,
ITEM2,
NUM_ITEMS
}
class CGameContext : public IGameServer
{
[...]
}
m_aHasItem[NUM_ITEMS]
gamecontext.h
is also included and i have no idea why i cant use it, already tried ITEMS::NUM_ITEMS
and CGameContext::ITEMS::NUM_ITEMS
but nothing worked (visual studio suggests me auto completion tho)NUM_ITEMS
isn't defined if you include gamecontext.h or player.h first