Bazaar developer reference

CvGame::getActivePlayer() const

Defined in
CvGame.cpp, line 5673
Class
CvGame
Hook name
CivHooks::CvGame_getActivePlayer

Hooks

static bool BeforeCvGame_getActivePlayer(const CvGame* self, PlayerTypes& result);static void AfterCvGame_getActivePlayer(const CvGame* self, PlayerTypes& result);static PlayerTypes ReplaceCvGame_getActivePlayer(PlayerTypes (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getActivePlayer>(host, &BeforeCvGame_getActivePlayer);CivRegisterAfter<CivHooks::CvGame_getActivePlayer>(host, &AfterCvGame_getActivePlayer);CivRegisterReplace<CivHooks::CvGame_getActivePlayer>(host, &ReplaceCvGame_getActivePlayer);

Code

5673PlayerTypes CvGame::getActivePlayer() const5674{5675	return CvPreGame::activePlayer();5676}

Calls

Called by

216 functions in 30 files