Bazaar developer reference

CvPlayer::GetHomelandAI() const

Defined in
CvPlayer.cpp, line 13305
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetHomelandAI

Hooks

static bool BeforeCvPlayer_GetHomelandAI(const CvPlayer* self, CvHomelandAI*& result);static void AfterCvPlayer_GetHomelandAI(const CvPlayer* self, CvHomelandAI*& result);static CvHomelandAI* ReplaceCvPlayer_GetHomelandAI(CvHomelandAI* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetHomelandAI>(host, &BeforeCvPlayer_GetHomelandAI);CivRegisterAfter<CivHooks::CvPlayer_GetHomelandAI>(host, &AfterCvPlayer_GetHomelandAI);CivRegisterReplace<CivHooks::CvPlayer_GetHomelandAI>(host, &ReplaceCvPlayer_GetHomelandAI);

Code

13305CvHomelandAI* CvPlayer::GetHomelandAI() const13306{13307	return m_pHomelandAI;13308}

Called by