Bazaar developer reference

CvGame::getNumHumanPlayers()

Defined in
CvGame.cpp, line 4386
Class
CvGame
Hook name
CivHooks::CvGame_getNumHumanPlayers

Hooks

static bool BeforeCvGame_getNumHumanPlayers(CvGame* self, int& result);static void AfterCvGame_getNumHumanPlayers(CvGame* self, int& result);static int ReplaceCvGame_getNumHumanPlayers(int (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_getNumHumanPlayers>(host, &BeforeCvGame_getNumHumanPlayers);CivRegisterAfter<CivHooks::CvGame_getNumHumanPlayers>(host, &AfterCvGame_getNumHumanPlayers);CivRegisterReplace<CivHooks::CvGame_getNumHumanPlayers>(host, &ReplaceCvGame_getNumHumanPlayers);

Code

4386int CvGame::getNumHumanPlayers()4387{4388	return CvPreGame::numHumans();4389}

Calls

Called by