Bazaar developer reference

CvGame::GetBestWondersPlayer()

Defined in
CvGame.cpp, line 10735
Class
CvGame
Hook name
CivHooks::CvGame_GetBestWondersPlayer

Hooks

static bool BeforeCvGame_GetBestWondersPlayer(CvGame* self, PlayerTypes& result);static void AfterCvGame_GetBestWondersPlayer(CvGame* self, PlayerTypes& result);static PlayerTypes ReplaceCvGame_GetBestWondersPlayer(PlayerTypes (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetBestWondersPlayer>(host, &BeforeCvGame_GetBestWondersPlayer);CivRegisterAfter<CivHooks::CvGame_GetBestWondersPlayer>(host, &AfterCvGame_GetBestWondersPlayer);CivRegisterReplace<CivHooks::CvGame_GetBestWondersPlayer>(host, &ReplaceCvGame_GetBestWondersPlayer);

Code

10734/// Player leading with Wonders10735PlayerTypes CvGame::GetBestWondersPlayer()10736{10737	return m_eBestWondersPlayer;10738}

Called by