Bazaar developer reference

CvPlayer::IsHasLostCapital() const

Defined in
CvPlayer.cpp, line 16264
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsHasLostCapital

Hooks

static bool BeforeCvPlayer_IsHasLostCapital(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsHasLostCapital(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsHasLostCapital(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsHasLostCapital>(host, &BeforeCvPlayer_IsHasLostCapital);CivRegisterAfter<CivHooks::CvPlayer_IsHasLostCapital>(host, &AfterCvPlayer_IsHasLostCapital);CivRegisterReplace<CivHooks::CvPlayer_IsHasLostCapital>(host, &ReplaceCvPlayer_IsHasLostCapital);

Code

16263/// Have we lost our capital in war?16264bool CvPlayer::IsHasLostCapital() const16265{16266	return m_bLostCapital;16267}

Calls

Called by