Bazaar developer reference

CvPlayer::GetGrandStrategyAI() const

Defined in
CvPlayer.cpp, line 24529
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetGrandStrategyAI

Hooks

static bool BeforeCvPlayer_GetGrandStrategyAI(const CvPlayer* self, CvGrandStrategyAI*& result);static void AfterCvPlayer_GetGrandStrategyAI(const CvPlayer* self, CvGrandStrategyAI*& result);static CvGrandStrategyAI* ReplaceCvPlayer_GetGrandStrategyAI(CvGrandStrategyAI* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetGrandStrategyAI>(host, &BeforeCvPlayer_GetGrandStrategyAI);CivRegisterAfter<CivHooks::CvPlayer_GetGrandStrategyAI>(host, &AfterCvPlayer_GetGrandStrategyAI);CivRegisterReplace<CivHooks::CvPlayer_GetGrandStrategyAI>(host, &ReplaceCvPlayer_GetGrandStrategyAI);

Code

24529CvGrandStrategyAI* CvPlayer::GetGrandStrategyAI() const24530{24531	return m_pGrandStrategyAI;24532}

Called by

60 functions in 21 files