Bazaar developer reference

CvGame::testAlive()

Defined in
CvGame.cpp, line 8660
Class
CvGame
Hook name
CivHooks::CvGame_testAlive

Hooks

static bool BeforeCvGame_testAlive(CvGame* self);static void AfterCvGame_testAlive(CvGame* self);static void ReplaceCvGame_testAlive(void (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_testAlive>(host, &BeforeCvGame_testAlive);CivRegisterAfter<CivHooks::CvGame_testAlive>(host, &AfterCvGame_testAlive);CivRegisterReplace<CivHooks::CvGame_testAlive>(host, &ReplaceCvGame_testAlive);

Code

8660void CvGame::testAlive()8661{8662	int iI;86638664	for(iI = 0; iI < MAX_PLAYERS; iI++)8665	{8666		GET_PLAYER((PlayerTypes)iI).verifyAlive();8667	}8668}

Calls

Called by