Bazaar developer reference

CvPreGame::activePlayer()

Defined in
CvPreGame.cpp, line 645
Hook name
CivHooks::CvPreGame_activePlayer

Hooks

static bool BeforeCvPreGame_activePlayer(PlayerTypes& result);static void AfterCvPreGame_activePlayer(PlayerTypes& result);static PlayerTypes ReplaceCvPreGame_activePlayer(PlayerTypes (*original)());CivRegisterBefore<CivHooks::CvPreGame_activePlayer>(host, &BeforeCvPreGame_activePlayer);CivRegisterAfter<CivHooks::CvPreGame_activePlayer>(host, &AfterCvPreGame_activePlayer);CivRegisterReplace<CivHooks::CvPreGame_activePlayer>(host, &ReplaceCvPreGame_activePlayer);

Code

645PlayerTypes activePlayer()646{647	return s_activePlayer;648}

Calls

Called by