Bazaar developer reference

CvPlayer::GetWonderProductionAI() const

Defined in
CvPlayer.cpp, line 24523
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetWonderProductionAI

Hooks

static bool BeforeCvPlayer_GetWonderProductionAI(const CvPlayer* self, CvWonderProductionAI*& result);static void AfterCvPlayer_GetWonderProductionAI(const CvPlayer* self, CvWonderProductionAI*& result);static CvWonderProductionAI* ReplaceCvPlayer_GetWonderProductionAI(CvWonderProductionAI* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetWonderProductionAI>(host, &BeforeCvPlayer_GetWonderProductionAI);CivRegisterAfter<CivHooks::CvPlayer_GetWonderProductionAI>(host, &AfterCvPlayer_GetWonderProductionAI);CivRegisterReplace<CivHooks::CvPlayer_GetWonderProductionAI>(host, &ReplaceCvPlayer_GetWonderProductionAI);

Code

24523CvWonderProductionAI* CvPlayer::GetWonderProductionAI() const24524{24525	return m_pWonderProductionAI;24526}

Called by