CvPlayer::GetHolyCity()
- Defined in
- CvPlayer.cpp, line 27205
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_GetHolyCity
Hooks
static bool BeforeCvPlayer_GetHolyCity(CvPlayer* self, CvCity*& result);static void AfterCvPlayer_GetHolyCity(CvPlayer* self, CvCity*& result);static CvCity* ReplaceCvPlayer_GetHolyCity(CvCity* (*original)(CvPlayer*), CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetHolyCity>(host, &BeforeCvPlayer_GetHolyCity);CivRegisterAfter<CivHooks::CvPlayer_GetHolyCity>(host, &AfterCvPlayer_GetHolyCity);CivRegisterReplace<CivHooks::CvPlayer_GetHolyCity>(host, &ReplaceCvPlayer_GetHolyCity);
Code
27204/// Where was this player's Religion adopted27205CvCity* CvPlayer::GetHolyCity()27206{27207 return getCity(m_iHolyCityID);27208}
Calls
- CvPlayer::getCity(int)
FAutoVariable::operator const int &