Bazaar developer reference

CvGame::GetBestPoliciesPlayer()

Defined in
CvGame.cpp, line 10797
Class
CvGame
Hook name
CivHooks::CvGame_GetBestPoliciesPlayer

Hooks

static bool BeforeCvGame_GetBestPoliciesPlayer(CvGame* self, PlayerTypes& result);static void AfterCvGame_GetBestPoliciesPlayer(CvGame* self, PlayerTypes& result);static PlayerTypes ReplaceCvGame_GetBestPoliciesPlayer(PlayerTypes (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetBestPoliciesPlayer>(host, &BeforeCvGame_GetBestPoliciesPlayer);CivRegisterAfter<CivHooks::CvGame_GetBestPoliciesPlayer>(host, &AfterCvGame_GetBestPoliciesPlayer);CivRegisterReplace<CivHooks::CvGame_GetBestPoliciesPlayer>(host, &ReplaceCvGame_GetBestPoliciesPlayer);

Code

10796/// Player leading with Policies10797PlayerTypes CvGame::GetBestPoliciesPlayer()10798{10799	return m_eBestPoliciesPlayer;10800}

Called by